[X3D-Public] resetting the view programmatically

Lars O. Grobe grobe at gmx.net
Wed Aug 10 01:12:34 PDT 2011


Hi!

> I know that x3dom maps the 'r' key to reset the view to the default
> Viewpoint, but is there a way to do this from javascript?

You can activate any camera using javascript. There is a nice example at:

http://x3dom.org/x3dom/example/x3dom_camBindAnim.html

Cheers, Lars.



More information about the X3D-Public mailing list