jacktca
04-19-2012, 03:37 PM
I have been getting to know the ins and outs of glTexImage3D. One thing that is still missing in my brain is exactly how the data is layed out. I know it's width*height*depth*4 in size. Have any of you seen some good documentation or diagrams on the topic of data layout within that vast size? I have read the *4 refers to voxels. Is each voxel 24 bits = red-green-blue-opaque? Are the voxels arranged (row (aka width) * height (aka height)) * depth? Or is there another layout structure involved within the data?