[osg-users] View::setCameraManipulator

2014-03-03 Thread Gianni Ambrosio
Hi,
is there a reason why View::setCameraManipulator method also sets the 
manipulator node? It seems that this method does more than what it states. In 
particular if I already set a node into the manipulator calling setManipulator 
erases the previous node.

Regards,
Gianni

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





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


[osg-users] Enabling instancing should automatically disable display lists

2014-03-03 Thread Trystan Larey-Williams
Hi all,

I found that OSG has display lists enabled by default on Geometry objects and 
it remains enabled even if instancing is enabled. This made for a fairly long 
and non-intuitive debug session as I was trying to figure out why my geometry 
failed to be drawn. Ultimately, I just had to setUseDisplayList( false ). 

According to the OpenGL spec. The error INVALID_OPERATION is generated if 
DrawArraysInstanced or DrawElementsInstanced is called during display list 
compilation, which is what finally clued me in. 

Wouldn't it makes sense to automatically disable display lists in the case 
instancing is enabled? Otherwise what is happening is very much hidden under 
the framework and not in a good way.  

Cheers,
Trystan

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





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


[osg-users] Compositive viewer and FBO's bug

2014-03-03 Thread D. Christopher Fennell
Hello,

When using a composite viewer, views will not change focus correctly if the 
associated camera per view has render target implementation as 
FRAME_BUFFER_OBJECT.  The function is generatePointerData in 
CompositeViewer.cpp. It only checks for target implementation FRAME_BUFFER
 
I brought up a similar issue here:
http://forum.openscenegraph.org/viewtopic.php?t=12283highlight=

Thanks,
Chris.

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





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


Re: [osg-users] Enabling instancing should automatically disable display lists

2014-03-03 Thread Paul Martz
How would you propose this work? Instancing is a property of the
PrimitiveSet, and display list usage is a property of the Geometry object.
Would you modify Geometry::addPrimitiveSet() to look for use of instancing,
and if detected, disable display lists? What if the instanced PrimitiveSets
are subsequently deleted? Would you need some way to save the original
setting of display lists so that it could be restored?
   -Paul

On Mon, Mar 3, 2014 at 12:09 PM, Trystan Larey-Williams trys...@trystan.org
 wrote:

 Wouldn't it makes sense to automatically disable display lists in the case
 instancing is enabled?


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


Re: [osg-users] Removing Configurable Origin In osgWidget

2014-03-03 Thread Paul
Sorry to dig this back up, 

 What's the best way to flip the coord system for osgWidgets. Top Left 
(0,0). Is there an easy way in osg? Or do I need calculate widget position with 
resize events?

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





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