Re: [osg-users] Bitmap Font

2015-11-23 Thread Robert Osfield
Hi Aaron, On 22 November 2015 at 23:18, Aaron Andersen wrote: > I haven't really been able to find a bitmap font in OSG. The closest I > could find was the DefaultFont in the osgText source code. I was hoping > there was an actual bitmap font class that I could use to create

Re: [osg-users] Mac compilation error

2015-11-23 Thread philippe renon
Hi Robert, That's what I figured :) Are you going to fix it directly or should I submit the fix ? Philippe. Le Lundi 23 novembre 2015 9h45, Robert Osfield a écrit : Hi Philippe, This is a bug, it should be a reference - I must have made a copy and paste

Re: [osg-users] pfObject::getNamedUserDataSlot

2015-11-23 Thread Tony Vasile
Hi Robert, Unless I am going blind I couldn't see an explicit apply for osg::Object in either GetValueVisitor or SetValueVisitor, hence the question. Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65750#65750

Re: [osg-users] Mac compilation error

2015-11-23 Thread Jordi Torres
Hi Robert, The svn is connected to github but not the opposite. So if you do a commit in github it is not updated in the svn. So now it is not syncrhonized. Cheers. 2015-11-23 9:59 GMT+01:00 Robert Osfield : > > > On 23 November 2015 at 08:45, Robert Osfield

Re: [osg-users] pfObject::getNamedUserDataSlot

2015-11-23 Thread Robert Osfield
Hi Tony, On 22 November 2015 at 23:16, Tony Vasile wrote: > I have looked at ValueObject and was wondering why there is no option to > save an osg::Object or an osg::Referenced object. Is this an omission or > intended? > I don't know where you got this impression. You can

Re: [osg-users] Mac compilation error

2015-11-23 Thread Robert Osfield
On 23 November 2015 at 09:08, Jordi Torres wrote: > Hi Robert, > > The svn is connected to github but not the opposite. > github is no longer connected to the old svn repository. > So if you do a commit in github it is not updated in the svn. > So now it is not

Re: [osg-users] pfObject::getNamedUserDataSlot

2015-11-23 Thread Robert Osfield
On 23 November 2015 at 11:38, Tony Vasile wrote: > Hi Robert, > Unless I am going blind I couldn't see an explicit apply for > osg::Object in either GetValueVisitor or SetValueVisitor, hence the > question. This is different question to saving data, the serialization

Re: [osg-users] What's the difference between put rttcamera under root node and viewer?

2015-11-23 Thread Robert Osfield
Hi John, The inconsistent behaviour suggests that some state set up by SpeedTree is affecting the OSG rendering and possibly the other way around too. W.r.t. rendering different parts of the scene in the mirror vs main scene, you can use a combination of NodeMask's on the subgraphs you want to

Re: [osg-users] Processor Affinity and forked processes

2015-11-23 Thread Pete Black
This bit me too.. i create a number of Qt threads to do things (update terrain, run physics simulation) and OSG was forcing them to all run on CPU 0, leading to really terrible performance, since it sets CPU affinity on the main thread, and all threads spawned from it will inherit the CPU mask.

Re: [osg-users] Processor Affinity and forked processes

2015-11-23 Thread Robert Osfield
Hi Kristofer, I merged what were supposed to be "fixes" to the OpenThreads from a user submissions between OSG-3.2 and 3.4. The change in behaviour might stem from this, try reverting these changes and see what happens. Robert. On 16 November 2015 at 11:09, Kristofer Tingdahl <

Re: [osg-users] Mac compilation error

2015-11-23 Thread Robert Osfield
Hi Philippe, This is a bug, it should be a reference - I must have made a copy and paste error when adapting the line to use the template ref_ptr interface. Robert. On 22 November 2015 at 10:02, philippe renon wrote: > Hi, > > The include/osgViewer/View include has

Re: [osg-users] Mac compilation error

2015-11-23 Thread philippe renon
Just saw that a fix was pushed. Thanks ! Le Lundi 23 novembre 2015 11h03, philippe renon a écrit : Hi Robert, That's what I figured :) Are you going to fix it directly or should I submit the fix ? Philippe. Le Lundi 23 novembre 2015 9h45, Robert

Re: [osg-users] Mac compilation error

2015-11-23 Thread Robert Osfield
On 23 November 2015 at 08:45, Robert Osfield wrote: > This is a bug, it should be a reference - I must have made a copy and > paste error when adapting the line to use the template ref_ptr interface. > Fix is now checked into github's openscenegraph repository.

Re: [osg-users] pfObject::getNamedUserDataSlot

2015-11-23 Thread Tony Vasile
Hi Robert, We are trying to save classes which have more than simple types or the list specified in ValueObject. If we try and save an object which has osg::Object has its parent then you get a linker error about missing apply routines for SetValueVisitor and GetValueVisitor. I have worked

[osg-users] How to use osgUtil::PolytopeIntersector to get primitive inside of a area in a terrain?

2015-11-23 Thread Bean Bean
OR you can use other methods to get? can you tell me. I need yours. cheers, Bean ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] how to draw a Curved Surface?

2015-11-23 Thread Bean Bean
Hi Sebastian, I use the way about your method, but I get zero point. I may use wrong. Here is the code: const float x = v1.x(); const float y = v1.y(); const float look_offSet = 10.0f; osg::ref_ptr polyIt = new

Re: [osg-users] how to draw a Curved Surface?

2015-11-23 Thread Bean Bean
Hi Sebastian, I use the way about your method, but I get zero point. I may use wrong. Here is the code: const float x = v1.x(); const float y = v1.y(); const float look_offSet = 10.0f; osg::ref_ptr polyIt = new

Re: [osg-users] Bitmap Font

2015-11-23 Thread Aaron Andersen
Hi Robert, I went through that code and seems pretty straight forward. Thank you for your help! Aaron Quoting Robert Osfield : Hi Aaron, On 22 November 2015 at 23:18, Aaron Andersen wrote: I haven't really been able to find a bitmap font in