Process SMIL directives in XML data: Difference between revisions

wordliness
m (→‎{{header|OCaml}}: corrected link (title policy))
(wordliness)
Line 1:
{{draft task}}
<!-- {{task|3D}} -->
One very common task in OpenGL is to loadobtain data from a file thatcontaining containsgeometric geometry.data Theseand datasupplementary mostinformation, oftensuch alsoas containanimation additionaldata. informations,The fortask exampleis animationto informations.obtain Indata thisfrom taska wegiven proposefile toand loadplace X3Dinto geometricappropriately organized X3D data withstructures. additionalThe Smil animation statments.statements X3Dfound iswithin notthe particularlyfile supposed toshould be mixedstored within Smilan XML record, butbecause SmilX3D isdata supposedstructures toare benot mixablesupposed withto anycontain XMLSmil formatdata.
 
* X3D: [[wp:X3D|on Wikipedia]] / [http://www.web3d.org/x3d/specifications/ISO-IEC-19776-1.2-X3DEncodings-XML/Part01/X3D_XML.html SPECS of the XML form] / [http://www.web3d.org/x3d/specifications/ISO-IEC-19776-1.2-X3DEncodings-XML/Part01/examples.html Examples]
Line 48:
</Scene>
</X3D></smil></lang>
 
Try to make it possible to insert "animate" tags for animating every attribute of the base file.
 
In the example file, there is only a &lt;Box&gt; primitive, try to implement the primitives below too:
Line 58 ⟶ 56:
If you are in shape, try to implement the &lt;seq&gt; tag too ([http://www.w3.org/TR/SMIL/smil-timing.html#edef-seq def], [http://www.w3.org/TR/SMIL/smil-timing.html#q175 ex.]), we could for example put successivelly a Box, a Sphere, a Cone into it.
 
TryIt toshould make itbe possible to insert "animate" tags for animatingagainst every attribute of the base file and it is important to be able to insert timelines into the data structure.
For this task the more important is to focus on the data structure with inserted timelines.
 
 
'''Warnings:'''
* thisThis task is a draft, you can modify it if you find a way to enhance it,
* theThe coordinates in the X3D data are perhaps not relavant,important. forFor example, the provided box isdata maybemay not be positioned in frontcentrally ofto the viewpoint, pleasePlease fix this if you can.