[osg-users] DEEP_COPY_USERDATA isn't that deep

2019-09-20 Thread Chris Djali
Hi, Is it intentional that using osg::CopyOp::DEEP_COPY_USERDATA copies the UserDataContainer, but doesn't deep-copy the actual things in it unless osg::CopyOp::DEEP_COPY_OBJECTS is also enabled? This means that things can be added or removed, but changes to existing things are shared. We

Re: [osg-users] DEEP_COPY_USERDATA isn't that deep

2019-09-20 Thread Robert Osfield
Hi Chris, My guess is that the deep copy support wasn't built in when I wrote it. Different parts of the OSG developed at different points so sometimes you get little inconsistencies. Feel free to modify the code to do a deep copy when requested and generate a PR for it. Robert. On Fri, 20

Re: [osg-users] [osgPlugins] Lua: deterministic destruction of the script engine / leaks caused by circular references

2019-09-20 Thread Robert Osfield
Hi Hannes, Thanks for detailing the issue so clearly. On a first pass it would seem like your suggesting of changing to observer_ptr<> would be appropriate. I'll need to properly review it, though I'm working flat out on the VSG right now so can't jump in right away. Could you make a PR for

Re: [osg-users] How do I move a Texture in an model of Openflight format (.flt) in the UV direction?

2019-09-20 Thread Dae Woo Ryu
hi NICK. Thank you for your reply. I did what you tried and nothing changed. Can you tell me another way? Here is the code I did. Code: virtual void operator()(osg::Node*, osg::NodeVisitor* nv) { if (nv->getFrameStamp()) { if

Re: [osg-users] How do I move a Texture in an model of Openflight format (.flt) in the UV direction?

2019-09-20 Thread Trajce Nikolov NICK
Hi, I don't think you should call _geom->setUseVertexBufferObjects(true); here. I bet the flt plugin is setting this on creation time. If you have a use case code you can share and the model it will help more for me to see what is going on On Fri, Sep 20, 2019 at 10:19 AM Dae Woo Ryu wrote: >

Re: [osg-users] Render to Texture and osgQt (osgQOpenGL)

2019-09-20 Thread Wouter Roos
Finally had some time to look at it in more detail and it was a problem on my side, all is working now with setting the default fbo id. I've made a pull request, thanks again for the pointer. -- Read this topic online here:

Re: [osg-users] Custom cursor problem?

2019-09-20 Thread tom joe
Hi, Changing cursor file to .png/.jpg works fine. I will look into Win32 cursor setting as well. Thank you! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76723#76723 ___ osg-users mailing list