Results 1 to 2 of 2

Thread: How can I enable culling for each of the viewport

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2011
    Posts
    8

    How can I enable culling for each of the viewport

    I have mulitple viewport.
    One is perspective view and the other is top view.

    When i enable back face culling by doing
    glEnable(GL_CULL_FACE);
    glCullFace(GL_BACK);

    my top view will become weird, with the top of a pillar gone (meaning i can see the portion of the floor which is supposed to be blocked by the top of the pillar.

    How can I enable culling for each of the viewport?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2011
    Posts
    288

    Re: How can I enable culling for each of the viewport

    If all viewports are in the same context, you should only need do it once. You may want to share a bitmap what you are seeing.

Similar Threads

  1. Everything is fog , when i enable fog
    By Adrian B in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-09-2011, 04:47 PM
  2. enable multisample
    By robertmachardy in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-07-2009, 10:14 AM
  3. Can't enable culling
    By Seamoon in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-10-2003, 07:14 AM
  4. Replies: 2
    Last Post: 05-27-2002, 02:59 AM
  5. Viewport or multiple viewport in a window!
    By Boubou in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 11-30-2000, 05:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean