Re: [osg-users] [osgPPU] CubeMap reflection

2010-10-05 Thread Honnet Vincent

 Hi Art,

I agree, I couldn't get it working. The only way I found was to let 
osgPPU process my computation until the normals and then use it as 
output texture on the geometry that has the reflection and refraction 
shader like one do in the example osgvertexprogram.


Vincent

Le 05/10/2010 15:18, Art Tevs a écrit :

Hi Vincent,

take a look into the osgreflection example shipped with OSG. One of this 
examples shows the cubemap reflection implementation. You cannot achieve 
reflection with osgPPU, since it does not know anything about your cameras or 
other stuff.

The cubemap exampel showed with osgPPU is just to show that you can also use 
CubeMap textures as input/output with osgPPU.

Cheers,
Art

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32393#32393





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Vertex Buffer Objects and Transform Feedback

2010-08-31 Thread Honnet Vincent

 Hi,

I could read this post but didn't see any answer of it.
Does someone have a working implementation of that ?

Thanks,

Vincent
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Rendering to texture 1 from texture 0 and switching the textures

2010-08-04 Thread Honnet Vincent

 Hi,

what do you mean with osgPPU ?

Vincent

Le 03/08/2010 18:15, Jeremy Moles a écrit :

On Tue, 2010-08-03 at 12:30 +0200, Honnet Vincent wrote:

Hi,

I'm a new in using OpenSceneGraph, so if this problem was already
solved, please send me the link. But I didn't find anything that could
help me from the archive.

My problem is the following:

I would like to:
1- initialize the texture 0
2- modify the texture 1 by using the data from the texture 0
3- render texture 1 through a shader
4- put the texture 1 into the texture 0 (switching the buffers actually)
5- return to step 2
this is like updating a texture from its old state.

I'm currently having a look to demo "osgmultiplerendertargets" but I'm
not used enough with osg to understand everything or/and to modify it so
that I get the process I need.

I can't be 100% sure, but this sounds like a job for osgPPU. :) If I'm
not mistaken, this is exactly the kind of thing it purports to do (and
more).


Could someone help me ?
Thanks in advance, regards,
Vincent
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Rendering to texture 1 from texture 0 and switching the textures

2010-08-03 Thread Honnet Vincent

 Hi,

I'm a new in using OpenSceneGraph, so if this problem was already 
solved, please send me the link. But I didn't find anything that could 
help me from the archive.


My problem is the following:

I would like to:
1- initialize the texture 0
2- modify the texture 1 by using the data from the texture 0
3- render texture 1 through a shader
4- put the texture 1 into the texture 0 (switching the buffers actually)
5- return to step 2
this is like updating a texture from its old state.

I'm currently having a look to demo "osgmultiplerendertargets" but I'm 
not used enough with osg to understand everything or/and to modify it so 
that I get the process I need.


Could someone help me ?
Thanks in advance, regards,
Vincent
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org