[osg-users] disable shadow for special camera or view

2016-02-03 Thread Peiman Shakeri
Hi, I know how off/on shadow for nodes,but... how can I disable shadow for special camera or view in compositeviewer? Thank you! Cheers, Peiman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66183#66183

Re: [osg-users] compositeview and offscreen rendering

2016-02-02 Thread Peiman Shakeri
Hi, on/off method does not make any change! I have a question... I use osg autocapture example,so is that example unpractical? how can i write a better example for autocapturing? and about that red flag,... I found "The start/stop of threading and releaseContext() " in this forum as a

Re: [osg-users] compositeview and offscreen rendering

2016-01-29 Thread Peiman Shakeri
robertosfield wrote: > Hi Peinman, > > Looking at your code the performance problems have little to do with > OpenGL and the OSG and everything to with creating a new callback on > every frame and writing to disk from the main thread, File IO is very > expensive so absolutely not something you

Re: [osg-users] compositeview and offscreen rendering

2016-01-27 Thread Peiman Shakeri
Hi, this is a part of my source I cut unnecessary part cause of clarification Thank you! Cheers, Peiman source: Code: void VisSystem::CreateArea( ) { city=new CityArea(); city->Create(false,7); root->addChild(weather->group); root->addChild(weather->skyLightSource);

Re: [osg-users] screen autocapture example drop frame rate

2016-01-26 Thread Peiman Shakeri
SMesserschmidt wrote: > > > I guess the copy to host-memory and saving the file is the bottleneck > here. Are you trying to record every frame? > Cheers > Sebastian > > hi Sebastian thx for replying no i save images only in even frame(framestamp%2==0) by the way when I save nothing still

Re: [osg-users] screen autocapture example drop frame rate

2016-01-26 Thread Peiman Shakeri
SMesserschmidt wrote: > > > I wouldn't recommend using screencapturing for "video-recording". > Depending on the implementation you've chosen, the file format you are > saving to and the computer configuration this might simply be to slow. > For recording the screen use something like FRAPS or

Re: [osg-users] compositeview and offscreen rendering

2016-01-26 Thread Peiman Shakeri
robertosfield wrote: > Hi Peimansh, > > The two options for off screen rendering are a PixelBuffer context or > FrameBufferObject, if you have an existing on screen window in your > application then using a FrameBufferObject becomes preferable. The > way to do it would be to set up your

Re: [osg-users] screen autocapture example drop frame rate

2016-01-26 Thread Peiman Shakeri
SMesserschmidt wrote: > Hi Peiman, > > I wouldn't recommend using screencapturing for "video-recording". > Depending on the implementation you've chosen, the file format you are > saving to and the computer configuration this might simply be to slow. > For recording the screen use something

Re: [osg-users] compositeview and offscreen rendering

2016-01-26 Thread Peiman Shakeri
Hi, I am newbie in osg based on example's I can do off-screen rendering and auto-screen-capture then make a movie from my scene graph with single view and camera when I use composeitview ,these are my views and cameras: topview->topcamera leftview->leftcamera rightview->rightcamera

[osg-users] screen autocapture example drop frame rate

2016-01-25 Thread Peiman Shakeri
Hi, I have composite viewer and multiple camera in my project the frame rate was good until,I would used autocapture example in my project whats wrong with autocapture !!! Thank you! Cheers, Peiman -- Read this topic online here: