[osg-users] Whether a viewer is required for every osg based application?

2016-03-19 Thread Zheng Li
Hi, I study the "osgscreencapture" example,the example also create a viewer instance when "--pbuffer-only" is specified although there is no window is created,so whether a viewer instance is required for every osg based app? if my app only do offscreen rendering that no need for any screen disp

Re: [osg-users] Whether a viewer is required for every osg based application?

2016-03-19 Thread Jannik Heller
Hi, osgViewer is what dispatches updates to the scene graph, fires off cull and rendering, manages the camera, and abstracts the platform-specific graphics context creation routines, among other things. You could bypass osgViewer if you implemented these tasks yourself, but I imagine it would b

Re: [osg-users] Whether a viewer is required for every osg based application?

2016-03-19 Thread Alexandre Vaillancourt
I was curious of this as well, but in the context of using OSG only as a scene graph and not as a rendering engine. I came to the same conclusion: one would have to recode a lot of things. -- Alexandre Vaillancourt 2016-03-18 10:43 GMT-04:00 Jannik Heller : > Hi, > > osgViewer is what dispatches

Re: [osg-users] Whether a viewer is required for every osg based application?

2016-03-19 Thread Zheng Li
scrawl wrote: > Hi, > > osgViewer is what dispatches updates to the scene graph, fires off cull and > rendering, manages the camera, and abstracts the platform-specific graphics > context creation routines, among other things. You could bypass osgViewer if > you implemented these tasks yoursel