View Full Version : how to draw a cube in wireframe with hidden facets?

05-08-2013, 10:20 AM
I would like to draw a cube wire with black edges without seeing the edges behind.
I managed a draw a cube, but you can see the edges behind we should not see. I drew with LINES and I tried to enable / disable CULLFACE and DEPTH, but it does not work. After traveling many tutorials, I still have not found the answer.

Sorry for my English.

Can you help me please?

Thank you in advance. :-)

05-19-2013, 03:32 PM
Same question and one additional more that can be the answer of the first one:
How draw a cube with face and line.
I mean, How to mixe GL.drawElements.LINE_STRIP and GL.drawElements.TRIANGLE_STRIP ? Is it possible ?