I apologize in advance if the question is stupid, but I could not find the answer either on the forums or in the documentation.
I am using the latest openNURBS library to load 3DM files. I just extract render meshes for visualization purposes. The problem is that for BRep geometries, the meshes are not oriented consistently, as shown in the attached image (black areas correspond to meshes with flipped normals). I tried to use the m_bRev flag of BRep’s face to flip reversed meshes manually, but it does not lead to the correct result. Could you please clarify, how the orientation of individual render meshes can be handled correctly? Thanks in advance.