Bug in LuxBlend - degenerate normals

Discussion related to the 'LuxBlend' Blender 2.4+ python exporter script.

Moderators: Ratow, SATtva, coordinators

Bug in LuxBlend - degenerate normals

Postby tomb » Sat Nov 03, 2007 10:15 am

Hi,

I tracked down some strange artifacts in my test scene to LuxBlend exporting [0 0 0] normals. I've attached a small .blend that demonstrates the issue.
Could someone familiar with bpython have a look and see if they can spot the error in the code? It exports ok in for example openinventor format.

This is with the CVS version btw

Tom
Attachments
bug.zip
(35.06 KiB) Downloaded 28 times
User avatar
tomb
Developer
 
Posts: 1918
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

Re: Bug in LuxBlend - degenerate normals

Postby Ratow » Sat Nov 03, 2007 4:22 pm

I tried out your .blend and indeed there were many zero length normals. It seems however that Blender itself is giving these normals and in the case of this .blend, I exported in openinventor format and the [0 0 0] normals were still there.

The cause of these normals are some doubled vertices on the center of the object. I got rid of them by using the Rem Doubles button and then all normals were fine.

Does this solve your problems on your original test scene?
User avatar
Ratow
Developer
 
Posts: 308
Joined: Sun Oct 28, 2007 8:19 am
Location: São Paulo, SP, Brazil


Return to LuxBlend (Blender Exporter)

Who is online

Users browsing this forum: No registered users and 0 guests