Howto:Use a Camera View in an Instrument: Difference between revisions

Jump to navigation Jump to search
m
Line 32: Line 32:


There're probably many ways to do that, you could do it the way the ground radar instrument does, or how you take a screenshot etc.  
There're probably many ways to do that, you could do it the way the ground radar instrument does, or how you take a screenshot etc.  
A couple nice guides on OpenSceneGraph Rendering are available at:
A couple nice guides on OpenSceneGraph Rendering are available at:
* http://beefdev.blogspot.de/2012/01/render-to-texture-in-openscenegraph.html
* http://beefdev.blogspot.de/2012/01/render-to-texture-in-openscenegraph.html
* http://www.palomino3d.org/pal/openscenegraph.php  
* http://www.palomino3d.org/pal/openscenegraph.php  
* http://sourceforge.net/apps/mediawiki/delta3d/index.php?title=Tutorial_Render_To_Texture
* http://sourceforge.net/apps/mediawiki/delta3d/index.php?title=Tutorial_Render_To_Texture
The OSG Quick Start guide can be download at: http://www.lulu.com/items/volume_51/767000/767629/3/print/OSGQSG.pdf
The OSG API reference is available here: http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/annotated.html
The  [http://www.denizyuret.com/bib/wang/Wang2010osg/OpenSceneGraph.3.0.Beginners.Guide.Dec.2010.pdf OpenSceneGraph Beginners Guide] is also available on line.
Also see: http://www.openscenegraph.org/projects/osg/wiki/Support/GettingStarted
[[Programming Resources#OSG.2FOpenSceneGraph_related]]


==Screenshot Method==
==Screenshot Method==

Navigation menu