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




On Oct 22, 2007, at 3:02 AM, Mark wrote:

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?
It will at least eat a *lot* of video memory. A 128x128x128 32 bit float 3D
texture will require 64 megabytes of video memory. There may be more issues
too, or a silent fallback to software rendering.

128x128x128 is actually much more than I need, I'll probably just need about 40x40x40, which for float32 is 1MB. So video memory should really be no problem - I'm more concerned about the best format to use for the 3d texture, the format that will give best speed.

I really don't know, but I wouldn't be surprised if you need to round up to power-of-two sizes, so you might need to use 64x64x64.



_______________________________________________ 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: Max size of 3d texture (From: Mark <email@hidden>)
 >Re: Max size of 3d texture (From: Stefan Dösinger <email@hidden>)
 >Re: Max size of 3d texture (From: Mark <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.