I'm trying to rebuild the normals of an obj file loaded in a freeform, but the problem is that everytime I use it the normals of the object are created at random directions giving me black effects over the object form, I use this code:
with ObjectA.MeshObjects.Items do
Triangles := ExtractTriangles;
Indices := BuildVectorCountOptimizedIndices(Triangles);
BuildNormals(Indices, momTriangles); <- I've used triangles and triangleStrip
but it always gives me the wrong normals, I think it might be with the order of the vertices indices, but I don't know what to do
can someone help me?
I do not really know much about this subject, but can you help someone else.
I recommend to create a new forum topic https://sourceforge.net/apps/phpbb/glscene/
thanks, but do you know anyone that can help me on this?
I've tried to send a request to start a new Glscene forum in the forums.embarcadero.com, but they dind't like it too much
and thanks for the link, but what is that? is it better than this forum?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.