MeshVS_MeshPrsBuilder won't display gouraud shaded objects
Hi, I'm using MeshVS_MeshPrsBuilder for the fast display of STL meshes, which is so much faster than the more standard StlAPI.
( IMHO converting meshes -> breps by default is a bad idea... the docs also dont state that this conversion is going on, which is worrying )
Even though I'm setting the following flags ( MeshVS_DA_SmoothShading and MeshVS_DA_Reflection are necessary for gouraud shading ):
mesh_drawer.SetBoolean( MeshVS_DA_DisplayNodes, False)
mesh_drawer.SetBoolean( MeshVS_DA_ShowEdges, False)
mesh_drawer.SetBoolean( MeshVS_DA_SmoothShading, True)
mesh_drawer.SetBoolean( MeshVS_DA_Reflection, True)
I'm not arriving to smooth shading.
Any ideas what might be going wrong?
I've been glancing over the c++ classes and can't figure out why smooth shading wont pan out...