iv added the method Camera.render_to_material to cvs. It does exactly what it says.
you just need to pass the material and the data you want
back( GL_RGBA, GL_LUMINANCE,... check the opengl docs for
glCopyTexImage2D )
you can create a suitable material using pil:
-----
import Image
mat = soya.Material(soya.pil_to_image(Image.new("RGBA", (128, 128))))
mat.mip_map = False
-----
*note* i had to add the mip_map property to materials to get this to
work.
dunk
