Hi,
I had the same trouble, the settings of the Y rotation is private so I couldn't get free movement with my Q3DSurface.
But the Q3DScatter allows this full movement ! So I just had to :
- create a Q3DScatter,
- permute the camera between the Q3DScatter and my Q3DSurface,
- delete the Q3DScatter.
Q3DScatter *myQ3DScatter = new Q3DScatter();
Q3DSurface *myQ3DSurface = new Q3DSurface();
Q3DCamera *cameraFromQ3DSurface = myQ3DSurface->scene()->activeCamera();
myQ3DSurface->scene()->setActiveCamera( myQ3DScatter->scene()->activeCamera() );
myQ3DScatter->scene()->setActiveCamera( cameraFromQ3DSurface );
delete myQ3DScatter;
Q3DScatter *myQ3DScatter = new Q3DScatter();
Q3DSurface *myQ3DSurface = new Q3DSurface();
Q3DCamera *cameraFromQ3DSurface = myQ3DSurface->scene()->activeCamera();
myQ3DSurface->scene()->setActiveCamera( myQ3DScatter->scene()->activeCamera() );
myQ3DScatter->scene()->setActiveCamera( cameraFromQ3DSurface );
delete myQ3DScatter;
To copy to clipboard, switch view to plain text mode
That works just fine for me
Regards,
Bookmarks