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:



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

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