Process SMIL directives in XML data: Difference between revisions

m
wikipedia links
(initial version, mostly a draft)
 
m (wikipedia links)
Line 1:
One very common task in OpenGL is to load data from a file that contains geometry. These datas most often also contain additional informations, for example animation informations. In this task we propose to load X3D geometric datas with additional Smil animation statments. X3D ([http://en.wikipedia.org/wiki/X3D WP]) is not particularly supposed to be mixed with Smil ([http://en.wikipedia.org/wiki/Synchronized_Multimedia_Integration_Language WP]), but Smil is supposed to be mixable with any XML format.
 
Here is the pure X3D base of our file:
Line 6:
<X3D>
<Scene>
<PointLightViewpoint colororientation='1"0 10 1' location0" position='"0 0 0'"/>
<TransformPointLight translationcolor='-2.41 0.21 1.0' scalelocation='10 12 10'/>
<Transform translation='0.0 0.0 -3.0' scale='1 1 1'>
<Shape>
<Box size='2 1 2'/>
Line 24 ⟶ 25:
<X3D>
<Scene>
<PointLightViewpoint colororientation='1"0 10 1' location0" position='"0 0 0'"/>
<TransformPointLight translationcolor='-2.41 0.21 1.0' scalelocation='10 12 10'/>
<Transform translation='0.0 0.0 -3.0' scale='1 1 1'>
<Shape>
<Box size='2 1 2'>