Autodesk Maya weird face normal values

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Display Modes
  4 Weeks Ago
Autodesk Maya weird face normal values

Hello.
i am trying to gather face normal values from objects with this command
string $normals[] = `polyInfo -fn $ObjName`;
All objects are basic objects so there shouldn't be any random values like i see here.
this:
FACE_NORMAL 10: 0.000000 -0.074467 0.000000
FACE_NORMAL 11: 0.000000 -0.144696 0.000000
FACE_NORMAL 12: 0.000000 -0.023574 0.000000 : if faces are vertical it should be 0 else 1 or -1 right?
FACE_NORMAL 13: -0.076395 0.000000 0.000000
FACE_NORMAL 14: 0.000000 0.000000 -0.073753
FACE_NORMAL 15: 0.038197 0.000000 0.000000
FACE_NORMAL 16: 0.000000 0.000000 0.036876
FACE_NORMAL 17: 0.000000 0.000000 -0.058191

should be like this(ish):
FACE_NORMAL 55: 0.000000 -1.000000 0.000000
FACE_NORMAL 56: 0.000000 1.000000 0.000000
FACE_NORMAL 57: 0.000000 1.000000 0.000000
FACE_NORMAL 58: 0.000000 1.000000 0.000000
FACE_NORMAL 59: 0.000000 1.000000 0.000000
FACE_NORMAL 60: 0.000000 1.000000 0.000000

Since there are only vertical and horizontal faces Y values should be 0 1 or -1 (as far as i know)
Does anyone now what might be the problem here?
A solution is welcome.
 
  4 Weeks Ago
Is there any transformation applied to the geometry? Maybe some scaling?
__________________
www.renderwiki.com - www.openmaya.net
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:01 PM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.