[x3d-public] resetting a viewpoint

GPU Group gpugroup at gmail.com
Tue Jan 30 05:58:36 PST 2018


via a route to set_bind, it works (resets current viewpoint) in
freewrl, H3D, octaga
but not in
instant, vivaty
-D
http://dug9.users.sourceforge.net/web3d/tests/navigation/reset_viewpoint.x3d


On Mon, Jan 29, 2018 at 7:24 PM, Andreas Plesch <andreasplesch at gmail.com>
wrote:

> 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
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180130/bc03fd3f/attachment.html>


More information about the x3d-public mailing list