Results 1 to 2 of 2

Thread: how to draw a cube in wireframe with hidden facets?

  1. #1
    Newbie
    Join Date
    May 2013
    Posts
    1

    Exclamation how to draw a cube in wireframe with hidden facets?

    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.

  2. #2
    Newbie
    Join Date
    May 2013
    Posts
    1

    render with mixed GL.drawElements

    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 ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •