Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Mac OpenGL info

This topic is 6931 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve been coding w/OpenGL for a while now using GLUT. It''s fine for doing quick demos and stuff, but I wanted to do a Mac-specific demo using Gamma fades, etc. So I figured out how to use DrawSprocket and AGL (and InputSprocket too, which means my demos can use any input device that will work one a Mac!). But, I''ve run into a few problems, most importantly I can''t get depth testing (maybe z-buffering too, I haven''t checked yet) to work. Anybody have any ideas? (Yes I''ve enabled GL_DEPTH_TEST) Morgan

Share this post

Link to post
Share on other sites
OpenGL is multi-platform for the most part, and your question only deals with setting up depth-buffering. The point is that your title is misleading into letting one believe your question is Mac specific, as would be, let''s say, using fonts. Any implementation not supporting z-buffering would not respect the OpenGL standard, therefore would not get the liscence to use the "OpenGL" name, so it *has* to work.

BTW, does your card supports Z-buffering ?(stupid question, I know...)

Does any z-buf. tutorial works on your machine (I know there are some which have been ported to the MacOS)?

Eric Laberge

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!