3DMLW
From Wikipedia, the free encyclopedia
3DMLW City example |
|
| Developer(s) | 3D Technologies R&D |
|---|---|
| Stable release | 0.9.77 / 21.07.2008 |
| Written in | C++ |
| Operating system | Windows 2000 / XP / Vista |
| Platform | currently Windows |
| Available in | English |
| License | GPL |
| Website | www.3dmlw.com |
3DMLW (3D Markup Language for Web) is an XML-based file format for representing 3-dimensional (3D) and 2-dimensional (2D) interactive content on the World Wide Web. 3DMLW engine is open-source licensed under GPL.
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, .obj, .an8 and .blend 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>
For animating 3D scenes and handling different events, Lua scripting facility is provided. The following script fades between colors:
<script type='text/x-lua'><![CDATA[ receiver = Reference.get("@receiver"); c = receiver:attributeColor("color"); c:setAlpha(c:getAlpha()+1); if c:getAlpha()>255 then c:setAlpha(0); end receiver:putAttribute("color", tostring(c)); ]]> </script>
[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, Opera and Google Chrome.
[edit] 3DMLW Editor
3DMLW Editor called Quantum Hog is a program for making and editing .3dmlw documents. Currently in beta version, it has initial support for skeletal animation, particle engine, blender file support etc.
[edit] See also
[edit] External links
[edit] General
- 3DMLW plugin official download site
- 3DMLW Editor Quantum Hog official download site
- 3D Technologies R&D
- 3DMLW project in SourceForge
[edit] Documentation
|
|||||||||||||

