View Full Version : 3d texture on pc
05-27-2005, 12:20 AM
hello i want to do volume rendering via 3d texture on pc .does 3d texture on pc can have a bright further? i use 256*256*256 texture ,can i use much bigger texture?
I fear there's a limit of 4096x4096 pixels on GeForces, which means 256x256x256 pixels in a 3D texture. I believe this to be a pixel limit but I haven't checked it out yet. So, it may be possible to have different dimensions but I cannot tell for sure.
A whopping amount of memory is going to be burnt with a 256^3 texture (well, not really but they are 16M pixels after all) so, maybe it's better to take care in case you're doing HDR.
It doesn't seem to be a problem for "regular" texture formats however.
05-31-2005, 09:44 AM
3D textures are not limited to 256^3.
On a 256MB GeForce card, close to 512^3 may be possible.
06-01-2005, 03:23 AM
you can use glGetIntegerv(GL_MAX_TEXTURE_SIZE, &size2d) to obtain maximal resolution of 2D texture supported by your GPU. And glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE, &size3d) for 3D texture maximal resolution.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.