Re: [osg-users] Changing material of geodes/drawables during rendering - crash

2013-09-03 Thread Peter Bako
Thank you for your answers! It looks like it works. Peter -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=56084#56084 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Graphics context size Screen capture question

2013-09-03 Thread Christoffer Pettersson
Hello. I'm currently implementing a screen capture functionality and I have a few questions regarding the GraphicsContext size and the Image::readPixels function. In the first scenario I want to create a graphics context of size 3840x1080. My Monitor is only 2560x1600 and the graphics context

Re: [osg-users] Graphics context size Screen capture question

2013-09-03 Thread Trajce Nikolov NICK
Hi, have a look at osgPoster (I think that's the name). Nick On Tue, Sep 3, 2013 at 2:41 PM, Christoffer Pettersson hoffe...@hotmail.com wrote: Hello. I'm currently implementing a screen capture functionality and I have a few questions regarding the GraphicsContext size and the

Re: [osg-users] Graphics context size Screen capture question

2013-09-03 Thread Christoffer Pettersson
Hi Nick, I'll look into the osgPoster. Thanks so much. Update: I was able to fix the problem with 2 cameras rendering to the same position. In the real application I have a lot more than 2 cameras and I had attached the callback to the wrong camera. :) //Christoffer -- Read

[osg-users] Using Qtouch events within osgQt to manipulate the scene [SEC=UNCLASSIFIED]

2013-09-03 Thread Doran, Mitchell (Student)
UNCLASSIFIED Hi all, Firstly, I am not too familiar with osg, so my terminology may be wrong. Let me outline what I am trying to achieve first before I go into my question. I am trying to allow Qt's touch events to be able to manipulate the osg scene to perform transformations such as

[osg-users] osgOcean Project : How does shader work?

2013-09-03 Thread WillScott
Hi everybody, Recently , I have read the open source code provided by osgOcean project. And FFTOceanSurface class is really hard to understand , especially in the shader technique in osgOcean. I want to konw if anyone has the algorithms materials-mainly about mathmatic theory-