Release 1.3

Informations, Help and general talk around the Normal and Displacement Map Generator Tool.
Post Reply
User avatar
Dragonlord
Forum Administrator
Posts: 609
Joined: Fri Jul 30, 2004 4:30 pm
Location: Switzerland
Contact:

Release 1.3

Post by Dragonlord » Fri Dec 30, 2005 6:28 pm

Version 1.3
-----------
- fixed bug that caused crash if texture coordinates are outside of range.
- changed export script and mesh loading to use integers instead of
shorts for high resolution mesh to avoid capping at 65535.
- changed edge calculation to be much more speedy.
- added a hack that allows to compile against glXGetProcAddressARB
- modified the python export script to use class structure like the drag[en]gine
export scripts. this makes it easier to maintain and extend this script.
furthermore the script calculates now normals based on creasing. tangents
are also saved but just in a simple way one tanget per normal.
Image
Oh to be a dragon, of silkworm size or immense...

Damaged
First Steps
Posts: 4
Joined: Tue Dec 27, 2005 7:53 am

Post by Damaged » Sat Dec 31, 2005 12:28 pm

For some reason my blender 2.36 can't open your samples, it crashes with a segfault hehe, and when i try to use http://www.machin-shin.net:81/temp/norm ... ehead1.dim (source: http://www.machin-shin.net:81/temp/norm ... ead1.blend ) through the exporter i get:

[WARNING] Low-Res face 276 has degenerated tangent!
[HIRES] Vertex-Count 9889

Then a popup that says invalid file format ()

crossplatform bug tracking is fun :)

User avatar
Dragonlord
Forum Administrator
Posts: 609
Joined: Fri Jul 30, 2004 4:30 pm
Location: Switzerland
Contact:

Post by Dragonlord » Sat Dec 31, 2005 2:43 pm

yes that's right. that all works only with version 2.37 and beyond. the reason is support for edge creasing beeing fully functional only from 2.37 on. i should set the version requirement in my script to 2.37 to avoid that problem.

a degenerated tangent is one of zero length. this happens most of the times if your exported mesh is not 'clean', which means, there are dangeling edges or nearly degenerated faces (nearly an edge but still a face). i run the mesh cleaner from blender over it and it removed 2 faces having an area of less than 0.001 ( meaning a nearly degenerated face ). without them anything is ok.
Image
Oh to be a dragon, of silkworm size or immense...

Post Reply