Trying out 3DMLW … it’s damn easy

Posted by Dennis on Oct 23, 2008 in 3D, Blender5 comments

I recently stumbled upon this new 3D Markup Language for the Web. The getting started examples looked quite simple so I figured it was worth giving it a try.

3DMLW can load Blender (.blend) files so I first fired up Blender to create a simple model. Then I wrote the markup code (I used “Quantum Hog“, their editor) to add the object to the scene and make it rotate.

I ended up with only 21 lines of code to get this working! Check it out:


<?xml version='1.0'?>
<document stylesheet='{#default}' color='#5555ee'>
  <stylesheet id='default'>
    <default>
      <lights>
        <light x='150' y='150' />
      </lights>
    </default>
  </stylesheet>
  <content3d camera='{#camera1}'>
    <camera id='camera1' x='0' y='5' z='-10' />
    <object id='arrayObj' x='0' y='0' z='0' source='array_applied.blend' class='thing'>
      <mesh name='Cube' />
    </object>
  </content3d>
  <animation id='rotation'>
    <key duration='90' yaw='0' />
    <key yaw='360' />
  </animation>
  <animate id='animating_lid' loop="true" speed='7' animation='{#rotation}' target='{#arrayObj}' interpolation='linear' />
</document>



Tags: , ,


5 comments

» Comments RSS Feed
  1. Cool!

  2. Sound like fun.

  3. this is not loading in my browser (???) I’ll admit that I’m on vacation in vermont and the internet out here is a bit slower than what I’m accustomed too…. (its running off a satellite TV connection sort of business and really that is just a sad sorry sort of connection in reality)

    but I do really want to see 3DML in action… the code looks very simple and quick…

    it would be nice if we could plop 3d into any text space like HTML….

  4. wow sweet

  5. Hi!

    We have released 3DMLW also under MacOS and are working on the next big version.

Leave a comment