render to texture

Hello, I want to render to texture with sub images from other texture (not from the back/front buffer), but I couldn’t find a sample to do it. Can you help me?

I work on Linux. so I can’t use wgl*

RTT? (Render To Texture)

As far as I know, there’s Linux support for both Pbuffers and FBOs (Frame Buffer Objects). Head over to your IHV’s developer website and check out the demos.

I’m unsure about ATI’s progress with FBOs under Linux at the moment, but I hear NVIDIA’s support is fairly solid (not suprising).

FBOs are much easier to use than Pbuffers, and likely faster in many cases, but are not as widely supported.

Also, look at the spec on these guys.