vertex normal display different that result from MFnMesh

Skip to first unread message

Rudi Hammad

May 11, 2021, 8:59:15 AMMay 11
to Python Programming for Autodesk Maya
digging a bit more in the MFnMesh class I am trying to access the vertex normal.

In the image you can see two blue lines that correspond to the vertex normal obtained by the getVertexNormal() method. One is with the angleWeighted arg True and the other False, but that is not the issue. What I find odd is that to check that any of those vectors correspond to the vertex normal, I displayed in the viewport the normals per vertex, and neither of the normal vectors I obtained correspond with the one displayed.

Any idea why? my guess would be that the viewport is not as accurate to improve performance and that the correct values are the ones provided by the method but it is just a speculating.



May 14, 2021, 2:02:47 AMMay 14
to Python Programming for Autodesk Maya
if you waht to see vertex normal ,almost see it in vertex face mode,not in face mode to see vertex normal
Reply all
Reply to author
0 new messages