[x3d-public] resetting a viewpoint

Andreas Plesch andreasplesch at gmail.com
Mon Jan 29 18:24:43 PST 2018


The question came up of how to reset the view after some navigation to the
initial position/orientation of the viewpoint. One could go to another
viewpoint and then back but the idea is to directly reset the current
viewpoint.

Would it work to send true to the set_bind field of the currently bound
viewpoint to reset the view, with retainUserOffsets false ?

I could not really find in the spec. what should happen if an already bound
viewpoint's set_bind field receives true. Is the event just ignored ?

x3dom has a resetView() function and x_cite has
browser.bindViewpoint(viewpoint), a nonstandard SAI function which can be
used for this purpose. What would be the standard way to reset a view ?

Thanks, -Andreas


-- 
Andreas Plesch
Waltham, MA 02453
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180129/a32514fb/attachment.html>


More information about the x3d-public mailing list