PDA

View Full Version : Problem with glCopyTexSubImage3D



Acheum
06-12-2003, 03:53 AM
I want use the glCopyTexSubImage3D function, but the thing that is in the texture after the call isn't the same that in the screen.
I have a correct display on the screen, but on the texture I can see only vertical lines, as if the picture was vertically stretched... Do someone has an explication ?
I use it calling :

glCopyTexSubImage3DEXT(GL_TEXTURE_3D_EXT,0,0,0,x,0 ,0,Dim,Dim);

where "x" is the zoffset and "Dim" the dimensions of the 3D texture...

[This message has been edited by Acheum (edited 06-12-2003).]

Acheum
06-12-2003, 04:37 AM
Finally it's OK !
I installed a new driver and everything is like it should be ! (Grrr... All this time lost anly for a problem of driver... And the old one wasn't so old : I changed it only a month ago...)

Relic
06-12-2003, 04:47 AM
Have you checked
+ glReadBuffer?
+ glTexParameter (mip mapping off)?
+ if 3D textures work if you download them normally?

PS: I wrote too slow. http://www.opengl.org/discussion_boards/ubb/smile.gif

[This message has been edited by Relic (edited 06-12-2003).]