obj import ignoring normals

SMokeyDemonSMokeyDemon Posts: 0
edited December 1969 in Daz Studio Discussion

Hey guys,

Having a little issue here with importing obj's (also happening when importing fbx), DAZ seems to ignore normals when importing my objs. It seems to create its own normals based on the angle of the faces. Is there an option in daz somewhere, Ive tried all the settings possible on the import dialog, does anyone know how to get daz to respect the normals within the obj on import?

Here is the test obj file:


#
# object test
#

v  -1.000000 1.000000 -1.000000
v  1.000000 1.000000 -0.000000
v  0.000000 1.000000 -0.000000
v  0.000000 0.000000 -0.000000
v  0.000000 2.000000 -0.000000
v  0.000000 3.000000 -0.000000
v  1.000000 3.000000 -0.000000
v  0.000000 3.000000 -1.000000
# 8 vertices

vn -0.998630 0.000000 0.052321
vn -0.998630 0.000000 0.052321
vn -0.146732 0.000000 0.989176
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn -0.146732 0.000000 0.989176
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn -1.000000 0.000000 -0.000000
vn -1.000000 0.000000 -0.000000
vn -1.000000 0.000000 -0.000000
# 12 vertex normals

vt 0.156032 0.016075 0.000000
vt 0.157528 0.006689 0.000000
vt 0.164164 0.008840 0.000000
vt 0.158724 0.010410 0.000000
vt 1.000000 0.000000 0.000000
vt 0.000000 1.000000 0.000000
vt 1.000000 1.000000 0.000000
vt 0.000000 0.000000 0.000000
vt 0.000000 1.000000 0.000000
vt 1.000000 1.000000 0.000000
# 10 texture coords

g test
f 3/4/1 1/1/2 4/2/3 
f 3/4/4 4/2/5 2/3/6 
f 7/10/7 6/9/8 5/8/9 
f 8/6/10 5/5/11 6/7/12 
# 0 polygons - 4 triangles

Ive attached an image to show the issue.

Cheers

daznormalsissue.jpg
700 x 429 - 70K

Comments

  • JimmyC_2009JimmyC_2009 Posts: 8,891
    edited December 1969

    You can fix it by selecting the object, go to the Surfaces Pane, and reducing the Smoothing Angle at the bottom of that pane. It is set by default at 89.90 degrees.

  • SMokeyDemonSMokeyDemon Posts: 0
    edited December 1969

    Awesome!, thanks jimmy...

    looks like theres also a on off switch "smooth" which turns of the auto smoothing and uses the the original obj data :)

  • SpottedKittySpottedKitty Posts: 7,232
    edited December 1969

    FWIW, most meshes with non-organic shapes that have this problem seem to work better with a Smoothing Angle about 25 deg. If that doesn't quite work, try slightly higher or lower values.

  • throttlekittythrottlekitty Posts: 173
    edited December 1969

    Normals aren't stored in Daz studio either, they rely entirely on the smoothing angle. If you need to force hard edges that might get caught up in this smoothing, you'll need to split your meshes along those edges.

Sign In or Register to comment.