To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 17134
    Re: LDForge - dev. plans and call for help —Santeri Piippo
   (...) I see.. but problem is that if I use glEnable(GL_DEPTH_TEST) then my polygons won't render at all. Tutorials related to OpenGL explicitly told not to use GL_DEPTH_TEST because of this.. how did you avoid it? (15 years ago, 31-Mar-10, to lugnet.cad, FTX)
   
        Re: LDForge - dev. plans and call for help —Travis Cobbs
   (...) In order for GL_DEPTH_TEST to work, you have to clear the depth buffer at the same time you clear the rest of the screen: glClearDepth(1.0); glClearColor(0.0, 0.0, 0.0, 0.0); glClear(GLCOLORBUFFERBIT GLDEPTHBUFFERBIT); (Note: the (...) (15 years ago, 31-Mar-10, to lugnet.cad.dev, FTX)
   
        Re: LDForge - dev. plans —Santeri Piippo
   (...) Ah, thank you Travis! I got depth buffering working now. :) No more problems with polygon sorting.. -Santeri (15 years ago, 1-Apr-10, to lugnet.cad.dev, FTX)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR