PDA

View Full Version : Environemtn Map



ae97004
10-01-2002, 11:29 AM
This is what is the aim, render a scene and then take the images from the scene, and store them as textures, and then draw objects and environment map the stored textured, the second part is okay.

for the first part, i have three questions,
1. How do we store a scene, say point camera in +x dir and then we have a image on the screen, how do we store this as a texture, it would be great if you can give me the syntax.

2. Once we store is as the texture what are the modes that we trigger for it to generate a linear map.

Thankyou for your time,
Regards

Gavin
10-02-2002, 03:31 AM
you can either render and use readpixels to actually 'save' the image or somthing like copytexsubimage, look at using pbuffers etc.