Nithos
03-17-2005, 11:00 AM
Not sure why but my program crashes when I try to use the glTexImage3D function.
//Load the volume texture into the gfx card
glTexImage3D(GL_TEXTURE_3D,
0,
GL_RGBA,
getWidth(),
getHeight(),
getDepth(),
0,
GL_RGBA,
GL_UNSIGNED_BYTE,
mv_pGradientNScalar); When it gets to hear it gives me a memory violation error. (mv_pGradietnNScalar is manually generated with 4 components)
This is running on ATI X700, any ideas?
//Load the volume texture into the gfx card
glTexImage3D(GL_TEXTURE_3D,
0,
GL_RGBA,
getWidth(),
getHeight(),
getDepth(),
0,
GL_RGBA,
GL_UNSIGNED_BYTE,
mv_pGradientNScalar); When it gets to hear it gives me a memory violation error. (mv_pGradietnNScalar is manually generated with 4 components)
This is running on ATI X700, any ideas?