Process SMIL directives in XML data: Difference between revisions
Content added Content deleted
m (→{{header|OCaml}}: corrected link (title policy)) |
(wordliness) |
||
Line 1: | Line 1: | ||
{{draft task}} |
{{draft task}} |
||
<!-- {{task|3D}} --> |
<!-- {{task|3D}} --> |
||
One very common task in OpenGL is to |
One very common task in OpenGL is to obtain data from a file containing geometric data and supplementary information, such as animation data. The task is to obtain data from a given file and place into appropriately organized X3D data structures. The Smil animation statements found within the file should be stored in an XML record, because X3D data structures are not supposed to contain Smil data. |
||
* 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] |
* 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: | Line 48: | ||
</Scene> |
</Scene> |
||
</X3D></smil></lang> |
</X3D></smil></lang> |
||
⚫ | |||
In the example file, there is only a <Box> primitive, try to implement the primitives below too: |
In the example file, there is only a <Box> primitive, try to implement the primitives below too: |
||
Line 58: | Line 56: | ||
If you are in shape, try to implement the <seq> 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. |
If you are in shape, try to implement the <seq> 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. |
||
⚫ | |||
For this task the more important is to focus on the data structure with inserted timelines. |
|||
'''Warnings:''' |
'''Warnings:''' |
||
* |
* This task is a draft, you can modify it if you find a way to enhance it, |
||
* |
* The coordinates in the X3D data are not important. For example, the provided box data may not be positioned centrally to the viewpoint, Please fix this if you can. |
||