I can at least say that "Cannot locate an appropriate 2D texture coordinate
set" error is pretty standard in many meshes, it is probably not the reason
why you are crashing.

Are you using some kind of prepackaged Tundra or did you build Tundra
yourself? What is your Tundra version on the window title? Have you
commented out for some reason dirextx from the renderer plugin list in
Ogres bin/plugins.cfg? Or fiddled with configs in some other way?

I cant recall skyx crashing for a long time, it was unstable a while back
though. Does a scene work if you only have skyx in it or does it only
happen when combining with avatar example?

Best regards,
Jonne Nauha
Adminotech developer


On Tue, Oct 2, 2012 at 12:29 PM, glenalec <glena...@exemail.com.au> wrote:

> I have whittled down my crashing to SkyX and the simpleavatar.js script
> from the Avatar example being present in my world at once.
> Pasted back the SkyX code to the scenes/Avatar/scene.txml example and got
> the same crash. ie: replace entity 6 in scenes/Avatar/scene.txml with:
>
>  <entity id="6" sync="1">
>   <component type="EC_Name" sync="1">
>    <attribute value="Environment" name="name"/>
>    <attribute value="" name="description"/>
>   </component>
>   <component type="EC_SkyX" sync="1">
>    <attribute value="1" name="Cloud type"/>
>    <attribute value="0.0500000007" name="Time multiplier"/>
>    <attribute value="22.5536804" name="Time [0-24]"/>
>    <attribute value="7.5" name="Time sunrise [0-24]"/>
>    <attribute value="20.5" name="Time sunset [0-24]"/>
>    <attribute value="50" name="Cloud coverage [0-100]"/>
>    <attribute value="50" name="Cloud average size [0-100]"/>
>    <attribute value="100" name="Cloud height"/>
>    <attribute value="93.9736633" name="Moon phase [0-100]"/>
>    <attribute value="9.75" name="Sun inner radius"/>
>    <attribute value="10.25" name="Sun outer radius"/>
>    <attribute value="0" name="Wind direction"/>
>    <attribute value="5" name="Wind speed"/>
>   </component>
>  </entity>
>
> And the client crashes on trying to create the avatar mesh.
>
> Starting the client from a command line, at crash is a bunch of lines of:
>
> Error: Failed to build tangents for mesh local://terrain.mesh: OGRE
> EXCEPTION(5:ItemIdentityException): Cannot locate an appropriate 2D texture
> coordinate set for all the vertex data in this mesh to create tangents
> from.  in Mesh::suggestTangentVectorBuildParams at
> /scratch/naali-deps/build/ogre-safe-nocrashes/OgreMain/src/OgreMesh.cpp
> (line 1379)
>
> For each mesh present in the world txml file.
>
> Replacing SkyX with EC_Sky and EC_EnvironmentLight in my txml also removes
> the crash condition.
>
> SkyX isn't critical, but I like it. Any ideas?
>
> Regards. GA
>
> --
> http://groups.google.com/group/realxtend
> http://www.realxtend.org

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Reply via email to