Re: [osg-users] Get all vertices of an OSG Group

2016-03-29 Thread Tony Vasile
The colours may also be in a material. Which is in a osg::StateSet object. Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=2#2 ___ osg-users mailing list osg-u

Re: [osg-users] Get all vertices of an OSG Group

2016-03-29 Thread Clement Begotto
Hello, Thank you for your quick answers, it was really helpful. I defined a new visitor inherited from NodeVisitor and I have access to the vertices. But I also need to get the colors of this vertices. I tried to get colors in an osg::Vec4Array with getColorArray() but it doesn't work on every

Re: [osg-users] Stats not showing after changing camera manipulator, what would be the cause?

2016-03-29 Thread Alexandre Vaillancourt
It seems related to how we do our mirrors: it works well when there are no mirrors, but when we start the software with the mirrors, the issue happens. I'll keep on digging... -- Alexandre Vaillancourt 2016-03-29 11:22 GMT-04:00 Alexandre Vaillancourt < alexandre.vaillancourt.l...@gmail.com>: >

Re: [osg-users] Regression caused by OSG_PROVIDE_READFILE change

2016-03-29 Thread Robert Osfield
On 29 March 2016 at 17:20, James Turner wrote: > Robert, just wondering if you missed this? > I spotted it, but a little thing call Easter got in the way :-) Fix now merged and checked into OSG master. ___ osg-users mailing list osg-users@lists.opensc

Re: [osg-users] Regression caused by OSG_PROVIDE_READFILE change

2016-03-29 Thread James Turner
Robert, just wondering if you missed this? Kind regards, James > On 26 Mar 2016, at 19:35, James Turner wrote: > > I got very lucky, and think I found the problem: > > diff --git a/include/osg/StateSet b/include/osg/StateSet > index 6546832..f73ffc1 100644 > --- a/include/osg/StateSet > +++ b/

[osg-users] Stats not showing after changing camera manipulator, what would be the cause?

2016-03-29 Thread Alexandre Vaillancourt
Hello! We're normally using an in-house derived version of osgGA::CameraManipulator to control the camera. This manipulator is placed within a KeySwitchMatrixManipulator because we need a couple viewpoints. We also need at some point to display viewer stats. This used to work well in our previous

Re: [osg-users] Any help with isometric camera?

2016-03-29 Thread Robert Osfield
Hi Michael, You can't really mix interactive concepts between an ortho and perspective views, camera manipulators that work well for perspective won't work well at all for orthographic projections - such a FPS style ortho view just won't work. You can try to fudge an ortho camera manipulator to w

[osg-users] Any help with isometric camera?

2016-03-29 Thread michael kapelko
Hi. I'm working on an editor with OSG inside ( you can see it in action here: https://youtu.be/70Jny1xJxK8 ) Currently I only have perspective camera that I setup with the following call: setProjectionMatrixAsPerspective(30, winWidth / winHeight, 1, 1000) I want to have something like an isometric

Re: [osg-users] Billboarding 3D models loaded from a file

2016-03-29 Thread Paul Leopard
Works perfectly, thanks! things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66654#66654 ___ osg-users mailing li

Re: [osg-users] Possibility of a OSG 3.4.1 Release

2016-03-29 Thread Robert Osfield
Hi Jordi, I have a lot of client work to do this month so won't have time for coordinating the testing, pushing out a release. May also might be a bit busy too as I have a weeks training away and prep for this and other client work. I might try for a 3.4.1 if I can in May if things look possible

[osg-users] Possibility of a OSG 3.4.1 Release

2016-03-29 Thread Jordi Torres
Hi Robert, It has been a while since last stable OSG version ( July 2015 ). And a bunch of bugfixes has been added to the 3.4 branch. So... Can we ask for a 3.4.1 stable release? Thank you! -- Jordi Torres ___ osg-users mailing list osg-users@lists.o

Re: [osg-users] setUseVertexAttributeAliasing and frame buffer objects not working together

2016-03-29 Thread Robert Osfield
Hi Chris, It's hard to know what is causing problems in your case as you don't provide enough information to know what might be amiss. In general, one wouldn't normally combine the built-in usage with vertex aliasing - the later is used to get the OSG to built alteranatives to the built-ins that

Re: [osg-users] Managing scene graph for picked/unpicked objects

2016-03-29 Thread Robert Osfield
Hi Lee, There a couple of different ways to manage things. 1) manage a list of picked nodes separate from the scene graph 2) Use osg::Object::setUserValue() functionality i.e. node->setUserValue("picked",true); bool picked; if (node->getUserValue("picked",picked)

Re: [osg-users] Billboarding 3D models loaded from a file

2016-03-29 Thread Robert Osfield
Hi Paul, The osg::AutoTransform enables billboard like functionality for whole subgraphs that it decorates. Robert. On 28 March 2016 at 20:01, Paul Leopard wrote: > Hi, > > I have a need to load 3D model files from disk (using > osg::readNodeFile(string) ), orient them, then preserve that orie