Unnormalized normal errors
Making a model and just exporting it in 3dmax 9 as an obj file
gives me those errors... I have ticked normals in the export
and it did'nt used to be a problem with the more older tools
that did however generate erros.
Im using the Obj2DatTexNorm.py found here
What is the main reason getting such an error. ? Isolated vertex, open edges ?
This is what im getting after editing the python file to not show a gazillion warnings and learning
about pythons 4 space vs 1 tab feature... nice stupidity right there on the design of python.
Anyway here is the output
Frame_STG19R.obj -> frame_stg19r.dat
Material library file: C:\Users\Dennis\Documents\3dsmax\export\B5universe\./Frame_STG19R.mtl
Material Material__67 -> StripePainting.png
Material Material__2088 -> GenHull_FrameDarkf.png
Material 04_-_Default -> Centrifuge_Detail3_Polaris_Frame.jpg
Material Material__2089 -> GenHull_FrameBluef.png
Warning: read unnormalized normal -0 0 -0
Traceback (most recent call last):
File "E:\Projects\OoliteModelTools\oolite-mesh-converters-master\DTPObj2DatTexNorm.py", line 452, in <module>
normal.append(vector_normalize((x, y, z)))
File "E:\Projects\OoliteModelTools\oolite-mesh-converters-master\DTPObj2DatTexNorm.py", line 73, in vector_normalize
return vector_scale(v, 1.0 / vector_magnitude(v))
ZeroDivisionError: float division by zero