Render to texture

How is done ? What are the steps ?
The Red Book is very short in this subject.
Can you point me to some detailed docs about this subject. Some clear and short code would be nice

  1. Go to opengl.org
  2. Scroll down.
  3. The answer will appear before your eyes.

I have already visited that link but I don’t feel really confortable with Delphi.

It is a quite simple task, http://www.spinningkids.org/rio , there is a link to a NeHe lesson showing fake radial blur and render to texture…

Just render to the back buffer, then use glCopyTex to read back the buffer to a texture…

rIO.sK

on http://www.gametutorials.com there is a tutorial on the subject you need. Very helpfull.

Rendering you texture image to the back buffer and then calling glCopyTexSubImage2D to copy the image to the texture is a pretty standard way of doing this using core OpenGL.

Later on, if you’re comfortable with WGL and OpenGL extensions, you can look at the render_texture extension. There’s a little paper about this on the ATI website here: http://www.ati.com/developer/ATIpbuffer.pdf