krokodilcapa
Member
|
problems with MeshBase.tri.nrm
Hi!
I have a problem, I can't get selected triangle's normal from meshbase. I've found only one topic, where somebody talked about this, but no answer for that specific question.
The topic is: this, with the question:
Quote:I bet there will be a more optimized version for it code-wise but i can't get "base.tri.nrm(triangle_Index)" to work since it always crashes.
|
|
01-11-2016 05:38 PM |
|
Esenthel
Administrator
|
RE: problems with MeshBase.tri.nrm
Hi,
This is because face normals are not always available.
They will be available only if you call MeshBase.setFaceNormals method.
This method is currently unavailable however (it is private), I will make it public for the next release.
Thanks
|
|
01-12-2016 05:09 AM |
|
krokodilcapa
Member
|
RE: problems with MeshBase.tri.nrm
Thanks, it make sense now. I've read about the function .setFaceNormals in a topic, but I though it was removed/changed for some reason.
|
|
01-13-2016 02:02 AM |
|