Re: [osg-users] How to scale/rotate/move an asset in OpenSceneGraph

2020-02-12 Thread Luca Costantino
That helped a lot. Thanks Regards Luca Il giorno mar 11 feb 2020 alle ore 17:38 Armin Samii ha scritto: > Check out the examples directory. > One example: > https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osganimate/osganimate.cpp#L247 > 1. Create a MatrixTransform > 2. Ad

[osg-users] osgQt::GLWidget Scroll Bug

2020-02-12 Thread 'Scott Shaw' via OpenSceneGraph Users
I think I'm running into a bug in OSG. I've implemented my own versions of mouse events in a sub-classed osgQt::GLWidget so I can redraw the 3D view only when necessary: void Osg3dViewCM::mousePressEvent(QMouseEvent* event) { m_mouseDown = true; if (_cameraManipulator.valid()) {