After you set the home position try:
viewer.getCameraManipulator()->home(1);

Sorry I'm not right in front of my computer right now.

On Mon, Jan 7, 2019 at 7:26 PM Rodrigo Dias <[email protected]> wrote:

> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to