system
1
Dear All,
Wiremesh:
I need to have wiremesh altogether with solid model for better visual for edges. How to do it ?
Transparency:
How do I turn on the transparent feature ?
Should I turn on for both back and front face material properties ?
Thanks,
Nathan
Render your solid model.
then render the same model using
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
glDisable(GL_DEPTH_TEST);
glCullFace(GL_BACK);
if you keep z-testing on, you may or may not
experience some z-fighting.
in this case you can use
glPolygonOffset.