Skip to content
lachsen edited this page Oct 29, 2012 · 25 revisions

Download the library and include it in your xhtml at the very beginning.

<script src="http://www.xml3d.org/xml3d/script/xml3d.js"></script>

Important: Always add the xml3d.js library first for all JavaScript libraries (yes, even before jquery)! This is important, since xml3d.js will extend several standard functions of the document, elements and so on.

If a standard navigation mode is sufficient for your web application, you can include the camera controller that comes with xml3d.js:

<script src="http://www.xml3d.org/xml3d/script/xml3d.js"></script>
<script src="http://www.xml3d.org/xml3d/script/tools/camera.js"></script>`
Clone this wiki locally