Re: [osg-users] How to implement a Laser Simulation?

2019-05-24 Thread Chris Hanson
Is this like a scanning sweep laser beam? I'd model it as a triangular frustum with a texture on it generated by a shader with some kind of animated fBm (Fractal Brownian Motion) noise. Is this a work project or school or what? On Fri, May 24, 2019 at 7:35 PM Matheus Santos wrote: > Hi, I

[osg-users] How to implement a Laser Simulation?

2019-05-24 Thread Matheus Santos
Hi, I need to implement a laser inside an underwater simulation. The simulation uses the physics from the gazebo and renders the scene with OSG. Now I need to project a green laser (vertical or horizontal) from the robot, inside the scene. I have no idea how to do something like that (and have

Re: [osg-users] Running multiple (independent) viewers in different threads

2019-05-24 Thread Robert Osfield
Hi Antoine, It's not possible to know what is causing the issues with running your setup from your description, stack trace of the seg fault is the bare minimum for starting to guess at what might be the issue. It could be an OSG bug as you are not using the OSG how it's intended or usually

Re: [osg-users] Running multiple (independent) viewers in differentthreads

2019-05-24 Thread Garfield Pig
Hi Cully, It seems like the problem that split window or frame buffer to different part. There are two way to do this in osg. 1.add slave camera to osgViewer::view,each camera has different graphiccontext. 2.add osgViewer::view to osgViewer::compositeViewer,and one

Re: [osg-users] [build] Question about method of building osgQt

2019-05-24 Thread Tim Whowantstoknow
I ran into the same problem. I tried around a bit, and I got it to generate solution files with cmake. First, open the CMakeLists.txt in the osgQt and edit line 95 and remove the "3.6.0" version number. The result is then Code: FIND_PACKAGE(OpenSceneGraph REQUIRED osgDB osgGA osgUtil osgText

[osg-users] Running multiple (independent) viewers in different threads

2019-05-24 Thread Antoine Cully
Dear OSG Community, I searched quite a lot through the source code and the beginner guide, but I was unable to find a way to make this work, so I am posting here hoping that you could help me. I am developing a tool to run physical simulations (of robots) in parallel. This tool is used to