#240 obj export: normals are all zero

open
nobody
None
5
2012-10-25
2009-12-09
Hackdirk
No

To reproduce: load attached wings file & use export-->obj function. It just contains 4 faces, 2 with UV mapped texture.
All created normals (vn lines) are zero. Sometimes the normals are created correctly but I haven't found out when.

Exported from Wings 3D 1.2.rc3

mtllib Carpet_OK.mtl
o piece_1_carpet_1

4 vertices, 4 faces

v 0.57952379 9.8011960e-8 0.81495532
v 0.57952379 -9.8011960e-8 -0.81495532
v -0.57952379 -9.8011960e-8 -0.81495532
v -0.57952379 9.8011960e-8 0.81495532
vt 0.0000000e+0 0.0000000e+0
vt 9.5333333e-2 0.92185556
vt 0.99999900 1.00000000
vt 1.00000000 0.0000000e+0
vn 0.0000000e+0 0.0000000e+0 0.0000000e+0
vn 0.0000000e+0 0.0000000e+0 0.0000000e+0
vn 0.0000000e+0 0.0000000e+0 0.0000000e+0
vn 0.0000000e+0 0.0000000e+0 0.0000000e+0
g piece_1_carpet_1_default
usemtl default
s 1
f 1//1 4//4 2//2
f 2//2 4//4 3//3
g piece_1_carpet_1_piece_1_carpet_1
usemtl piece_1_carpet_1
s 1
f 2/4/2 4/2/4 1/1/1
f 3/3/3 4/2/4 2/4/2

Discussion

  • Hackdirk

    Hackdirk - 2009-12-09
     

Log in to post a comment.