Recommended Posts

Hi all..:)
I need to recover in a buffer the texture (a part of it, it depends on the texture coordinates) that i rend into a plan....
Please...Do you have any ideas??
Do you know a fonction (or a group of it) with which i can recover this object?
i fact i work woth 3D textures...but if you have some ideas for 2D is too very good..(after I think I can adapt it...:)..)
thank you very much...
Good Time

Share this post

Link to post

Share on other sites

if you consider that we have n images and we create a 3D texture by using these n images we can display an interpolated image on a plane, that in fact don't exist, playing with texture coordinate...

Sure. I get you.

Quote:

I would like to get back only this interpolated image that i display on the plane.....

So you draw a quad with the correct texture coords with shows you the interpolated texture.

Quote:

I try to use glReadPixel but it does not convain for my application.

Then you use glReadPixels() and you don't get back sensible data? I'm not sure what you mean by "does not convain". To test your pipeline try drawing to the screen so you can *see* your interpolated texture. Once you've got that you can concentrate on checking if your glReadPixels() call is working as it should.

0

Share this post

Link to post

Share on other sites

with glReadPixel I recover back my screen?isn't it(his is the firth time that i use it, i'm not OpenGl expert...)?...into it there are a lot of object with my quad with the 3D texturing...and the recovered back image is'nt in the same size and quality that original images..and i would like it....