On 7/22/2011 2:22 PM, Fred Maulir wrote:
> In fact it seems very painful as I have to render the scene twice: the first 
> time render the scene in the texture file to retrieve the data, and the 
> second time for the actual viewer.

  I see. I didn't realized you wanted to see AND analyze the scene 
simultaneously.

  Then what you probably want is multiple render targets. There's and example 
called
osgmultiplerendertergets, but I've never dug into how it works.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. [email protected] 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
    "There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to