Here is something to investigate: CGLDescribeRenderer(rend, i,
kCGLRPMaxSamples, &value);
It appears to have the kind of info you need. However, looking at the
most excellent OGL renderer resource http://homepage.mac.com/arekkusu/bugs/GLInfo.html
it appears that the number might need some translation into the 2x 4x
etc modes. What card do you have that goes to 16? Maybe the number
returned by kCGLRPMaxSamples can translate into 2^(value)...
I have not used this yet, but I just came across it while thinking
about your problem. Please let me know if this works for you, as my
games also need the ability to tell what is valid and not. I also had
a card that could do them all, so didn't know.
When a graphics card supports multisampling, It is easy enough to
implement the multisample environment. Nearly all cards that can do
multisample support the 2x and 4x modes. There are 6x 8x and 16x
modes. My graphics card supports these modes. It make the scenes look
BEAUTIFUL.
Now, When my program runs on a machine that only supports a maximum or
4x, how can the program figure out that that is the highest supported
multisampling?
_______________________________________________
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