topical media & game development

talk show tell print

#mobile-ar-10-14.txt / txt



  <?php
  echo “<?xml version=\”1.0\” encoding=\”UTF-8\”?>
  <results>
          <!-- A unique number for our POI, and settings for user interaction-->
          <poi id=\”1\” interactionfeedback=\”none\”>
                  <name><![CDATA[3D with animiation POI]]></name>
                  <description><![CDATA[Animation demo]]></description>
                  <!-- The lat/lon of the POI-->
                  <!-- Use a location near you for testing -->
                  <l>51.5848,0.0886,0</l>
                  <thumbnail>http://www.yourserver.com/logo.jpg>
                  <icon>http://www.yourserver.com/mappin.jpg>
                  <!-- Changing the mime type to md2 -->
                  <mime-type>model/md2</mime-type>
                  <!-- Forcing the 3D image to be shown rather than the standard POI bubble-->
                  <force3d>true</force3d>
                  <!-- Setting a scale -->
                  <s>6000</s>
                  <!-- Set the orientation of the 3D object-->
                  <o>0,-1.57,0</o>
                  <!-- Loading a 3D resource -->
                  <mainresource>http://www.junaio.com/publisherDownload/tutorial/metaioman.md2_enc>
                  <resources>
                          <resource>http://www.junaio.com/publisherDownload/tutorial/metaioman.png>
                  </resources>
                  <!-- setting up the animation-->
                  <behaviours>
                          <!-- when the animation should start-->
                          <behaviour type=\”idle\”>
                          <!-- the length of the animation -->
                          <length>0</length>
                          <!-- the name of the animation as defined by the md2 file-->
                          <node_id>close_up</node_id>
                          </behaviour>
                  </behaviours>
          </poi>
  </results>”;
  ?>


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.