3DMLW
From Wikipedia, the free encyclopedia
3DMLW (3D Markup Language for Web) is a XML-based standard file format for representing 3-dimensional (3D) and 2-dimensional (2D) interactive content on the World Wide Web.
Displaying 3DMLW requires 3DMLW plug-in to be installed on computer and it uses OpenGL for rendering. 3DMLW plug-in is developed by 3D Technologies R&D for common web browsers (Internet Explorer, Mozilla Firefox, Opera, etc.).
Contents |
[edit] Format
3DMLW is a text file format that is based on XML standard 1.0. In 3DMLW 2D and 3D content are separated, but they can be shown on top of each other. 3DMLW supports .3ds and .obj file formats for 3D models.
3DMLW files have the .3dmlw extension (for example car.3dmlw). 3dmlw files can be linked together like in HTML.
Example of the 3DMLW file:
<?xml version='1.0' standalone='no'?> <document> <content2d> <area width='200' height='100' color='#C0C0C0FF' texture='flower.png' /> </content2d> <content3d id='content' camera='{#cam}'> <camera id='cam' class='cam_rotation' y='10' z='40' viewy='10'/> <box name='ground' width='100' height='2' depth='100' color='green' class='ground' /> <box name='dynamic' y='20' width='10' height='10' depth='10' color='blue' /> </content3d> </document>
[edit] 3DMLW Plug-in
For showing 3DMLW the 3DMLW plug-in for web-browser or a 3DMLW standalone browser is needed. The 3DMLW rendering engine uses OpenGL (Open Graphics Library) that is a de-facto nearly optimal solution for showing three- and also two-dimensional graphics on a personal computer. 3D Technologies R&D (the company who develops 3DMLW) has announced that in the near future there will also be support for DirectX or other 3D rendering systems, and if possible the format will be suited for 3D LCD-s or other hardware. 3DMLW plug-ins are currently available for following web-browsers: Internet Explorer, Mozilla Firefox and Opera.