3D Engine I've been working on lately

Software projects like source ports (EDGE, Eternity, etc), launchers like ZDL, and other useful utilities belong in this forum.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

3D Engine I've been working on lately

Postby gad » Fri Sep 14, 2018 9:05 am

Hi,
Just wanted to share with you people a 3D engine I'm working on using the libGDX framework, written in Java. It's really in it's beginning. Yes, I know there are plenty of 3D engines out there (even for free) including the wonderful Doom engine but I'm doing this mostly because I want to learn and improve my 3D skills and knowledge (also improve my coding and software architecture). I aim to build an engine which resemble the classic Doom, Duke Nukem 3D and all the 90's FPS engines:


On the left is the level editor I'm creating for it which is a regular Java project - only using the Java Swing (for drawing the GUI and the vertices, lines and sectors) and other geometry libs . On the right window you can see the engine which I develop using libGDX.
I've recently added textures to the ceiling and floor. That was a really difficult task. At the beginning I used the EarClipping algorithm to create the triangles that form the sector's shape (which represent the ceiling and floor). But later I realized a problem in situations where the sector has holes in it (like the one in the screenshot). For that EarClipping is not enough. So I looked up for another solution and found the Delauney Triangulation algorithm that can handle polygons with holes. The result can be seen in the image :)
I plan to make it modular (level editor, engine) and open-source for people to use it and create games. I also plan to make my own game with it.
Next task: add height element to sector's floor and ceiling in order to create structures such as stairways, holes, towers and etc...
Good day!
gad
 
Joined: 13 Sep 2018

Re: 3D Engine I've been working on lately

Postby Nash » Fri Sep 14, 2018 9:52 am

Interesting. Will be watching how this engine progresses. Good luck and hope you enjoy the learning process.
User avatar
Nash
Nash Muhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Re: 3D Engine I've been working on lately

Postby gad » Fri Sep 14, 2018 9:55 am

Thanks. I'll update more on this. Even though I'm a doomer for a long tine, I didn't realise this community is so active. Great place with lots of indie projects to be inspired by :D
gad
 
Joined: 13 Sep 2018


Return to Software and Ports

Who is online

Users browsing this forum: wildweasel and 0 guests