Sign in to follow this  

Texture to Image

This topic is 3784 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Thanks coordz...

I've to explain better my effective problem...

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...

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

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

thanks..

hi

Share this post


Link to post
Share on other sites
Quote:

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.

Share this post


Link to post
Share on other sites
yes...I get you..

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....

some ideas??

thank you

Share this post


Link to post
Share on other sites

This topic is 3784 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this