Re: [osg-users] How to resize/move existing OSG window dynamically?

2019-05-30 Thread Robert Osfield
Hi Mike, The EventQueue's windowResize(..) method is for informing the OSG's event system that a window has already been resized, i.e. that a resize has happened and now all the event handles who are interested in this event can handle it. If you want to move a window then you need to set the new

[osg-users] How to resize/move existing OSG window dynamically?

2019-05-30 Thread Mike Greene
Hi, I have an example where I create an OSG window. I need to be able to move or resize it after creation through code. I have tried something like this: Code: while (!viewer->done()) { viewer->frame(); if (bConditionMet) viewer->getEventQueue()->windowResize(newX, newY, newW

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

2019-05-30 Thread Matheus Santos
Hi, I have this example. The green line is the laser, projected on the scene. As you can see, the laser passes through the object. I want the laser bypasses the object (any object, not only spheres), as the example above. It's like a light spot ... Thank you! Cheers, Matheus

[osg-users] Implementation of movement, rotation of scale

2019-05-30 Thread Maxim Senin
Hi, I want to move, rotate and scale the object with the help of auxiliary axes, so as done in the blendar, are there any libraries or code? [img]inspector_gizmo_scale.png[/img] ... Thank you! Cheers, Maxim -- Read this topic online here: http://forum.openscenegraph.org/viewtop