Process SMIL directives in XML data: Difference between revisions
Content added Content deleted
(two examples of output provided) |
(strip away the unused transformation) |
||
Line 13: | Line 13: | ||
<Viewpoint position="0 0 8" orientation="0 0 1 0"/> |
<Viewpoint position="0 0 8" orientation="0 0 1 0"/> |
||
<PointLight color='1 1 1' location='0 2 0'/> |
<PointLight color='1 1 1' location='0 2 0'/> |
||
⚫ | |||
<Transform translation='0.0 0.0 0.0' scale='1 1 1'> |
|||
< |
<Box size='2 1 2'> |
||
< |
<animate attributeName="size" from="2 1 2" |
||
⚫ | |||
<animate attributeName="size" from="2 1 2" |
|||
⚫ | |||
⚫ | |||
<Appearance> |
|||
< |
<Material diffuseColor='0.0 0.6 1.0'> |
||
< |
<animate attributeName="diffuseColor" from="0.0 0.6 1.0" |
||
⚫ | |||
<animate attributeName="diffuseColor" from="0.0 0.6 1.0" |
|||
⚫ | |||
⚫ | |||
</Appearance> |
|||
</Shape> |
|||
⚫ | |||
</Transform> |
|||
</Scene> |
</Scene> |
||
</X3D></smil></lang> |
</X3D></smil></lang> |
||
Line 37: | Line 35: | ||
<Viewpoint position="0 0 8" orientation="0 0 1 0"/> |
<Viewpoint position="0 0 8" orientation="0 0 1 0"/> |
||
<PointLight color='1 1 1' location='0 2 0'/> |
<PointLight color='1 1 1' location='0 2 0'/> |
||
<Shape> |
|||
<Transform translation='0.0 0.0 0.0' scale='1 1 1'> |
|||
< |
<Box size='2 1 2'/> |
||
<Appearance> |
|||
< |
<Material diffuseColor='0.0 0.6 1.0'/> |
||
</Appearance> |
|||
<Material diffuseColor='0.0 0.6 1.0'/> |
|||
</Shape> |
|||
⚫ | |||
</Transform> |
|||
</Scene> |
</Scene> |
||
</X3D></lang> |
</X3D></lang> |
||
Line 55: | Line 51: | ||
<Viewpoint position="0 0 8" orientation="0 0 1 0"/> |
<Viewpoint position="0 0 8" orientation="0 0 1 0"/> |
||
<PointLight color='1 1 1' location='0 2 0'/> |
<PointLight color='1 1 1' location='0 2 0'/> |
||
<Shape> |
|||
<Transform translation='0.0 0.0 0.0' scale='1 1 1'> |
|||
< |
<Box size='1.8 1.2 1.8'/> |
||
<Appearance> |
|||
< |
<Material diffuseColor='0.2 0.56 0.8'/> |
||
</Appearance> |
|||
<Material diffuseColor='0.2 0.56 0.8'/> |
|||
</Shape> |
|||
⚫ | |||
</Transform> |
|||
</Scene> |
</Scene> |
||
</X3D></lang> |
</X3D></lang> |