[osg-users] Advice requested: Is OSG what I need for my project?

2018-09-12 Thread Scott Schultz
;tldr version: Given a start point and end point, can OSG give me a list of collisions with geometry along the specified line segment? Longer use-case explanation: I have a serialized scene graph from a defunct online game client. The game assets have been repurposed into a XMPP chat program t

[osg-users] Problems porting from osg-3.4.0 to osg-3.6.0

2018-09-12 Thread Herman Varma
Hello I am having trouble porting Ben Discoe’s VTP software from openSceneGraph-3.4.0 to osg-3.6.2 The problem lies in implementing the macro to replace META_object in shadowTechnique.h as depicted below. . Can someone point out where my problem is. /** CSimpleInterimShadowTechnique provides a

Re: [osg-users] problems with osg-3.4.0 port to osg-3.6.0

2018-09-12 Thread Herman Varma
Hello I am having trouble porting Ben Discoe’s VTP software from openSceneGraph-3.4.0 to osg-3.6.2 The problem lies in replacing the META_object with a macro in shadowTechnique.h as depicted below. Can someone point out where the problem is. /** CSimpleInterimShadowTechnique provides an imple

Re: [osg-users] Idea to implement a kind of 'rubber mode'

2018-09-12 Thread Chris Hanson
That's a clever trick. Will it work with more than one layer of red-frame-green-symbol objects? Does it need to work in that situation? "Rubber" means something else in US English. ;) On Wed, Sep 12, 2018 at 4:18 PM Christoph Dohmen wrote: > Thank you, Laurens! > > Cheers, > Christoph > > ---

Re: [osg-users] problems with osg-3.4.0 port to osg-3.6.0

2018-09-12 Thread Chris Hanson
Yup. As Nick said, we try to help you at no charge as much as we can. If it's something you really need someone else to do for you, there are a variety of folks (including Nick and myself) who can do paid consulting for you. Ask away. On Wed, Sep 12, 2018 at 6:24 PM Trajce Nikolov NICK < trajce.n

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-12 Thread Robert Osfield
Hi Glenn etl al, Using Laurens PR as inspiration I have applied a fix for glTexStorage mipmap allocation issue as part of wider standatization of how the number of mipmap levels is selected for glTexStorage, The commit to OpenSceneGraph-3.6 is: https://github.com/openscenegraph/OpenSceneGrap

Re: [osg-users] problems with osg-3.4.0 port to osg-3.6.0

2018-09-12 Thread Trajce Nikolov NICK
Hi, Yes, it is. You can start with posting questions and you can also find professional paid osg consultancy here on this forum/user list. Either way the community is well responsive Good luck, On Wed, 12 Sep 2018, 16:24 Herman Varma, wrote: > Is this the right forum to request help for portin

Re: [osg-users] osgText 3.6.3 crash

2018-09-12 Thread Trajce Nikolov NICK
Hi Robert, That was the right hint and I must admit that I always forget it :-). Setting the datavaraiance to osg::Object::DYNAMIC fixed the crash! As for the other hints re performance, this is for sort of DEBUG mode for the sim so we are ok, but thanks for these as well! On Wed, Sep 12, 2018 at

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-12 Thread Robert Osfield
Hi Glenn, I've compiled and run the example against the 3.6 branch with images from OpenSceneGraph-Data/Images and it runs on my Kubuntu 18.04/NVidia system without any obvious issue. Could you explain what the issue looks like so I could specifically test it? Laurens Voerman has kindly investig

Re: [osg-users] Idea to implement a kind of 'rubber mode'

2018-09-12 Thread Christoph Dohmen
Thank you, Laurens! Cheers, Christoph -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=74725#74725 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo

[osg-users] problems with osg-3.4.0 port to osg-3.6.0

2018-09-12 Thread Herman Varma
Is this the right forum to request help for porting code from openscenegraph-3.4.0 to openscenegraph-3.6.0??? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osgText 3.6.3 crash

2018-09-12 Thread Robert Osfield
Hi Nick, There are plenty of ways mutlti-thread setting of Text labels could cause problems if the threads reading from the Text are running in parallel to the ones setting it. A mutex "might" help but it could easily be done in the wrong way. If you are modifying text dynamically then you shoul

Re: [osg-users] Idea to implement a kind of 'rubber mode'

2018-09-12 Thread Voerman, L.
Hi Christoph, I don't have a piece of source code that will create this file, I exported the basic shapes from 3dsmax and edited the file to set the renderbins, depth and colormask. Laurens. On Wed, Sep 12, 2018 at 1:50 PM Christoph Dohmen wrote: > Yes, Laurens, that's exactely what I was lookin

[osg-users] osgText 3.6.3 crash

2018-09-12 Thread Trajce Nikolov NICK
Hi Robert, we are experiencing some crashes in our sim software. And I know you will not like this post since I can not produce minimal case exercising this issue - I tried to mimic the sim code into one simple app but in this minimal app all works just great. So I will try to explain and count on

Re: [osg-users] Idea to implement a kind of 'rubber mode'

2018-09-12 Thread Christoph Dohmen
Yes, Laurens, that's exactely what I was looking for! Do you have any source which created the file? Thank you! Cheers, Christoph -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=74720#74720 ___ osg-

Re: [osg-users] Idea to implement a kind of 'rubber mode'

2018-09-12 Thread Christoph Dohmen
Hi Daniel, it's not a drawing programm. Thank you! Cheers, Christoph -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=74718#74718 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://

Re: [osg-users] Idea to implement a kind of 'rubber mode'

2018-09-12 Thread Voerman, L.
Hi Christoph, attached is an osg file that does what I think you want, unzip and view with: "osgviewer cow.osg.0,-5,0.trans erasor.osg.10,10,10.scale" The osg file works by using a low (negative) render bin number to force the draw order, first renderbin -2 draws the erasor geometry and the outlin

Re: [osg-users] Idea to implement a kind of 'rubber mode'

2018-09-12 Thread Daniel Trstenjak
Hi Christoph, On Tue, Sep 11, 2018 at 07:09:26PM +0200, Christoph Dohmen wrote: > Well, Chris, thanks for the question. It shows that I was not precise > enough. Currently I'm drawing the black line on top of a quite > complex background (light blue). And as a second item I draw the quad > with th