xml3d / xml3d.js

The WebGL/JS implementation of XML3D
Other
75 stars 25 forks source link

camera options from #165

Closed PolGuixe closed 8 years ago

PolGuixe commented 8 years ago

Can the camera mode be changed from an xml tag?

csvurt commented 8 years ago

If you mean the "fly" and "examine" modes then no, these are part of the camera.js plugin and are controlled through Javascript:

var camera  = new XML3D.StandardCamera(viewElement);
...
camera.mode = "fly";

Some of the view parameters can be changed through HTML elements though, as described in the predefined view models and view element sections in the spec.