robertosfield wrote:
> Hi Nan,
> 
> The osgviewer application really is just a very basic visualization
> application that enables you to view models in simple ways.  It's
> certainly not a tool you'd use beyond quick looks and testing, it's
> not something you'd use a programming base.
> 
> The OSG has lots of examples, like osgviewer, all come with source
> code that you can study to help guide you on your journey of writing
> your own applications that fit your needs.  The new biginners book
> will help you as well - links on the openscenegraph.org front page.
> 
> Robert.
> 
> On Tue, Feb 1, 2011 at 4:35 PM, Nan WANG <> wrote:
> 
> > Hi,
> > I am newbie of OSG.
> > Simple question:
> > As I mentioned, osgviewer.exe can be used to display .osg file in different 
> > options...
> > 
> > When I compile .cpp file from VS2005, it produces .exe file...which is can 
> > be executed directly.
> > 
> > But, if i would like to create a 3D sence with interaction (Keyboard..ect) 
> > I have to use vs2005 to produce .exe file.
> > 
> > The question is: how can I have different options (as in osgviewer option, 
> > we have stereo mode option) in the generated .exe file?
> > 
> > VS2005 can create an osg. file ?which i can play with osgviewer?
> > 
> > Is there any tutorial of using osgviewer in programming?
> > 
> > 
> > ...
> > 
> > Thank you!
> > 
> > Cheers,
> > Nan
> > 
> > ------------------
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=36242#36242
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> > 
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > 
> > 
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum



That's clear............ I think I have to program the same option which I 
would like to use in my application. 

So....like stereo mode option...i have to use 
osg::DisplaySettings::instance()->setStereoMode(osg::DisplaySettings::ANAGLYPHIC);
 

Ok....Thanks again.

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





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

Reply via email to