PDA

View Full Version : read textures



crista
06-11-2003, 01:42 AM
Hi!

Anybody knows how can I read pixels from a texture that is on a texture name array?

Now, I read directly from the frame buffer to update the texture when I render it, but I donīt want to do this because I want to read a texture that is already in my textures array. The image that I read from the frame buffer is modified and I donīt want that image.

Please help meeee http://www.opengl.org/discussion_boards/ubb/frown.gif

Relic
06-11-2003, 03:52 AM
glGetTexImage

crista
06-11-2003, 07:55 AM
If I do glGetTexImage, my aplication stops http://www.opengl.org/discussion_boards/ubb/frown.gif

Relic
06-12-2003, 01:18 AM
Then start your debugger and look why.
If you're sure it's not your fault, try a new graphics driver from your graphics card vendor.
If it still doesn't, work file a bug to the developer relation department of that vendor.