• Advertisement

Archived

This topic is now archived and is closed to further replies.

Using image as texture and portals

This topic is 6385 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

Is there any way to take what''s on the screen and use it as a texture? For example every frame have it take a screenshot and us it like a texture on something? Also, how do mirrors and portals and things work in opengl?

Share this post


Link to post
Share on other sites
Advertisement
there''s something you can do to getpixels in opengl. i''m not sure how to do it, but look into get*something*. i''m planning to use it for a rear view mirror.

a2k

Share this post


Link to post
Share on other sites
If you want to do this sort of thing very often (like for the whole screen every frame, or several times per frame), you may want to find some way of getting the information before you put it on screen, since reading from video memory is agonizingly slow. Just a thought.


random-nomad

[still searching]

Share this post


Link to post
Share on other sites

  • Advertisement