3d texture on pc

hello i want to do volume rendering via 3d texture on pc .does 3d texture on pc can have a bright further? i use 256256256 texture ,can i use much bigger texture?
thank you!

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.

3D textures are not limited to 256^3.
On a 256MB GeForce card, close to 512^3 may be possible.

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.