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: GL_COLOR_FLOAT_APPLE on Radeon 9600



GLboolean boole;
   glGetBooleanv(GL_COLOR_FLOAT_APPLE, &boole);
   printf("GL_COLOR_FLOAT_APPLE: %d\n", boole);

Isn't this an extension?

printf("APPLE_float_pixels: %s\n",
       (gluCheckExtension((const GLubyte*)"GL_APPLE_float_pixels",
                          glGetString(GL_EXTENSIONS))
	   ? "available"
       : "unavailable"));

That will let you know if the card is capable of supporting floating point drawables. Then you need to use the appropriate pixel format attributes (perhaps kCGLPFAColorFloat, and a kCGLPFAColorSize of 64 or 128) when you create your PBuffer. Then your check, executed on the PBuffer's context, should return true...

-Keith

_______________________________________________
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: 
 >GL_COLOR_FLOAT_APPLE on Radeon 9600 (From: Gordon Erlebacher <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.