Ubuntu LInux 8.10
Crystalspace 1.2.1
Nvidia driver version 177
I am trying to hard-code some animated 3d sprites into my map file, but they aren't showing up.
I am using the world map here:
http://community.crystalspace3d.org/tiki-read_article.php?articleId=10And the animated sprite here:
http://www.crystalspace3d.org/docs/online/manual-1.2/Sprite3D-Animation.html#0All together, my map reads like:
<world>
<plugins>
<plugin name="thing">crystalspace.mesh.loader.thing</plugin>
</plugins>
<textures>
<texture name="amethyst">
<file>amethyst.jpg</file>
</texture>
</textures>
<materials>
<material name="defaultWall">
<texture>amethyst</texture>
</material>
</materials>
<settings>
<clearzbuf>yes</clearzbuf>
<clearscreen>yes</clearscreen>
</settings>
<meshfact name="fact">
<plugin>crystalspace.mesh.loader.factory.sprite.3d</plugin>
<params>
<material>white</material>
<frame name="first">
<v x="0" y="0" z="0" u="0" v="0"/>
<v x="0" y="1" z="0" u="0" v="0"/>
<v x="1" y="0" z="0" u="0" v="0"/>
<v x="0" y="0" z="1" u="0" v="0"/>
</frame>
<frame name="second">
<v x="0" y="0" z="0" u="0" v="0"/>
<v x="0" y="1.2" z="0" u="0" v="0"/>
<v x="1.2" y="0" z="0" u="0" v="0"/>
<v x="0" y="0" z="1.2" u="0" v="0"/>
</frame>
<frame name="third">
<v x="0" y="0" z="0" u="0" v="0"/>
<v x="0" y="1.4" z="0" u="0" v="0"/>
<v x="1.4" y="0" z="0" u="0" v="0"/>
<v x="0" y="0" z="1.4" u="0" v="0"/>
</frame>
<frame name="fourth">
<v x="0" y="0" z="0" u="0" v="0"/>
<v x="0" y="1.2" z="0" u="0" v="0"/>
<v x="1.2" y="0" z="0" u="0" v="0"/>
<v x="0" y="0" z="1.2" u="0" v="0"/>
</frame>
<t t1="0" t2="1" t3="2"/>
<t t1="0" t2="3" t3="1"/>
<t t1="0" t2="2" t3="3"/>
<t t1="1" t2="3" t3="2"/>
<action name="default">
<f name="first" delay="200"/>
<f name="second" delay="200"/>
<f name="third" delay="200"/>
<f name="fourth" delay="200"/>
</action>
</params>
</meshfact>
<start name="Camera">
<sector>Scene</sector>
<position x="5" y="5" z="-5"/>
</start>
<sector name="Scene">
<light name="Lamp">
<center x="0" y="15" z="0"/>
<color red="1" green="1" blue="1"/>
<radius>30</radius>
</light>
<meshobj name="Room">
<plugin>thing</plugin>
<params>
<v x="10" y="0" z="10"/>
<v x="10" y="0" z="-10"/>
<v x="-10" y="0" z="-10"/>
<v x="-10" y="0" z="10"/>
<v x="10" y="20" z="10"/>
<v x="10" y="20" z="-10"/>
<v x="-10" y="20" z="-10"/>
<v x="-10" y="20" z="10"/>
<p>
<v>1</v>
<v>2</v>
<v>3</v>
<v>0</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>7</v>
<v>3</v>
<v>2</v>
<v>6</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>5</v>
<v>1</v>
<v>0</v>
<v>4</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>5</v>
<v>6</v>
<v>2</v>
<v>1</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>7</v>
<v>4</v>
<v>0</v>
<v>3</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
<p>
<v>4</v>
<v>7</v>
<v>6</v>
<v>5</v>
<material>defaultWall</material>
<texmap>
<uv idx="0" u="1" v="0"/>
<uv idx="1" u="1" v="1"/>
<uv idx="2" u="0" v="1"/>
</texmap>
</p>
</params>
</meshobj>
<meshobj name="test1">
<plugin>crystalspace.mesh.loader.sprite.3d</plugin>
<params>
<factory>fact</factory>
<action>default</action>
<tween />
</params>
<move>
<v x="0" y="0" z="5.0" />
</move>
<priority>object</priority>
<zuse />
</meshobj>
</sector>
</world>
No sprite shows up. The walls and everything look fine, and all the textures are there. The errors I get are the shader error that seems to plague people who use Debian/Ubuntu, and an error complaining about 4 degenerate faces on the object. "Thing" meshes show up fine, as do "Sprite" meshes when they are not animated. Any ideas? Is this tutorial old, and some new syntax has replaced the <frame> token or something?
Thank you!