Re: 3D exporter coding stuffs
Posted: Thu Jun 30, 2011 5:51 am
Yeah, the geometry and texture coordinate information looks pretty simple.
Mesh cube23 { // name of the mesh
48; // number of 'vertex coordinate' lines which immediately follow
##.##; ##.##; ##.##;, // a vertex coord entry
...
...
;; // End of vertex coord list
50; // number of 'vertex index' lines which immediately follow
4; 46,44,45,47;, // a vertex index set describing a quad composed of vertexes 46, 44, 45, 47
...
There are some things in the file that are not immediately clear, though I found some XSI file format
info online. Maybe I can make sense of it. For example, what do the values in the MeshMaterialList
represent? Same for SI_Material, SI_Texture3D. This is the web page I was studying earlier; not sure
at this point how much useful information is there:
http://www.bz2md.com/fishdotxsi/xsi.htm#498052
Mesh cube23 { // name of the mesh
48; // number of 'vertex coordinate' lines which immediately follow
##.##; ##.##; ##.##;, // a vertex coord entry
...
...
;; // End of vertex coord list
50; // number of 'vertex index' lines which immediately follow
4; 46,44,45,47;, // a vertex index set describing a quad composed of vertexes 46, 44, 45, 47
...
There are some things in the file that are not immediately clear, though I found some XSI file format
info online. Maybe I can make sense of it. For example, what do the values in the MeshMaterialList
represent? Same for SI_Material, SI_Texture3D. This is the web page I was studying earlier; not sure
at this point how much useful information is there:
http://www.bz2md.com/fishdotxsi/xsi.htm#498052