[x3d-public] Fascinating Discussion on WebVR List
Cecile Muller
contact at wildpeaks.fr
Sun Oct 23 20:09:02 PDT 2016
Hi list,
> You want more advanced stuffs? You get:
> requestAnimationFrame(render);
> which will let you collect one or a sequence of events (i guess) to make
sure you get a render of your animation each frame.
One small addition: in WebVR mode, make sure to use VRDisplay's
requestAnimationFrame,
not "window.requestAnimationFrame" or just "requestAnimationFrame":
https://w3c.github.io/webvr/#dom-vrdisplay-requestanimationframe
See you,
Cecile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20161024/fd906600/attachment.html>
More information about the x3d-public
mailing list