Re: [osg-users] Computing depth buffer in osgVolume

2009-08-07 Thread Yvon Halbwachs
-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- --- Yvon Halbwachs Email : y...@kalkulo.no Mobile: +47 95 94 14 42 WWW : http://www.kalkulo.no

Re: [osg-users] Computing depth buffer in osgVolume

2009-08-07 Thread Yvon Halbwachs
@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- --- Yvon Halbwachs Email : y...@kalkulo.no Mobile: +47 95 94 14 42 WWW : http://www.kalkulo.no

[osg-users] Computing depth buffer in osgVolume

2009-08-05 Thread Yvon Halbwachs
Hi, I would like to add the computation of the z-depth value in the ray traced volume shaders. I'm pretty new to raytracing on gpu, so forgive me if this is a naive question! I've tried to add this code in the fragment shader, just after the line gl_FragColor = color:

Re: [osg-users] Displaying a scene in the background of a QGraphicsView

2008-11-05 Thread Yvon Halbwachs
Hi everybody, I managed to use osg in a Qt QGraphicsView with the information that Eric Zeremba and Rene Molenaar posted some weeks ago. I still have some troubles though... Things work fine when I display the cow.osg scene from the OpenSceneGraph example files, but nothing is displayed when