Hi,
I am writting an application wich need to use differents view to show the scene.
Operator cas switch from one view to another typing a keyboard key...

For example we start in "top view", and when the operator press the "c" key, 
whe change to "subjective (first person) view".

I saw 3 differents approach, I can't make work any of them (for now), and I 
would like to understant difference between these approach, and wich approach I 
must focus on.

1. Use The osgProducer libraries. It seems to be an add on to OSG... If I well 
understand, I must downlad, compile and install the libProducer, and then 
download compile and install the osgProducer plugin... For now I can't compile 
libProducer due to some errors, but with some hours of work, i Will be able to 
compile and install it. But can I do what I want without using Producer ?

2. Use two CameraView objects and the osgWidget::CameraSwitchHandler. 

3. Create two Camera Objetct's, the first one is attached somewhere on the top 
of my "vehicle" for the top view, and the other one is attached on the driver 
seat for the subjective view. To switch from one camera to the other, I suppose 
that using the method Viewer::setCamera will be correct.


What is the best method ?
Had I forgetten to speek about the best method ?
Does one of these 3 methods is wrong ?


Thank you very much!

Cheers,
BARRAL

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





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

Reply via email to