Re: [osg-users] Tesselator and output primitives

2012-10-11 Thread Luc Frauciel
Hi Albert, I've answered the same question on this list a few weeks ago. A search in the archives should get you to it. And yes, it's possible, natively. Luc De : Aurelien Albert aurelien.alb...@alyotech.fr A : osg-users@lists.openscenegraph.org Date: 10/10/2012 20:29 Objet :

Re: [osg-users] Cullingproblems with double used for BV.

2012-10-11 Thread Robert Osfield
Hi Anders, Even with default settings the culling will be done with doubles, with any floats being cast into doubles before tests against the view frustum planes rather than from doubles down to floats. I'm curious what makes you think the problem is culling. Could it be clipping? Could it be

Re: [osg-users] Change render target from FBO to frame buffer

2012-10-11 Thread Robert Osfield
Hi Kenzo, I wouldn't implement this type of management by reassigning a single osg::Camera with different setting but use a different Camera. I would also leave alone the master Camera and instead prefer to add/remove slave Cameras. My guess to why you haven't been able to do what you want is

Re: [osg-users] Cullingproblems with double used for BV.

2012-10-11 Thread Anders Backman
The problem illustrated in this example is most certainly not related to culling. Could it be just that OpenGL handles the vertices as float?, so you enter 6371014 as a value for a float which means that all precision is lost. Rendering something which is a few meters on that scale, will just be

Re: [osg-users] Cullingproblems with double used for BV.

2012-10-11 Thread Robert Osfield
Hi Anders, On 11 October 2012 11:02, Anders Backman ande...@cs.umu.se wrote: The problem illustrated in this example is most certainly not related to culling So... the subject line and previous dsicussion is rather misleading. Could it be just that OpenGL handles the vertices as float?

Re: [osg-users] Tesselator and output primitives

2012-10-11 Thread Aurelien Albert
Thanks, the IndexMeshVisitor does exactly what I need. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50563#50563 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [build] pdb install

2012-10-11 Thread Gianni Ambrosio
Thanks Mathieu, I'm trying your modifications. Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50566#50566 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [build] pdb install

2012-10-11 Thread Gianni Ambrosio
Hi Mathieu, unfortunately I get the error: CMake Error at src/osg/cmake_install.cmake:40 (FILE): file INSTALL cannot find C:/Documents and Settings/gambr/Local Settings/Temp/tmpm-mnkd/OpenSceneGraph-2.9.14/bin/osg75-osgd.pdb. while the pdb is in: C:\Documents and Settings\gambr\Local

[osg-users] FBO and source formats

2012-10-11 Thread Peterakos
Hello. First of all sorry if the next question is dumb but i couldnt find it anywhere. I use camera-attach(osg::Camera::COLOR_BUFFER0, textureColor); in my program. It works only if the texture's source format is GL_RGBA. As i read in setSourceFormat's comment: Sets the external source image

Re: [osg-users] Change render target from FBO to frame buffer

2012-10-11 Thread Kenzo Lespagnol
Hi Robert, Thanks for your quick answer. I wouldn't implement this type of management by reassigning a single osg::Camera with different setting but use a different Camera. I would also leave alone the master Camera and instead prefer to add/remove slave Cameras. From your answer I