Results 1 to 3 of 3

Thread: hidden surface removal

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2003
    Location
    seattle
    Posts
    5

    hidden surface removal

    Hi,

    I've tried to use glEnable(GL_DEPTH_TEST) & glClear(GL_DEPTH_BUFFER_BIT) for depth testing, but it's not working at all! Does anyone have any ideas what I might be doing wrong?

    Thanx

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: hidden surface removal

    Hi !

    Have you requested a depth buffer in the rendering context ?

    Mikael

  3. #3
    Junior Member Newbie
    Join Date
    Nov 2003
    Location
    seattle
    Posts
    5

    Re: hidden surface removal

    hey thanx!! =0)

    duh what a stupid mistake...

Similar Threads

  1. hidden surface removal
    By Jakeop132 in forum OpenGL: Basic Coding
    Replies: 15
    Last Post: 02-03-2011, 08:14 AM
  2. Automatic hidden surface removal?
    By inktri in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-21-2008, 04:46 PM
  3. Hidden surface removal problem still need your help
    By in forum OpenGL: Basic Coding
    Replies: 14
    Last Post: 04-05-2005, 12:07 PM
  4. Hidden Surface Removal!
    By joda in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-20-2004, 06:57 AM
  5. Hidden Surface Removal
    By Rizo in forum OpenGL: General
    Replies: 4
    Last Post: 02-10-2001, 05:28 PM

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