Re: [osg-users] osg crashes when remove child

2013-03-08 Thread lucie lemonnier
David, I don't have access to the viewer frame functions because I use a wrapper c# to c++ (I created a dll c++ with osg functions that I call in my wpf (c#) application). Thank you! lucie -- Read this topic online here:

Re: [osg-users] osg crashes when remove child

2013-03-08 Thread lucie lemonnier
Paul, The DataVariance for root is also DYNAMIC. The ThreadingModel is not set, when I display the variable : std::cout threading model : _viewer-getThreadingModel(); It returns 2 - ThreadPerContext. Thank you! lucie -- Read this topic online here:

Re: [osg-users] osg crashes when remove child

2013-03-08 Thread lucie lemonnier
With SingleThreaded, osg also crashes with the same error. lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52997#52997 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] wglGetCurrentContext vs osg::GraphicsContext::createGraphicsContext

2013-03-08 Thread Anders Backman
Hi all. I have a small problem where I use osg::GraphicsContext::createGraphicsContext to create a context for a window-widget (in .NET), but I also use another piece of software that use wglGetCurrentContext to check for context. But wglGetCurrentContext() returns null for the context that OSG

Re: [osg-users] [osg-submissions] OSC plugin, VS2010 64-bit

2013-03-08 Thread Anders Backman
I would REEEALLLY like a developer release with this fix, otherwise 3.1.4 is not available for anyone with VS2010 (and probably VS2012). Any dates for such release? (3.1.5) /A On Fri, Feb 8, 2013 at 7:45 PM, Jan Ciger jan.ci...@gmail.com wrote: On Wed, Feb 6, 2013 at 10:20 AM, Robert

Re: [osg-users] [osg-submissions] OSC plugin, VS2010 64-bit

2013-03-08 Thread Robert Osfield
Hi Anders, On 8 March 2013 10:48, Anders Backman ande...@cs.umu.se wrote: I would REEEALLLY like a developer release with this fix, otherwise 3.1.4 is not available for anyone with VS2010 (and probably VS2012). Any dates for such release? (3.1.5) I have a client deadline to meet today, but

[osg-users] disabling state

2013-03-08 Thread Trajce Nikolov NICK
Hi community, I have a graph with some node where I have set a shader with override. What is the way down in the subgraph to disable this shader? Thanks Nick -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] disabling state

2013-03-08 Thread Trajce Nikolov NICK
The answer is to set an empty osg::Program with osg::StateAttribute::PROTECTED. Thanks Wojtek Nick On Fri, Mar 8, 2013 at 12:36 PM, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Hi community, I have a graph with some node where I have set a shader with override. What is the way

[osg-users] FFmpeg visual studio 2010 x64 deadlock

2013-03-08 Thread Sebastian Messerschmidt
Hi folks, I found a problem when using ffmpeg 0.8 (from***ffmpeg*.zeranoe.com/builds/) with Visual Studio 2010 x64 and osg 3.1.3. When trying to play the stream from my webcam the FFmpegDecoder::open blocks in if (av_find_stream_info(p_format_context) 0) throw

Re: [osg-users] [osg-submissions] OSC plugin, VS2010 64-bit

2013-03-08 Thread Anders Backman
Grrreat! /Anders On Fri, Mar 8, 2013 at 12:00 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Anders, On 8 March 2013 10:48, Anders Backman ande...@cs.umu.se wrote: I would REEEALLLY like a developer release with this fix, otherwise 3.1.4 is not available for anyone with VS2010

Re: [osg-users] Per-view / per-camera effect control

2013-03-08 Thread Janna Terde
Hi Robert, Thank you for the quick reply! What I am trying to do is to modify the scene graph (for example modify the transformation matrix of the node or uniform of the node). I've tried doing it in the cull callback or camera pre draw callback but it seems at this point it is already too

Re: [osg-users] osg crashes when remove child

2013-03-08 Thread David Callu
I Lucie You probably run OSG and GUI in 2 different thread, and you try to manipulate OSG data from GUI thread. You have created the dll C++ that wrappe OSG. So you can modify it. You need an asynchronous mechanism to say to OSG add node or remove node or anything else like a queue of

Re: [osg-users] Per-view / per-camera effect control

2013-03-08 Thread Robert Osfield
Hi Janna, On 8 March 2013 15:32, Janna Terde brja...@gmail.com wrote: Thank you for the quick reply! What I am trying to do is to modify the scene graph (for example modify the transformation matrix of the node or uniform of the node). I've tried doing it in the cull callback or camera pre

Re: [osg-users] Per-view / per-camera effect control

2013-03-08 Thread Janna Terde
Hi Robert, This is interesting however I am not completely sure if this can solve all my problems. What I am trying to do is to create a general solution for per-view control. I have different effects which require per-view control. For example different post-effects need per-view uniforms,

Re: [osg-users] Per-view / per-camera effect control

2013-03-08 Thread Robert Osfield
Hi Janna, It should be possible to make the MyTransform proposal pretty general purpose, as I don't know the specifics of what type of transform you want I can't say for sure, but it's how I'd tackle the task. Without know more specifics of the how you plan to make the computation I can really

[osg-users] Using OpenSceneGraph with 3rd party window libraries

2013-03-08 Thread Sergey Kurdakov
Hi Randall, so, I can only guess, what goes wrong (I'm sorry). but , in case there are several windowing libraries, they could run in separate threads http://msdn.microsoft.com/en-us/library/ms810439.aspx - so that their even loops are not intersected, the communication should be async this

[osg-users] [vpb] Latest VPB Snapshot

2013-03-08 Thread Conan Doyle
Hi, I would like to download a snapshot of the latest VPB. I work in a facility that blocks access to outside svn servers, so downloading a snapshot is basically my only choice. I did find v0.9.0 dev release, but I see that there appears to be numerous later versions. Where would I find a new

[osg-users] osgconv --compressed-dxt5

2013-03-08 Thread Trajce Nikolov NICK
hi community, what has happened to osgconv? I remember it was working in the older versions well. Now it says something like rgb plugin can not export compressed images. osgconv was the way how to optimize openflight with huge rgb textures into something like osg with dxt. Any hints? Thanks