Re: [osg-users] Sharing an OpenGL texture context with another API

2014-07-22 Thread Robert Osfield
HI Harash, If you have a separate card for the frame grabber then your system will be needing to copy the data from the frame grabber card into main memory then copy it back to the graphics card. this will need to be done regardless of whether you use the frame grabber API or configure via the

[osg-users] Questions about the axes. Is this the right way?

2014-07-22 Thread Andrés Barrionuevo
Hi, I'm playing with the osgcompositeviewer example in order to load and show the axes in the scene. I want that when I rotate the model in the first view, the axes get updated accordingly, but I don't want them to change position or allow the user to zoom them. So, I got this thing running

Re: [osg-users] Key events doesn't work with function keys

2014-07-22 Thread Andrés Barrionuevo
Hi Robert, thanks for the info! In the example the function keys worked right! ... Thank you! Cheers, Andrés -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60393#60393 ___ osg-users mailing list

[osg-users] Skydome-texture, badly rendered in cubemap

2014-07-22 Thread Patrik Andersson
Hi, I'm currently working on a visualization project where stereo-camera will be used. I'm setting up six cubemaps for reflection. The world object is reflected well in the cubemap, but the sky, is not rendered properly, so the sky is reflection is wrong. The sky is created from the source of

Re: [osg-users] Not thread safe access to osg::State::_appliedProgramObjectSet

2014-07-22 Thread Robert Osfield
HI Mikhail, Thanks for the example. I've reproduced the crash using the example and been reviewing the osg::State handling if the _appliedProgramObjectSet and can see the mechanism by which the container gets accessed inappropriately by the draw thread when a Program::PerContextProgram object

[osg-users] Manual deleting nodes again...

2014-07-22 Thread Robert Gosztyla
Hi, Searching forum i've found such topic http://forum.openscenegraph.org/viewtopic.php?t=5758, which is quite similar to my problem, however does not solved my issue. I'm trying to write functionality to remove node with all subnodes, but cannot get it to work. Assign NULL to shared pointer

Re: [osg-users] Manual deleting nodes again...

2014-07-22 Thread Robert Osfield
Hi Robert, The OSG automatically reference counts Nodes and other objects in the scene graph. If you want to remove Nodes or other objects from the scene graph you need to call the appropriate methods to removing them. If you want to remove a child from a group then you simply call

Re: [osg-users] Not thread safe access to osg::State::_appliedProgramObjectSet

2014-07-22 Thread Robert Osfield
Hi Mikhail, I have resolved the threading bug associated with osg::State::objectDeleted() by removing the _appliedProgramObjectSet container that was the cause of the threading bug. Reviewing the OSG code base I found that the need for this container centered around State::reset() method that is

Re: [osg-users] Not thread safe access to osg::State::_appliedProgramObjectSet

2014-07-22 Thread Robert Osfield
On 22 July 2014 17:16, Robert Osfield robert.osfi...@gmail.com wrote: This change is now checked into svn/trunk and will be wrapped up in the next dev release (3.3.3). Unfortunately the changes break the ABI of the core OSG so I'm reluctant to apply them to the OSG-3.2 branch, so I'm

Re: [osg-users] Manual deleting nodes again...

2014-07-22 Thread Robert Gosztyla
Hi, Ok, i was mislead by previous thread and setting NULL to ref_ptr. So, i'm using removeChild, as it should be and got crash. I'm doing this in such way: Code: osg::ref_ptr osg::Geode geode = new osg::Geode; // on start osg::Geode* g = geode.get(); // store pointer to my geode somewhere

Re: [osg-users] Manual deleting nodes again...

2014-07-22 Thread Robert Osfield
Hi Robert Your crash is down to retaining a c pointer to an object that has been deleted. This dangling pointer issue is exactly why smart pointers are used in modern C++ application. Lots has been written about ref_ptr usage here over the years, as well as docs and osg books that discuss it. So

[osg-users] 22 days until OpenScenegraph BOF at SIGGRAPH 2014

2014-07-22 Thread John Richardson
Greetings and Salutations, Birds of a Feather Session Title: OpenSceneGraph BOF Date: Wednesday, August 13 Location: Vancouver Convention Centre Time: 10:00 am - 11:00 am Be there or be OSG::SQUARE [US slang] I leave one slot for Robert's Planned features report. One slot is

[osg-users] [forum] osgText with very large size

2014-07-22 Thread Don Tolley
Hi, I am attempting to create some osgText which has a very large size value. I noticed that if I keep the size parameter under 50 it looks fine. If I crank it up to say 500, the text looks fuzzy on the edges and just bad. I am using a TTF font. I am pretty new to using text so maybe one