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.
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.