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
 
(...) 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? (14 years ago, 31-Mar-10, to lugnet.cad, FTX)
 
  Re: LDForge - dev. plans and call for help
 
(...) 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 (...) (14 years ago, 31-Mar-10, to lugnet.cad.dev, FTX)
 
  Re: LDForge - dev. plans
 
(...) Ah, thank you Travis! I got depth buffering working now. :) No more problems with polygon sorting.. -Santeri (14 years ago, 1-Apr-10, to lugnet.cad.dev, FTX)

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