Extension:X3d

Summary
Use this extension to render x3d content directly in MediaWiki. All content between and tags is passed to a Java applet. No additional plugin is required on the client side.


 * Example
 * Download the source code.

x3d tags recognized

 * DEF / USE
 * Transfom: translation, rotation, position, orientation
 * Appearance.Material.diffuseColor
 * Shape: Sphere, Cylinder, Cone, Box, IndexedFaceSet

Installation
All the code is open sourced under the BSD licence.

You need to add a x3d folder under extensions with x3d.php and x3d.jar inside.

Then place  inside LocalSettings.php.

Resources

 * Source code Packages.tgz - a Java applet in open source (BSD license)
 * Applet binary x3d.jar
 * php extension x3d.php

Limitations

 * Ligth sources not supported
 * Texture mapping not supported
 * Transparency not supported
 * Interpolators not supported - maybe later

Acknowledgements

 * Uses the org.json Java classes to parse xml code for x3d.

Command line
The x3d.jar package can also display x3d files: java -jar x3d.jar foobar.x3d