Difference between revisions of "Animgen Server"
John.Glauert (talk | contribs) (Document use of sigmlserver.) |
John.Glauert (talk | contribs) m (→Animgen Server) |
||
Line 8: | Line 8: | ||
The server can be driven by curl using a command such as: | The server can be driven by curl using a command such as: | ||
− | <nowiki>curl -s "https://vhg.cmp.uea.ac.uk/cgi-bin/animgen/ | + | <nowiki>curl -s "https://vhg.cmp.uea.ac.uk/cgi-bin/animgen/sigmlserver.pl?avatar=luna&fps=50" -F sigml=@mysigns.sigml</nowiki> |
The parameters accepted are: | The parameters accepted are: | ||
* avatar: defaults to anna | * avatar: defaults to anna |
Latest revision as of 09:44, 9 August 2024
Home >> SiGML Tools
Animgen Server
During development of the CWASA software, a CGI script was developed to call the freestanding Animgen application to convert SiGML to CAS, the format of animation data used by CWASA.
The CWASA development distribution includes web pages that exploit this server. Now that the Animgen software is embedded in the script for CWASA, there is little benefit in using this server.
The server can be driven by curl using a command such as:
curl -s "https://vhg.cmp.uea.ac.uk/cgi-bin/animgen/sigmlserver.pl?avatar=luna&fps=50" -F sigml=@mysigns.sigml
The parameters accepted are:
- avatar: defaults to anna
- fps: defaults to 25
- htog: defaults to "false" (0)
The htog parameter controls conversion of H-SiGML, SiGML based on a sequence of HamNoSys tokens, to G-SiGML, SiGML ready for animation using Animgen. The Node tool sigtool is used to perform the conversion. This phase is omitted by default.
The original implementation used Java code to convert SiGML with a script named animgenserver.pl. If the script testanimgenserver.pl is used, a web page is returned documenting the processing performed.
Home >> SiGML Tools