Howdy all 

I am using OSG for generating synthetic environments for AI agents.

I have two views: one that chases the simulated autonomous vehicle and one that 
is taken from the simulated vehicle's payload (pan-tilt-zoom camera). 

I have a third context, a pbuffer, that is assigned to a camera slaved with the 
pan-tilt-zoom camera, so that I can easily ship the pixelbuffer to CPU space 
where the AI engine processes the images (according to what the pan-tilt-zoom 
camera sees). 

It all works fine when I render terrain that was loaded from a terrapage 
database (.txp). 

However the troubles starts when I replace my terrain with a scene generated by 
osgOcean: I do see the ocean scene in the chase view camera viewer window and 
also in the pan-tilt-zoom camera viewer window, but when I inspect the images 
from the slaved off-screen camera that are saved to a jpg on disk, I don't see 
anything - just the default blue-purple background.

Anybody have an idea what might be causing this behaviour?

My system: Intel Core i7 CPU Q820, 8GB, Windows 7 (service pack1) NVIDIA Quadro 
FX 1800M and using latest release version of OSG. 


Cheers,
bart

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43729#43729





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to