Log in

View Full Version : New OGL template



Luuk van Venrooij
25-04-2008, 11:01 AM
Here is the new version of my OGL template. I added the capability to load DXM files. These can be created with Deled a nice simple freeware editor I use. I use this to prototype new technologies. The current loader only import the geometry and the first material layer if it is a texture, but this is ennough for me. Since Deled doesnt generate normals I implemented generation of polygon normals and per vertex normals. The per vertex normals generation is based on an algoritm by Nate Robins. I added a nice scene I use for working on my indoor lighting model for the Genesis Device Engine. The scene was modelled by me except for the head:).

Screenshots:
http://img245.imageshack.us/img245/4330/90448437dd6.th.jpg (http://img245.imageshack.us/my.php?image=90448437dd6.jpg)
http://img169.imageshack.us/img169/7670/13892751ac1.th.jpg (http://img169.imageshack.us/my.php?image=13892751ac1.jpg)

Links:
Deled: http://www.delgine.com
Normal Article: http://www.xmission.com/~nate/smooth.html
Download: http://www.genesisdevice.net/downloads/OpenGLTemplate.zip

Note that the generation of the vertex normals take to a minute with the included scene.

Traveler
25-04-2008, 01:30 PM
Ohh sweet!
Bumped to news!

technomage
25-04-2008, 01:51 PM
Looks Good Luuk.

Just for a giggle I tried to run this under wine. No luck, but it did managed to create the screen and load all the textures :D I'll try it on my windows partition when I get a minute :D

chronozphere
25-04-2008, 02:54 PM
Looks great man! :D

But i don't see much contrast in the screenshots. The pilars and the walls almost have the same color. But with some extra lighting and/or different textures, it will be easy to fix this. The pilars look ugly when you get really close, but i'm sure this is just the very beginning. And i'm just nitpicking :razz:

Keep it up. ;)

Brainer
21-05-2010, 07:52 PM
Sorry for bringin it up, but does anyone still have a copy of the zip?