THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/06/2003 at 04:15, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;
I have a question about the direction of the normals of imported files. I imported a 3ds file and then when I use my NPR it render the real backfaces and not the front faces. When I change the normal direction then it is working fine. There are two questions:
First: Is it possible that imported 3ds files has wrong normals or is it a bug in my plugin but all normal c4d Files working good?
Second: Why make the normal C4D renderer the right calculation, there it looks correct. Working the normal c4d renderer with or without backface culling?
Maybe it is important to say that I find out the direction of the normals by myself.
On 06/06/2003 at 19:43, xxxxxxxx wrote:
What does your plugin do to the geometry? I frequently invert the objects so I have to reverse the order of all the points in each tri or quad so the normal will stay correct. The direction of the points determines the normal direction in most 3D systems. Reversing the point order will invert the normals if they are not in the order C4D wants in the incoming file.