Is there a way to change the direction of normals from custom objects with setNormal()? I've tried the triangle example from the Python reference, but haven't been able to change normals. By default, the normals of the triangle are always 0,0,0 and changes with setNormal() are simply ignored. I've found a way, though, but it's not very fashionable and for complex objects this method would be to difficult.
Could you please check this? Thanks a lot in advance!
Normals from custom objects
Normals from custom objects
Thomas Schlick | Next Limit Technologies
Re: Normals from custom objects
The normal that you set using "setNormal()" is always replaced by the normal calculated from the geometry. Functions recalculating normals are "setGeometry()", "updateFaces()" and "updateVertices()".
I think this is not stated in the documentation of the functions, sorry for that. I will update the documentation in a minute.
Thank you.
I think this is not stated in the documentation of the functions, sorry for that. I will update the documentation in a minute.
Thank you.
Angel Tena
Head of RealFlow Technology
Next Limit Technologies
Head of RealFlow Technology
Next Limit Technologies
Re: Normals from custom objects
OK, I didn't know this, of course. Thanks for your explanation, Ángel.
Thomas Schlick | Next Limit Technologies