Re: [osg-users] osgOcean also rendering with osgParticle?

2009-11-16 Thread Kim Bale
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Subject: Re: [osg-users] osgOcean also rendering with osgParticle? Message-ID:        a17930f30911131302v235e9e48qfbea076ba7df0...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Hi Erik, I suspect this is a problem

Re: [osg-users] osgOcean also rendering with osgParticle?

2009-11-16 Thread Jean-Sébastien Guay
Hi Kim, I'm not sure if Ogls multiple render target implementation is any more efficient than using a completely separate pass but rendering the ocean twice would be very costly. Yes, of course MRT is more efficient than multiple passes... It's only one pass of the geometry, but with

Re: [osg-users] osgOcean also rendering with osgParticle?

2009-11-16 Thread Kim Bale
Haha well I've never played with them so I was rather sketchy on the theory. Using MRTs would actually make for a pretty easy fix. I shall see if I can do that this week. K. 2009/11/16 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com: Hi Kim, I'm not sure if Ogls multiple render target

Re: [osg-users] osgOcean also rendering with osgParticle?

2009-11-14 Thread Erik Johnson
: Fri, 13 Nov 2009 21:02:07 + From: Kim Bale kcb...@googlemail.com To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Subject: Re: [osg-users] osgOcean also rendering with osgParticle? Message-ID: a17930f30911131302v235e9e48qfbea076ba7df0...@mail.gmail.com Content-Type: text

Re: [osg-users] osgOcean also rendering with osgParticle?

2009-11-13 Thread Jean-Sébastien Guay
Hi Erik, I've been playing around with osgOcean recently (nice work, btw!) and realized my fantastic particle effects were not being rendered in the scene. I tried to add them in various places in the scene graph with limited results. I expect it's something to do with the shaders, but I

Re: [osg-users] osgOcean also rendering with osgParticle?

2009-11-13 Thread Kim Bale
Hi Erik, I suspect this is a problem with the default shader that is applied to all objects that are children of OceanScene. Part of this shader overwrites the alpha component of the frame buffer which will cause problems with transparent objects, in your case the particles. This is required for

[osg-users] osgOcean also rendering with osgParticle?

2009-11-12 Thread Erik Johnson
Hi all, I've been playing around with osgOcean recently (nice work, btw!) and realized my fantastic particle effects were not being rendered in the scene. I tried to add them in various places in the scene graph with limited results. For example I added osgParticle::FireEffect as a child of the