Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glClear(GL_DEPTH_BUFFER_BIT)



Hi Lorenzo,

I wasn't suggesting disabling the depth test for everything, just for the 2d object, and then re-enabling it right away for the rest of the 3D objects. Although perhaps I'm not really understanding what you are trying to do here. Are the other 3D objects supposed to be drawn on top of everything else as well?

Daniel

Lorenzo wrote:
Hi Daniel,
true, if I disable the depth test I don't get the bad intersection.
This works with the scrolling text which is a 2D object (Quad). But in case
I draw a 3D object, I get a bad result. The surfaces get all drawn without
depth. Any solution?


Best Regards

-- Daniel Koch -+- Graphics Technology Lead -+- TransGaming Technologies email@hidden +1 613.244.1111 x352 www.transgaming.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Mac-opengl mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Re: glClear(GL_DEPTH_BUFFER_BIT) (From: Lorenzo <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.