Hello,
Thanks to forums like this one, I managed (I am not a programmer, but someone who needs to display data) to write a nice OpenGL program that draws a complex hollow object, for which I have the vertex data. I got it to work nicely with shade, lighting and all that, but now I need to display different colors for the inside and the outside of my object.
I read that this can be achieved with backface culling and drawing my polygons twice, once CCW and the other CW. However, I am finding some mutually contradicting advise. Thus, before I jump into modifying my code, I wondered whether anyone could share some words of wisdom on this, ideally showing me an example code, which is the way I learned to code myself![]()
Thanks a million,
Marcelo