[x3d-public] [x3dom-users] Setting Viewpoints - camera drifts off when moved with mouse
Leonard Daly
web3d at realism.com
Wed Dec 2 07:09:51 PST 2015
This is possibly not a bug. The behavior is specifically described in
the X3D specification
(http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/navigation.html#X3DViewpointNode,
sections e&f).
When changing viewpoints, the relative offset of position and
orientation is retained and applied to the new viewpoint (some of the
time). A lot appears to depend on how the new Viewpoint came to be the
active one.
Reading through the specification, it does not seem to be particularly
clear; even though I participated in the discussion that developed this
language. I believe that this needs more clearly written. I have
submitted a comment against the specification to improve this.
Leonard Daly
> Hi,
> I can reproduce this with both examples with this method:
>
> 1. Rotate object
> 2. Click as fast you can different viewpoints (continue some time)
>
> Soon viewpoints are behaving badly (front is not front etc.).
>
> Regards,
> Ari
>
> Chromium, Chrome, Fifefox (Linux)
>
> Sent from my Debian.
> http://www.opendimension.org/
>
> 2015-12-02 14:22 GMT+02:00 Chris Ratcliffe <chris at theguild.tv
> <mailto:chris at theguild.tv>>:
>
> Annoyingly, it seems to be an intermittent problem.
> I have tried in Chrome and Firefox and often get this problem.
> This example from the X3dom blog seems to be a good example of the
> "drift"
>
> http://konfigurator.3dbetrieb.de/?b=x3d
>
> If that looks fine to you, maybe It's some wierd local thing for me..
>
> (CONTROLS: Perspektive=Perspective / Vorne=Front / Seite=Side /
> Oben-Top)
>
> theguild <http://www.theguild.tv>
>
> Chris Ratcliffe / Animation / Graphics / Creative Code
> 44 (0) 7973 299 138/ chris at theguild.tv <mailto:chris at theguild.tv>
>
> THE GUILD TV LTD / http://www.theguild.tv
>
>
> On 2 December 2015 at 11:48, Roy Walmsley
> <roy.walmsley at ntlworld.com <mailto:roy.walmsley at ntlworld.com>> wrote:
>
> Hi Chris,
>
> I checked your observations below, using the WaterFox browser
> on a 64-bit Windows 10 system. I used your link below to open
> the page and then chose the “Display example HTML file” from
> the bottom of the page.
>
> I tried looking at all four views, selecting each one and
> rotating the reindeer with the mouse, then going back and
> reselecting and moving with the mouse, etc. Even after three
> rounds of this I found that the viewpoint presets all still
> worked fine.
>
> What browser and system are you using? Can you define a
> sequence more precisely that illustrates the anomalous behaviour?
>
> Regards,
>
> Roy
>
> *From:*Chris Ratcliffe [mailto:chris at theguild.tv
> <mailto:chris at theguild.tv>]
> *Sent:* 02 December 2015 11:07
> *To:* x3dom-users at lists.sourceforge.net
> <mailto:x3dom-users at lists.sourceforge.net>
> *Subject:* [x3dom-users] Setting Viewpoints - camera drifts
> off when moved with mouse
>
> Hi, wondering if anyone has a way to get this viewpoint
> example to be more usable:
>
> http://doc.x3dom.org/tutorials/animationInteraction/viewpoint/index.html
>
> The problem with the online example is this:
>
> If you rotate the reindeer with the mouse, the first time
> everything is OK,
>
> and you can use the viewpoint presets to pick the various views.
>
> Rotate the reindeer with the mouse again and all the views are
> offset.
>
> (top view is no longer top etc..)
>
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for
> multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> X3dom-users mailing list
> X3dom-users at lists.sourceforge.net
> <mailto:X3dom-users at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/x3dom-users
>
>
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
>
>
> _______________________________________________
> X3dom-users mailing list
> X3dom-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x3dom-users
--
*Leonard Daly*
X3D Co-Chair
Cloud Consultant
President, Daly Realism - /Creating the Future/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151202/18e11127/attachment.html>
More information about the x3d-public
mailing list