Black model when inverting axis
#4
Great idea to use ModelIterator.IterateGeometryModel3DObjects to invert the orientation of triangles in the meshGeometry3D.TriangleIndices.


One small comment: you can use "i+=3" instead of "i++" and remove the "if ((i % 3) == 0)" then.

Thank you for sharing the code for the solution.
Andrej Benedik
  


Messages In This Thread
Black model when inverting axis - by MSMess - 09-01-2021, 02:22 PM
RE: Black model when inverting axis - by abenedik - 09-01-2021, 04:31 PM
RE: Black model when inverting axis - by MSMess - 09-02-2021, 07:53 AM
RE: Black model when inverting axis - by abenedik - 09-03-2021, 12:07 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)