Topic: Empty Maratis mesh (need help-RESOLVED)

I have a character with clothes in Blender. The character has a jacket and some jeans.

I selected everything in Object Mode, and then i exported it as a maratis mesh. All meshes have textures and UV mapping, but only the character shows up in Maratis, and not the jacket and jeans.

Even when trying to export the jacket/jeans separately, I get a yellow bounding box in Maratis.

I have had this problem before, but I was able to fix it by applying a material in Blender. But this is different I think (Blender is so hard to diagnose).

Last edited by Tutorial Doctor (2013-10-05 18:39:38)

Re: Empty Maratis mesh (need help-RESOLVED)

Did you check the mesh file?

Re: Empty Maratis mesh (need help-RESOLVED)

com3D wrote:

Did you check the mesh file?

I believe I did, and found no line pointing to the maps for the jacket and pants. Let me check again.

Re: Empty Maratis mesh (need help-RESOLVED)

When something does not appear in the Editor, it's not in the .mesh file either. It's a problem of exporting IMHO.

Re: Empty Maratis mesh (need help-RESOLVED)

You're right 255, always export issue.
But by checking the materials and textures in the mesh file you can quickly identify the exporting issues and fix them.

Re: Empty Maratis mesh (need help-RESOLVED)

Once again same issue. This time it is an animated mesh and only the white ticks show up in Maratis.
First few lines of mesh file:

<Maratis>

<Mesh>

<Textures num="3">
    <Texture id="0">
        <image filename="..\maps\brown_eye.png" mipmap="1" />
        <mapMode value="1" />
        <tile u="repeat" v="repeat" />
        <translate x="0.000000" y="0.000000" />
        <scale x="1.000000" y="1.000000" />
        <rotate angle="0.000000" />
    </Texture>
    <Texture id="1">
        <image filename="..\maps\face.png" mipmap="1" />
        <mapMode value="1" />
        <tile u="repeat" v="repeat" />
        <translate x="0.000000" y="0.000000" />
        <scale x="1.000000" y="1.000000" />
        <rotate angle="0.000000" />
    </Texture>
    <Texture id="2">
        <image filename="..\maps\long_texture.png" mipmap="1" />
        <mapMode value="1" />
        <tile u="repeat" v="repeat" />
        <translate x="0.000000" y="0.000000" />
        <scale x="1.000000" y="1.000000" />
        <rotate angle="0.000000" />
    </Texture>
</Textures>

<Materials num="3">
    <Material id="0" type="1">
        <blend type="0" />
        <opacity value="0.000000" />
        <shininess value="5.000000" />
        <customValue value="0.000000" />
        <diffuseColor r="1.000000" g="1.000000" b="1.000000" />
        <specularColor r="0.021000" g="0.021000" b="0.021000" />
        <emitColor r="0.000000" g="0.000000" b="0.000000" />
        <customColor r="0.000000" g="0.000000" b="0.000000" />
        <TexturesPass num="1">
            <texturePass id="0" texture="0" mode="modulate" mapChannel="0" />
        </TexturesPass>
    </Material>
    <Material id="1" type="1">
        <blend type="0" />
        <opacity value="0.000000" />
        <shininess value="25.000000" />
        <customValue value="0.000000" />
        <diffuseColor r="1.000000" g="1.000000" b="1.000000" />
        <specularColor r="0.015000" g="0.015000" b="0.015000" />
        <emitColor r="0.000000" g="0.000000" b="0.000000" />
        <customColor r="0.000000" g="0.000000" b="0.000000" />
        <TexturesPass num="1">
            <texturePass id="0" texture="1" mode="modulate" mapChannel="0" />
        </TexturesPass>
    </Material>
    <Material id="2" type="1">
        <blend type="0" />
        <opacity value="0.000000" />
        <shininess value="1.000000" />
        <customValue value="0.000000" />
        <diffuseColor r="0.400000" g="0.130000" b="0.000000" />
        <specularColor r="0.000000" g="0.000000" b="0.000000" />
        <emitColor r="0.000000" g="0.000000" b="0.000000" />
        <customColor r="0.000000" g="0.000000" b="0.000000" />
        <TexturesPass num="1">
            <texturePass id="0" texture="2" mode="modulate" mapChannel="0" />
        </TexturesPass>
    </Material>
</Materials>

Re: Empty Maratis mesh (need help-RESOLVED)

Okay I fixed it! WOW! I saw that the opacity value in the file was 0 for whatever reason. Just changed it to 1 and PRESTO!!!