[osg-users] basic method to save a screenshot from 3D model?
dev_crisalix at hotmail.com
Thu Nov 5 08:10:31 PST 2009
However it forces me to create a viewer... is there any option to just create a camera and make a single render to obtain the screenshot?
> Date: Thu, 5 Nov 2009 14:14:28 +0000
> From: robert.osfield at gmail.com
> To: osg-users at lists.openscenegraph.org
> Subject: Re: [osg-users] basic method to save a screenshot from 3D model?
> Hi Jaime,
> Have a look at osgprerender for inspiration. The key is to use a
> pbuffer graphics context on your main camera.
> On Thu, Nov 5, 2009 at 1:49 PM, lucas Grijander
> <dev_crisalix at hotmail.com> wrote:
> > Hello everybody!
> > in my application I do some stuff with geometries, textures, etc... but I do
> > not visualize the results using a viewer, I just save the 3D models in .obj
> > which are then used in another application. I would need also to create a
> > screenshot from the model and save it in jpg or bmp. I would like to know
> > what is the best and simple way to extract a screenshot from a geometry, I
> > suppose creating a viewer + camera?
> > thanks!
> > Jaime.
> > ________________________________
> > Windows Live: Friends get your Flickr, Yelp, and Digg updates when they
> > e-mail you.
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> osg-users mailing list
> osg-users at lists.openscenegraph.org
Windows Live: Make it easier for your friends to see what you’re up to on Facebook.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users