Re: [osg-users] [osgOcean] Shader again.

2011-02-27 Thread Bawenang Rukmoko
No reply yet? I guess I've got to do this the hard way, researching them myself. :( Thanks anyway guys. Thank you! Cheers, Bawenang "There's no place like 127.0.0.1" -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37165#

Re: [osg-users] Replace Drawable With Actual Geomtry (how to)??

2011-02-27 Thread Sanat Talmaki
Hi Jean, I modified the code in the functions and it seemed fairly straightforward. However, I notice that all the cylinders are rendered at the origin inspite of me doing a glTranslate (which I have commented out now). When I opened the osg file I noticed that the matrix had its last column a

[osg-users] Screen capture and motionblur

2011-02-27 Thread William Hart
Hi I'm trying to save an image sequence using OSG 2.8.3 with motion blur as in the osgmotionblur example, but am unable to capture the "blur" from the glAccum buffer. The blur is implemented using the glAccum buffer: double s = powf(0.2, dt / persistence_); // scale, accumulat

Re: [osg-users] Changing background color

2011-02-27 Thread Robert Osfield
Hi Linda, On Sun, Feb 27, 2011 at 1:57 AM, Linda Lee wrote: > I am trying to change the background color from dark blue to black in color.   > Could someone tell me how to do it? viewer.getCamera()->setClearColour(osg::Vec4(0.0f,0.0f,0.0f,0.0f)); Robert.