Real3D - A 3D Rendering Engine in LÖVE

Showcase your libraries, tools and other projects that help your fellow love users.
Oysi93
Prole
Posts: 4
Joined: Sat Feb 12, 2011 8:56 pm

Real3D - A 3D Rendering Engine in LÖVE

Post 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. =)
Attachments
Real3D Cube Rendering
Real3D Cube Rendering
Pic.png (37.94 KiB) Viewed 12367 times
Last edited by Oysi93 on Sun Feb 13, 2011 10:24 pm, edited 1 time in total.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

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

Post 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!
Oysi93
Prole
Posts: 4
Joined: Sat Feb 12, 2011 8:56 pm

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

Post 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
Oysi93
Prole
Posts: 4
Joined: Sat Feb 12, 2011 8:56 pm

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

Post 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. =)
Attachments
Here's a picture of the updated engine.
Here's a picture of the updated engine.
Pic.png (28.76 KiB) Viewed 12259 times
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

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

Post 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.
Oysi93
Prole
Posts: 4
Joined: Sat Feb 12, 2011 8:56 pm

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

Post 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
User avatar
crow
Party member
Posts: 186
Joined: Thu Feb 24, 2011 11:47 pm
Location: UK
Contact:

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

Post 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 :)
Sir Kittenface
Möko IDE Codename (Erös) Returns Soon

I am dyslexic so if any of my replys confusing please just ask me to reword it as this will make things a lot easier for all parties lol.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

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

Post 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)
User avatar
jack0088
Prole
Posts: 33
Joined: Fri Mar 22, 2013 4:59 am

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

Post by jack0088 »

so where is the source code? )))
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

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

Post 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?
Currently designing themes for WordPress.

Sometimes lurks around the forum.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest