Search found 48 matches

by Oysi
Wed Oct 15, 2014 11:26 am
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

In this case, probably not. In this case, pcall should work the same way. In different scenarios, coroutines are extremely helpful. For the purposes of a console, I guess the main advantage is the fact that you can yield a coroutine, and then potentially resume it later on (and repeat). Which allows...
by Oysi
Wed Oct 15, 2014 10:52 am
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

Haha! Of all the things, it's the console you want to know about. xD Very well. veethree is indeed correct, it does loadstring. At first it sets up an environment for the console to use, and adds in all the elements from _G, such that it works like any other script. Then in the main script I put in ...
by Oysi
Sun Oct 12, 2014 12:33 pm
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

Hi again, I have a new update. A haxy haxy sphere thingy (they're not actually real spheres, but then again, they behave just like normal spheres, so it really comes down to how you would define a real sphere, and whether you are philosophical enough to discuss this at length)... M40Tnim1CL8 Which i...
by Oysi
Mon Jul 28, 2014 1:20 am
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

So with the previous optimizations I discovered, I've been rewriting my engine. But I got sort of stuck when I came to the shaders, because there are so many different ways of doing it. At first I used different shaders for different effects. One for texture mapping, one for texture mapping with nor...
by Oysi
Fri Jul 25, 2014 8:16 pm
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

Haha.

Here's me having fun with my "engine", showing some of the stuff it's capable of:

I almost feel bad doing this, seeing as I haven't uploaded the thing.
almost =P

by Oysi
Sun Jul 20, 2014 6:23 pm
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

Awesome sauce, don't 3D engines use filters on meshes to smooth polygons and to make objects more realistic ? (like this) They do indeed. It works by using a different normal for every vertex of the polygon, and then have it interpolated per pixel. I did actually do this, right after I made the tex...
by Oysi
Fri Jul 18, 2014 8:29 pm
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

A little non-video update: I've optimized my thing quite a lot. I tested the garbage that my thing was outputting, and the result was quite crazy. It was spitting out like 10 mb per sec for a scene of around 10k triangles. I was creating tables and then ditching them, every frame. Which makes for so...
by Oysi
Tue Jul 15, 2014 3:03 am
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

Haha, thanks folks. Much appreciated! =D

And I have a new update. Mesh physics! Which really it has been capable of for quite some time, but I just haven't made a video of it. Actually, the video is a few weeks old as well, so... Yeah. Anyway, here it is, using the lovely teapot. =)

by Oysi
Tue Jul 08, 2014 6:05 pm
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

I got something very interesting in this video, which doesn't really have too much to do with 3D, but it's still in 3D, so hey, why not. =P hWaWpSVYpmo As you can see, loading the video took roughly 5 seconds, and it's a 16 second video. So theoretically, I could put the loading into a separate thre...
by Oysi
Tue Jul 08, 2014 1:17 am
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 125
Views: 28703

Re: Oysi's 3D Rendering & Physics Engine

This is where the fine line between actual graphics and haxy 2d 3d graphics comes in again. Because the way it's done in actual graphics is that each vertex of an object is transformed all nice and well, and then it goes through the faces and looks up the already transformed vertices. This means tha...