Talk About Network

Google





Graphics > OpenGL 3D API > Re: Order of re...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 4827 of 5061
Post > Topic >>

Re: Order of rendering

by fungus <openglMYSOCKS@[EMAIL PROTECTED] > Jul 8, 2008 at 11:28 PM

On Jul 8, 4:16=A0pm, Daniel Kraft <d...@[EMAIL PROTECTED]
> wrote:
>
> Does this mean that OpenGL simply draws polygons on top of each other
> and does not take into account visibility (that is, that's my
> responsibility)? =A0If so, are there any pointers you could give me on
ho=
w
> to implement this most effectively? =A0Or what's wrong with my program?
>

Try glEnable(GL_DEPTH_TEST);

You also need to clear the depth buffer in your glClear()
 




 4 Posts in Topic:
Order of rendering
Daniel Kraft <d@[EMAIL  2008-07-08 16:16:25 
Re: Order of rendering
folays <folays@[EMAIL   2008-07-08 16:55:44 
Re: Order of rendering
Daniel Kraft <d@[EMAIL  2008-07-08 17:27:46 
Re: Order of rendering
fungus <openglMYSOCKS@  2008-07-08 23:28:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 16:07:58 PST 2009.