Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


OGREMAX exporter .scene file problem (.mesh files scattered around)


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 lucky6969b   Members   -  Reputation: 636

Like
0Likes
Like

Posted 10 October 2012 - 02:56 AM

When I export a scene from max using OGREMax exporter, there is a .scene file generated, but there are some .mesh files scattered around the folder along with the .scene file. How do I make it one chunk as a single .scene file?

It happens when I open the viewer. Here comes the log.
Thanks
Jack



17:25:58: Mesh: Loading Ground.mesh.
17:25:58: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Ground.mesh in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 756)
17:25:59: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource D:\Garfield\Documents\3dsMax\export\Warehouse\Warehouse.scene.lua in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 756)

Thanks
Jack

Edited by lucky6969b, 10 October 2012 - 03:31 AM.


Sponsor:

#2 lucky6969b   Members   -  Reputation: 636

Like
0Likes
Like

Posted 10 October 2012 - 04:09 AM

Warehouse.scene
<scene formatVersion="1.0" upAxis="y" unitsPerMeter="39.3701" minOgreVersion="1.8" ogreMaxVersion="2.4.3" author="OgreMax Scene Exporter (www.ogremax.com)" application="3DS Max">
    <environment>
        <colourAmbient r="0.333333" g="0.333333" b="0.333333" />
        <colourBackground r="0" g="0" b="0" />
        <clipping near="0" far="100000" />
    </environment>
    <nodes>
        <node name="Camera01">
            <position x="225.37" y="188.966" z="131.313" />
            <scale x="1" y="1" z="1" />
            <rotation qx="0.374283" qy="0.448998" qz="-0.214785" qw="0.782419" />
            <camera name="Camera01" fov="0.609785">
                <rotation qx="-0.707107" qy="-0" qz="-0" qw="0.707107" />
                <clipping near="1" far="1000" />
            </camera>
            <trackTarget nodeName="Camera01.Target">
                <localDirection x="0" y="-1" z="0" />
            </trackTarget>
        </node>
        <node name="Camera01.Target">
            <position x="1.22194" y="-20.2945" z="0.328042" />
            <scale x="1" y="1" z="1" />
            <rotation qx="0" qy="0" qz="0" qw="1" />
        </node>
        <node name="Warehouse">
            <position x="-7.62939e-006" y="3.8979e-014" z="8.91735e-007" />
            <scale x="1" y="1" z="1" />
            <rotation qx="0" qy="0" qz="0" qw="1" />
            <node name="Box164">
                <position x="54.4495" y="5.88168" z="-49.2825" />
                <scale x="1" y="1" z="1" />
                <rotation qx="0" qy="0" qz="0" qw="1" />
                <entity name="Box164" castShadows="true" receiveShadows="true" meshFile="Box164.mesh">
                    <subentities>
                        <subentity index="0" materialName="6-Default" />
                    </subentities>
                </entity>
            </node>
//...//
            <node name="Ground">
                <position x="6.15098" y="-19.5308" z="0.18364" />
                <scale x="1" y="1" z="1" />
                <rotation qx="0" qy="0" qz="0" qw="1" />
                <entity name="Ground" castShadows="true" receiveShadows="true" meshFile="Ground.mesh">
                    <subentities>
                        <subentity index="0" materialName="13-Default" />
                    </subentities>
                </entity>
            </node>
        </node>
        <node name="Camera002">
            <position x="3.60934" y="1.45214e-005" z="332.211" />
            <scale x="1" y="1" z="1" />
            <rotation qx="0.707107" qy="0" qz="0" qw="0.707107" />
            <camera name="Camera002" fov="0.609785">
                <rotation qx="-0.707107" qy="-0" qz="-0" qw="0.707107" />
                <clipping near="1" far="1000" />
            </camera>
            <trackTarget nodeName="Camera002.Target">
                <localDirection x="0" y="-1" z="0" />
            </trackTarget>
        </node>
        <node name="Camera002.Target">
            <position x="3.60934" y="-4.35258e-006" z="-99.5754" />
            <scale x="1" y="1" z="1" />
            <rotation qx="0" qy="0" qz="0" qw="1" />
        </node>
        <node name="Camera003">
            <position x="1.91083" y="335.176" z="0" />
            <scale x="1" y="1" z="1" />
            <rotation qx="0.00375437" qy="0.707095" qz="-0.00375439" qw="0.707098" />
            <camera name="Camera003" fov="0.609785">
                <rotation qx="-0.707107" qy="-0" qz="-0" qw="0.707107" />
                <clipping near="1" far="1000" />
            </camera>
            <trackTarget nodeName="Camera003.Target">
                <localDirection x="0" y="-1" z="0" />
            </trackTarget>
        </node>
        <node name="Camera003.Target">
            <position x="-2.76008" y="-104.671" z="0" />
            <scale x="1" y="1" z="1" />
            <rotation qx="0.707107" qy="0" qz="0" qw="0.707107" />
        </node>
        <node name="CounterBalance001">
            <position x="-61.1024" y="-10.6057" z="-37.6823" />
            <scale x="1" y="1" z="1" />
            <rotation qx="0" qy="0" qz="0" qw="1" />
        </node>
    </nodes>
</scene>

Ground.mesh
<mesh>

    <submeshes>
        <submesh material="13-Default" usesharedvertices="false" use32bitindexes="false" operationtype="triangle_list">
            <faces count="12">
                <face v1="0" v2="1" v3="2" />
                <face v1="3" v2="4" v3="5" />
                <face v1="6" v2="7" v3="8" />
                <face v1="9" v2="10" v3="11" />
                <face v1="12" v2="13" v3="14" />
                <face v1="15" v2="16" v3="17" />
                <face v1="18" v2="19" v3="20" />
                <face v1="21" v2="22" v3="23" />
                <face v1="24" v2="25" v3="26" />
                <face v1="27" v2="28" v3="29" />
                <face v1="30" v2="31" v3="32" />
                <face v1="33" v2="34" v3="35" />
            </faces>
            <geometry vertexcount="36">
                <vertexbuffer positions="true" normals="true" texture_coord_dimensions_0="2" texture_coords="1">
                    <vertex>
                        <position x="-82.0601" y="0" z="73.6621" />
                        <normal x="0" y="1" z="0" />
                        <texcoord u="1" v="1" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="0" z="73.6621" />
                        <normal x="0" y="1" z="0" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="0" z="-73.6621" />
                        <normal x="0" y="1" z="0" />
                        <texcoord u="0" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="0" z="-73.6621" />
                        <normal x="0" y="1" z="0" />
                        <texcoord u="0" v="0" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="0" z="-73.6621" />
                        <normal x="0" y="1" z="0" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="0" z="73.6621" />
                        <normal x="0" y="1" z="0" />
                        <texcoord u="1" v="1" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="-0.738189" z="73.6621" />
                        <normal x="0" y="-1" z="0" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="-0.738189" z="-73.6621" />
                        <normal x="0" y="-1" z="0" />
                        <texcoord u="0" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="-0.738189" z="-73.6621" />
                        <normal x="0" y="-1" z="0" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="-0.738189" z="-73.6621" />
                        <normal x="0" y="-1" z="0" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="-0.738189" z="73.6621" />
                        <normal x="0" y="-1" z="0" />
                        <texcoord u="1" v="1" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="-0.738189" z="73.6621" />
                        <normal x="0" y="-1" z="0" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="0" z="73.6621" />
                        <normal x="0" y="0" z="1" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="-0.738189" z="73.6621" />
                        <normal x="0" y="0" z="1" />
                        <texcoord u="0" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="-0.738189" z="73.6621" />
                        <normal x="0" y="0" z="1" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="-0.738189" z="73.6621" />
                        <normal x="0" y="0" z="1" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="0" z="73.6621" />
                        <normal x="0" y="0" z="1" />
                        <texcoord u="1" v="1" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="0" z="73.6621" />
                        <normal x="0" y="0" z="1" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="0" z="73.6621" />
                        <normal x="1" y="0" z="0" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="-0.738189" z="73.6621" />
                        <normal x="1" y="0" z="0" />
                        <texcoord u="0" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="-0.738189" z="-73.6621" />
                        <normal x="1" y="0" z="0" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="-0.738189" z="-73.6621" />
                        <normal x="1" y="0" z="0" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="0" z="-73.6621" />
                        <normal x="1" y="0" z="0" />
                        <texcoord u="1" v="1" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="0" z="73.6621" />
                        <normal x="1" y="0" z="0" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="0" z="-73.6621" />
                        <normal x="0" y="0" z="-1" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="-0.738189" z="-73.6621" />
                        <normal x="0" y="0" z="-1" />
                        <texcoord u="0" v="0" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="-0.738189" z="-73.6621" />
                        <normal x="0" y="0" z="-1" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="-0.738189" z="-73.6621" />
                        <normal x="0" y="0" z="-1" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="0" z="-73.6621" />
                        <normal x="0" y="0" z="-1" />
                        <texcoord u="1" v="1" />
                    </vertex>
                    <vertex>
                        <position x="82.0601" y="0" z="-73.6621" />
                        <normal x="0" y="0" z="-1" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="0" z="-73.6621" />
                        <normal x="-1" y="0" z="0" />
                        <texcoord u="0" v="1" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="-0.738189" z="-73.6621" />
                        <normal x="-1" y="0" z="0" />
                        <texcoord u="0" v="0" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="-0.738189" z="73.6621" />
                        <normal x="-1" y="0" z="0" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="-0.738189" z="73.6621" />
                        <normal x="-1" y="0" z="0" />
                        <texcoord u="1" v="0" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="0" z="73.6621" />
                        <normal x="-1" y="0" z="0" />
                        <texcoord u="1" v="1" />
                    </vertex>
                    <vertex>
                        <position x="-82.0601" y="0" z="-73.6621" />
                        <normal x="-1" y="0" z="0" />
                        <texcoord u="0" v="1" />
                    </vertex>
                </vertexbuffer>
            </geometry>
        </submesh>
    </submeshes>
    <submeshnames>
        <submeshname name="submesh0" index="0" />
    </submeshnames>
</mesh>

Edited by lucky6969b, 10 October 2012 - 04:19 AM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS