PnP TerrainCreator - Forum

The PnP TerrainCreator Forum
It is currently Fri Dec 15, 2017 4:19 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: problem to use exported ogre xml file
PostPosted: Tue Mar 01, 2011 5:34 pm 
Offline

Joined: Tue Mar 01, 2011 5:15 pm
Posts: 1
I am using OGRE for game development. I decide to use Terrain Creator to help design the terrain and export as scene xml so that i can use dot scene loader to load this in the game.
However, after I export
Code:
<scene formatVersion="1.0.0" author="PnP Terrain Creator">
    <nodes>
        <node placementType="object">
            <position x="4.181482" y="1500.371826" z="55.003357" />
            <quaternion qw="1.000000" qx="0.000000" qy="-0.000000" qz="0.000000" />
            <scale x="0.100000" y="0.100000" z="0.100000" />
            <entity name="1" meshfile="1.mesh" />
        </node>
        <node placementType="object">
            <position x="1.913906" y="1500.404053" z="55.002739" />
            <quaternion qw="1.000000" qx="0.000000" qy="-0.000000" qz="0.000000" />
            <scale x="0.100000" y="0.100000" z="0.100000" />
            <entity name="1" meshfile="1.mesh" />
        </node>
        <node placementType="tree">
            <position x="43.131680" y="1501.595337" z="15.967861" />
            <quaternion qw="-0.305623" qx="0.000000" qy="-0.952153" qz="-0.000000" />
            <scale x="0.130927" y="0.130927" z="0.130927" />
            <entity name="dec_autumn01" meshfile="dec_autumn01.mesh" />
        </node>
        <node placementType="tree">
            <position x="84.501297" y="1534.309814" z="-207.025269" />
            <quaternion qw="-0.094441" qx="0.000000" qy="-0.995530" qz="-0.000000" />
            <scale x="0.093821" y="0.093821" z="0.093821" />
            <entity name="dec_autumn01" meshfile="dec_autumn01.mesh" />
        </node>
        <node placementType="tree">
            <position x="186.840408" y="1504.688232" z="-172.150345" />
            <quaternion qw="-0.696228" qx="0.000000" qy="-0.717820" qz="-0.000000" />
            <scale x="0.129303" y="0.129303" z="0.129303" />
            <entity name="dec_autumn01" meshfile="dec_autumn01.mesh" />
        </node>
        <node placementType="tree">
            <position x="70.242950" y="1500.020020" z="-170.680038" />
            <quaternion qw="0.094060" qx="0.000000" qy="-0.995567" qz="0.000000" />
            <scale x="0.104920" y="0.104920" z="0.104920" />
            <entity name="dec_autumn01" meshfile="dec_autumn01.mesh" />
        </node>
        <node placementType="tree">
            <position x="105.936157" y="1500.590210" z="-141.244095" />
            <quaternion qw="-0.499695" qx="0.000000" qy="-0.866201" qz="-0.000000" />
            <scale x="0.096043" y="0.096043" z="0.096043" />
            <entity name="dec_autumn01" meshfile="dec_autumn01.mesh" />
        </node>
        <node placementType="tree">
            <position x="141.610992" y="1500.000000" z="-85.562485" />
            <quaternion qw="-0.272214" qx="0.000000" qy="-0.962237" qz="-0.000000" />
            <scale x="0.127909" y="0.127909" z="0.127909" />
            <entity name="dec_autumn01" meshfile="dec_autumn01.mesh" />
        </node>
    </nodes>
</scene>


I cant find the mesh file in my folder, the "dec_autumn01" is the tree sample I download in the web, but no .mesh is found in the folder..
how could I successfully use this xml to OGRE?
Can anyone help me :lol: :lol:


Top
 Profile  
 
 Post subject: Re: problem to use exported ogre xml file
PostPosted: Tue Apr 12, 2011 1:09 pm 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 892
Location: Braunschweig
Hi, welcome, and sorry for the late response. Somehow I missed this thread.
The current version of the Ogre XML exporter only generates the scene file and assumes that the user mesh files are converted by you manually. I have a version of the exporter which does this automatically, but I can unfortunately not release it before the next update of the program.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron