Jump to content
  • Advertisement
Sign in to follow this  
lucky6969b

Did I do my exportation right?

This topic is 581 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[attachment=35833:no texture coords.jpg]

 

On my export out, I get this....

xof 0303txt 0032
template ColorRGBA {
 <35ff44e0-6c7c-11cf-8f52-0040333594a3>
 FLOAT red;
 FLOAT green;
 FLOAT blue;
 FLOAT alpha;
}

template ColorRGB {
 <d3e16e81-7835-11cf-8f52-0040333594a3>
 FLOAT red;
 FLOAT green;
 FLOAT blue;
}

template Material {
 <3d82ab4d-62da-11cf-ab39-0020af71e433>
 ColorRGBA faceColor;
 FLOAT power;
 ColorRGB specularColor;
 ColorRGB emissiveColor;
 [...]
}

template TextureFilename {
 <a42790e1-7810-11cf-8f52-0040333594a3>
 STRING filename;
}

template Frame {
 <3d82ab46-62da-11cf-ab39-0020af71e433>
 [...]
}

template Matrix4x4 {
 <f6f23f45-7686-11cf-8f52-0040333594a3>
 array FLOAT matrix[16];
}

template FrameTransformMatrix {
 <f6f23f41-7686-11cf-8f52-0040333594a3>
 Matrix4x4 frameMatrix;
}

template Vector {
 <3d82ab5e-62da-11cf-ab39-0020af71e433>
 FLOAT x;
 FLOAT y;
 FLOAT z;
}

template MeshFace {
 <3d82ab5f-62da-11cf-ab39-0020af71e433>
 DWORD nFaceVertexIndices;
 array DWORD faceVertexIndices[nFaceVertexIndices];
}

template Mesh {
 <3d82ab44-62da-11cf-ab39-0020af71e433>
 DWORD nVertices;
 array Vector vertices[nVertices];
 DWORD nFaces;
 array MeshFace faces[nFaces];
 [...]
}

template MeshMaterialList {
 <f6f23f42-7686-11cf-8f52-0040333594a3>
 DWORD nMaterials;
 DWORD nFaceIndexes;
 array DWORD faceIndexes[nFaceIndexes];
 [Material <3d82ab4d-62da-11cf-ab39-0020af71e433>]
}

template VertexElement {
 <f752461c-1e23-48f6-b9f8-8350850f336f>
 DWORD Type;
 DWORD Method;
 DWORD Usage;
 DWORD UsageIndex;
}

template DeclData {
 <bf22e553-292c-4781-9fea-62bd554bdd93>
 DWORD nElements;
 array VertexElement Elements[nElements];
 DWORD nDWords;
 array DWORD data[nDWords];
}


Material _01_-_Default {
 1.000000;1.000000;1.000000;1.000000;;
 9.999999;
 0.000000;0.000000;0.000000;;
 0.000000;0.000000;0.000000;;

 TextureFilename {
  "p1.jpg";
 }
}

Frame SceneRoot {
 

 FrameTransformMatrix {
  1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;
 }

 Frame Pallet {
 

  FrameTransformMatrix {
   0.742813,0.000000,0.000000,0.000000,0.000000,0.735100,0.000000,0.000000,0.000000,0.000000,0.742813,0.000000,0.000000,0.000000,-0.000000,1.000000;;
  }

  Frame Box001 {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;
   }

   Mesh Box001 {
    24;
    -1.000000;0.000000;-1.000000;,
    1.000000;0.000000;1.000000;,
    -1.000000;0.000000;1.000000;,
    1.000000;0.000000;-1.000000;,
    -1.000000;2.020000;-1.000000;,
    1.000000;2.020000;1.000000;,
    1.000000;2.020000;-1.000000;,
    -1.000000;2.020000;1.000000;,
    -1.000000;0.000000;-1.000000;,
    1.000000;2.020000;-1.000000;,
    1.000000;0.000000;-1.000000;,
    -1.000000;2.020000;-1.000000;,
    1.000000;0.000000;-1.000000;,
    1.000000;2.020000;1.000000;,
    1.000000;0.000000;1.000000;,
    1.000000;2.020000;-1.000000;,
    1.000000;0.000000;1.000000;,
    -1.000000;2.020000;1.000000;,
    -1.000000;0.000000;1.000000;,
    1.000000;2.020000;1.000000;,
    -1.000000;0.000000;1.000000;,
    -1.000000;2.020000;-1.000000;,
    -1.000000;0.000000;-1.000000;,
    -1.000000;2.020000;1.000000;;
    12;
    3;0,1,2;,
    3;1,0,3;,
    3;4,5,6;,
    3;5,4,7;,
    3;8,9,10;,
    3;9,8,11;,
    3;12,13,14;,
    3;13,12,15;,
    3;16,17,18;,
    3;17,16,19;,
    3;20,21,22;,
    3;21,20,23;;

    MeshMaterialList {
     1;
     12;
     0,
     0,
     0,
     0,
     0,
     0,
     0,
     0,
     0,
     0,
     0,
     0;
     { _01_-_Default }
    }

    DeclData {
     2;
     2;0;3;0;,
     1;0;5;0;;
     120;
     0,
     3212836864,
     0,
     1065353216,
     1065353216,
     0,
     3212836864,
     0,
     0,
     0,
     0,
     3212836864,
     0,
     1065353216,
     0,
     0,
     3212836864,
     0,
     0,
     1065353216,
     0,
     1065353216,
     0,
     0,
     1065353216,
     0,
     1065353216,
     0,
     1065353216,
     0,
     0,
     1065353216,
     0,
     1065353216,
     1065353216,
     0,
     1065353216,
     0,
     0,
     0,
     0,
     0,
     3212836864,
     0,
     1065353216,
     0,
     0,
     3212836864,
     1065353216,
     0,
     0,
     0,
     3212836864,
     1065353216,
     1065353216,
     0,
     0,
     3212836864,
     0,
     0,
     1065353216,
     0,
     0,
     0,
     1065353216,
     1065353216,
     0,
     0,
     1065353216,
     0,
     1065353216,
     0,
     0,
     1065353216,
     1065353216,
     1065353216,
     0,
     0,
     0,
     0,
     0,
     0,
     1065353216,
     0,
     1065353216,
     0,
     0,
     1065353216,
     1065353216,
     0,
     0,
     0,
     1065353216,
     1065353216,
     1065353216,
     0,
     0,
     1065353216,
     0,
     0,
     3212836864,
     0,
     0,
     0,
     1065353216,
     3212836864,
     0,
     0,
     1065353216,
     0,
     3212836864,
     0,
     0,
     1065353216,
     1065353216,
     3212836864,
     0,
     0,
     0,
     0;
    }
   }
  }

  Frame LeftLowOut {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,-1.000000,0.000000,1.000000,1.000000;;
   }
  }

  Frame MidLowOut {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,1.000000,1.000000;;
   }
  }

  Frame RightLowOut {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,1.000000,0.000000,1.000000,1.000000;;
   }
  }

  Frame LeftLowMid {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,-1.000000,0.000000,0.000000,1.000000;;
   }
  }

  Frame RightLowMid {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,1.000000,0.000000,0.000000,1.000000;;
   }
  }

  Frame LeftLowOut_ {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,-1.000000,0.000000,-1.000000,1.000000;;
   }
  }

  Frame MidLowIn {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,-1.000000,1.000000;;
   }
  }

  Frame RightLowIn {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,1.000000,0.000000,-1.000000,1.000000;;
   }
  }

  Frame LeftUpOut {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,-1.000000,2.020000,1.000000,1.000000;;
   }
  }

  Frame MidUpOut {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,2.020000,1.000000,1.000000;;
   }
  }

  Frame RightUpOut {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,1.000000,2.020000,1.000000,1.000000;;
   }
  }

  Frame LeftUpMid {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,-1.000000,2.020000,0.000000,1.000000;;
   }
  }

  Frame MidUpMid {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,2.020000,0.000000,1.000000;;
   }
  }

  Frame RightUpMid {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,1.000000,2.020000,0.000000,1.000000;;
   }
  }

  Frame LeftUpIn {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,-1.000000,2.020000,-1.000000,1.000000;;
   }
  }

  Frame MidUpMid_ {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,2.020000,-1.000000,1.000000;;
   }
  }

  Frame RightUpIn {
   

   FrameTransformMatrix {
    1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,1.000000,2.020000,-1.000000,1.000000;;
   }
  }
 }
}

I wrote my assimp importer, but the mesh came out as nothing but a patch of blackness.

I setup lights for them already...

Just without textures, everything okay.

So it must be the textures

Thanks

Jack

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!