Page 1 of 2

Real3D - A 3D Rendering Engine in LÖVE

Posted: Sat Feb 12, 2011 10:17 pm
by Oysi93
I am developing a 3D rendering engine in Love, and it's going very well. It can render any form of 3D polygon and rotate it at any angle. I haven't made lighting or good shading for it yet, but soon to come. Though once I have those two, I will build a nice system to manage cubes and other polygons easily. And I will design a 3D API so everyone can make their own 3D game in Love. =)

I provided an image to show you how far I have gotten, working on it for an hour.
Please give me feedback on what you think about the image I took, and the idea I presented. =)

Re: Real3D - A 3D Rendering Engine in LÖVE

Posted: Sat Feb 12, 2011 11:21 pm
by BlackBulletIV
Why is everyone, it seems, making 3D in Love these days?
http://love2d.org/forums/viewtopic.php?t=1692
http://love2d.org/forums/viewtopic.php?f=5&t=2457

There's also another by Jasoco that I can't find.

But anyway, good luck!

Re: Real3D - A 3D Rendering Engine in LÖVE

Posted: Sun Feb 13, 2011 1:10 am
by Oysi93
Woah, that dice thing certainly is something. But now that I think about it, casting shadows on only once surface would only require me to raycast the corners, and draw a simple polygon. =) Meaning I'll be adding shadows as well. =D

Re: Real3D - A 3D Rendering Engine in LÖVE

Posted: Sun Feb 13, 2011 7:46 pm
by Oysi93
I've updated it, and created a good shader. Along with other things, the engine is coming along quite good. It's extremely easily to create new cubes, and even other polygons. I also made a z-buffer, as my array of surfaces tends to be quite random. xP

When I'm pretty much done with it, I will re write the whole thing, making it a lot better and a lot more smooth. =)

Re: Real3D - A 3D Rendering Engine in LÖVE

Posted: Sun Feb 13, 2011 8:38 pm
by BlackBulletIV
Nice stuff. One thing that bothers me is there will be no physics for 3D. By the way, if you want a full 3D engine with a scripting language (Python) check out Panda3D.

Re: Real3D - A 3D Rendering Engine in LÖVE

Posted: Fri Mar 11, 2011 3:00 pm
by Oysi93
I've re written it completely now. I got proper Matrix functions, allowing me to do pretty much anything related to 3D. Possibly making a new thread, as it's COMPLETELY new. =3

Re: Real3D - A 3D Rendering Engine in LÖVE

Posted: Fri Mar 11, 2011 3:35 pm
by crow
what I would like to see in a 3D engine is that it would give you a box for your world so your world is in the box where you can then build your game in.

This would make it easier for simple 3D games if the layout areas are already maps so when you build your world you know that a 3D object would always
be solid, but I still like the 2D of Love I love retro style games :)

Re: Real3D - A 3D Rendering Engine in LÖVE

Posted: Fri Mar 11, 2011 4:34 pm
by Jasoco
Question is, does it clip the triangles if they overlap? That is the problem I was having.

Also, how fast does your run? Mine slows down if I have 100 cubes. (Which is 100 * 8 points, or 100 * 6 squares, or 100 * 16 triangles)

Re: Real3D - A 3D Rendering Engine in LÖVE

Posted: Fri Mar 29, 2013 2:43 pm
by jack0088
so where is the source code? )))

Re: Real3D - A 3D Rendering Engine in LÖVE

Posted: Sat Mar 30, 2013 10:55 am
by substitute541
Pretty nice! Many people here seem to be creating 3D engines nowadays...

Also, what method did you use to create those 3D stuff? Formulas (such as the big Wikipedia one)? Raycasting? Raytracing? Magic?