Re: [osg-users] Shadows and osgRecipe

2016-02-24 Thread michael kapelko
Hi. I have the sample that worked just fine: https://bitbucket.org/kornerr/osg-deferred-shading 2016-02-25 2:00 GMT+07:00 Anders Backman : > Hi all. > > Has anyone tested the EffectCompositor together with osgShadows? > > My problem is, that as soon as I add a shadowed scene

Re: [osg-users] using osgShadow messes ref_ptrs on exit

2016-02-24 Thread Trajce Nikolov NICK
Hi Again, the trunk has "fixed" it somehow, the case I posted, but it is not fixed completely .. I am getting it now on DefaultUserDataContainer .. in the destructor it crashes, Referenced on same place On Wed, Feb 24, 2016 at 9:33 PM, Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com>

Re: [osg-users] Convert to OSG without file path

2016-02-24 Thread Tony Vasile
It would be good to add this functionality to all the Exporters that support the texture names. Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66419#66419 ___

Re: [osg-users] Convert to OSG without file path

2016-02-24 Thread Alexandre Vaillancourt
Hi Nick, Yes, that would be one way to do it. I think I'll suggest it here and see how it goes :) Thanks! -- Alexandre Vaillancourt 2016-02-24 10:41 GMT-05:00 Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com>: > Hi Alexandre, > > why not extend osgconv (you have the code :) ) with this

Re: [osg-users] using osgShadow messes ref_ptrs on exit

2016-02-24 Thread Trajce Nikolov NICK
Anders, the thing is not only for Programs/Shaders .. I take these out and i starts just about anything else: StateSets, Uniforms, UserDataContainers . On Wed, Feb 24, 2016 at 9:21 PM, Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com> wrote: > Thanks Anders, I am on 3.5.1 .. Let me try

Re: [osg-users] using osgShadow messes ref_ptrs on exit

2016-02-24 Thread Trajce Nikolov NICK
Thanks Anders, I am on 3.5.1 .. Let me try the trunk then .. Thanks again! On Wed, Feb 24, 2016 at 9:19 PM, Anders Backman wrote: > I believe this has been fixed in the trunk. But there is no official > release containing this fix just yet. > It happens with just about any

Re: [osg-users] using osgShadow messes ref_ptrs on exit

2016-02-24 Thread Anders Backman
I believe this has been fixed in the trunk. But there is no official release containing this fix just yet. It happens with just about any osg::Program/Shader. /A On Wed, Feb 24, 2016 at 7:42 PM, Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com> wrote: > Hi Community, > > I've been fighting

[osg-users] using osgShadow messes ref_ptrs on exit

2016-02-24 Thread Trajce Nikolov NICK
Hi Community, I've been fighting with cleaning of ref_ptrs when using osgShadow. It crashes in deleting the pointer. This is odd but attached is very simple example, osgviewer just with adding it to a shadowed scene with some technique. Any clue? Sample attached Thanks a bunch as always !

[osg-users] Seeking feedback on options new laptop for delivering training/occasional dev work

2016-02-24 Thread Robert Osfield
Hi All, I'm looking at buying a new laptop for taking on training trips, so many options though. I'd prefer the base OS to be Linux, but may be swayed by OSX if the system is capable of dual booting linux in case it drives me round the bend too much. I'd like to run Vulkan on it once the

Re: [osg-users] Convert to OSG without file path

2016-02-24 Thread Alexandre Vaillancourt
Tony, Thanks for the tip! Unfortunately, I want to have the paths removed from the .osg after the conversion with osgconv to avoid an extra step (to load the file in a script and have it removed the paths). This loading of the .flt and output twice will add an extra step and a lot more time to

Re: [osg-users] Convert to OSG without file path

2016-02-24 Thread Trajce Nikolov NICK
Hi Alexandre, why not extend osgconv (you have the code :) ) with this feature and submit it to Robert? It is nice and needed feature (I needed it too and I ended up with having my own local copy of osgconv) Cheers, Nick On Wed, Feb 24, 2016 at 4:40 PM, Alexandre Vaillancourt <

[osg-users] can' achieve to make stencil buffer working using FBORTTexture3D Camera

2016-02-24 Thread Julien Valentin
Hi all For test purpose,I'm porting osgpackeddepthstencil example in order to target Texture3D instead of Texture2D. For this, i just introduce instancing and a geometry shader to set the targetted gl_Layer. Here's the code Code: #include #include #include #include #include #include

Re: [osg-users] osgmovie stop playing after long time pause

2016-02-24 Thread Robert Osfield
On 24 February 2016 at 09:56, Dan Liu <139250...@qq.com> wrote: > I'm using OSG 3.4 > I have just tested osgmovie with ffmpeg and for long pauses find that it stops updating the video when I unpause. My guess is that there is something within the plugin that amiss, so a bug that will need

Re: [osg-users] osgmovie stop playing after long time pause

2016-02-24 Thread Dan Liu
I'm using OSG 3.4 -- Original -- From: "Robert Osfield";; Date: Wed, Feb 24, 2016 05:55 PM To: "OpenSceneGraph Users"; Subject: Re: [osg-users] osgmovie stop playing after long time pause HI

Re: [osg-users] osgmovie stop playing after long time pause

2016-02-24 Thread Robert Osfield
HI Daniel, Which OSG version are you using? I recall improvements to the ffmpeg in the OSG-3.4 release, so if you aren't using this I'd recommend upgrading. Robert. On 24 February 2016 at 09:36, Dan Liu <139250...@qq.com> wrote: > Dear All: > When I use osgmovie to play videos which are

[osg-users] osgmovie stop playing after long time pause

2016-02-24 Thread Dan Liu
Dear All: When I use osgmovie to play videos which are about 1 minute long, if the key P is pressed and pause playing for long time, such as 1-2 minute, then the osgmovie will finish playing at once. This case is not what I need. If the pause key is not pressed, the video can be played