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: Max size of 3d texture



Thanks Eddy, Daniel,

I have the option to build the 3d texture either as int 16, float 16 or float 32 - my preferred format would be float 32. Are you aware of any major performance hits on using 3d textures in float 32 format?

http://homepage.mac.com/arekkusu/bugs/GLInfo.html


Thanks Eddy, great to have this info in one HTML - thanks!

Mark



On 22.10.2007, at 03:06, Alex Eddy wrote:


On Oct 21, 2007, at 12:05 PM, m Mark wrote:
I need to use 3d textures inside a GLSL shader or CIColorCube and I
am wondering if there is a maximum size for such textures, imposed by
the GPU. Can this be queried somehow?

Yes: glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE, &result);

If you are playing to the lowest-common-denominator, it is 128x128x128, on the GMA950.

3D textures are only available on renderers which export GL_VERSION 1.2 or later; there are a few cards on old PowerPC Macs which don't support them at all, such as the GeForce 2MX.

Info on limits like this is available for all Mac OS X renderers at:
http://homepage.mac.com/arekkusu/bugs/GLInfo.html


_______________________________________________ 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


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.