![]() ![]() If that's not available, and you must write your own importer, then try to find a simple ASCII ( not XML-based) or binary format that fits your needs. When considering import/export, first try to find an open source library that can handle the import for you and make the data available to your program in a reasonable format. If you think that parsing XML is simple, then I hope you're planning on using existing libraries to do this, such as expat, Xerces, or some other language specific implementation. ![]() If anything is lacking from a potential file format, choose another one. triangle strips, individual triangles, etc), the vertices and normals for the geometry, the material properties used, and also the textures used along with the appropriate texture coordinates. This should include the geometry type (e.g. Any decent file format used by modeling programs (such as Blender or Sketchup) will include all information necessary to recreate the geometry you see. ![]()
0 Comments
Leave a Reply. |