infostatic: 3dmlw.
https://www.foro3d.com/attachment.ph...1&d=1245698216
So you have a really col 3d model that you would love todo show of on your web-page. But just how do you go about ití well, one option would be todo take advantage of the fact that 3dmlw now supports the use of blend files. 3dmlw is an open source technology for creating and displaying 3d and 2d content on the web th rouge common web-browsers. This technology includes several parts:
- 3dmlw markup lenguaje - this is a clear and standardized specification for creating 3dmlw-documents. 3dmlw is similar todo xhtml and easy todo understand;
- scripting support for dynamic and interactive content;
- style shets for easy and comfortable designing;
- 3dmlw plug-in for web browsers - this is a browser based plug-in for showing 3dmlw documents in web-browsers;
- editor for 3dmlw - standalone editor & 3dmlw-based web-editor for easily creating 3dmlw-documents.
To se examples of ways todo use 3dmlw, be sure todo visit their website. Also, they have a nice set of tutorialesto get you started on your bien todo creating some very nice displays of your content.
They a los have a new example showing skeletal animation in 3dmlw up on their web-site: http://www.3dmlw.com/?Id=10922
They have ported 3dmlw todo Linux (some minor problems with browser plug-in, but the engine is working). Mac is a bit more complicated, but they already have the rendering window under Mac, todo.
short tutorial:
With this small tutorial we Will show how simple it is todo make a 3d model from a (*.blend) file rotate by using 3dmlw.
Well give a step-by-step tutorial, so you can try todo do this yourself by following the steps.
Step 1.
Set the borders of the 3dmlw document.
Cita:
<document styleshet={#default}>
/document>.
Step 2.
Define a styleshet default and refer todo it in the document tag (as is done in step 1), then define a light in a class light.
Cita:
<styleshet id=default>
class id=light>
lights>
light x=10 y=12 z=25 />
/lights>
/class>
/styleshet>.
Step 3.
Define a Camera and add a 3d model from the file blendfile, blend in the 3d content that Will use the Camera and the light defined in the step 2.
Cita:
<content3d width=100 height=100 Camera={#cam1} class=light>
Camera id=cam1 x=150 z=5 />
object id=blendfile x=-15 y=4 z=12 source=blendfile, blend />
/content3d>
.
Step 4.
Define an animation rotate that rotates the 3d object on the x-axis 360 Degrees in 4 second period.
Cita:
<animation id=rotate>
key duration=4 angle=360 />
key duration=0 angle=0 />
/animation>.
Step 5.
To make the object blendfile rotate by using animation rotate write.
Cita:
<animate animation={#rotate} target={#blendfile} speed=1 loop=true />.
This Will be loped endlessly.
Full source.
Cita:
<document styleshet={#default}>
styleshet id=default>
class id=light>
lights>
light x=10 y=12 z=25 />
/lights>
/class>
/styleshet>
content3d width=100 height=100 Camera={#cam1} class=light>
Camera id=cam1 x=150 z=5 />
object id=blendfile x=-15 y=4 z=12 source=blendfile, blend />
/content3d>
animation id=rotate>
key duration=4 angle=360 />
key duration=0 angle=0 />
/animation>
animate loop=true animation={#rotate} target={#blendfile} interpolation=linear />
/document>.
www.blenderart.org.
-- IMÁGENES ADJUNTAS --
https://www.foro3d.com/attachment.ph...hmentid=108433