[osg-users] setViewMatrixAsLookAt not working to set the initial camera position

Rodrigo Dias rodrigo1406 at gmail.com
Mon Jan 7 19:17:14 PST 2019


Hi Sam,

By "home" I think you mean


Code:
viewer.getCameraManipulator()->setHomePosition( eye, center, up );




This really changed camera's position, though it's totally freaking out now (I'm still fiddling with the values in eye, center and up).

But I have no idea what you meant by "delta time", something to go inside the loop?

Thank you!

Cheers,
Rodrigo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75413#75413







More information about the osg-users mailing list