Hello,

for my flight simulator in R-C mode, I have a panorama 
scenery (a 6-faced cube with images) and the aircraft 
flying inside. The faces are far away and the pilot is 
always in the centre.

The ground is a horizontal plane at z=0, but I have no 
visual altitude reference, and a shadow would be very 
helpful.

BUT: I have no geometry there !!! (since it's a panorama 
scenery)

So my idea was to make a projection of the aircraft on the 
z=0 plane, paint it black (or gray) translucent, and 
integrate it into the scene as if it were any "normal" 
geometry. But the only projection I found in OSG is per a 
camera 
(camera->setProjectionMatrix(osg::Matrix::ortho2D(...));

Is it possible to make a node out of one camera image and 
render this node on another camera ?
How would I paint the whole projection gray translucent ?
Is there a more simple way ?
Any suggestions ?


Thanks

Zoltán


-- 
 
____________________________________

Zoltan

http://sourceforge.net/projects/zsim
____________________________________

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

Reply via email to