Nicool
03-12-2003, 10:55 AM
Hello,
I just give an idea which need about for persons : someone who know maxscript, another one who know melscript (me), one on lightwave script, and one on softimage.
A lot of people ask how to get a mesh in an other software... So I think we can create our own 3d file format easly format. It will be an independant file format which support polygonal mesh at first.
My idea : create for each software a script to import and another one to export this new 3d file format.
§ Export : the mesh are made of face. Each face count some vertex. So create a script which write in a text file (fopen, fwrite, fclose functions) the XYZ vertex position which compose each face. Like this (quad polygon):
startFace
1 1 0
1 -1 0
-1 -1 0
-1 1 0
endFace
§Import : the script read the text file and rebuild aesly a face each time it's writen "startFace and stop at "endFace" and build the original mesh. Merge the vertex and the meesh is finished. Not a vertex is common to more than one face.
Reply me if you are interest by my project.
Note in the future we could had the UV, the material apply on a mesh (or face)
I just give an idea which need about for persons : someone who know maxscript, another one who know melscript (me), one on lightwave script, and one on softimage.
A lot of people ask how to get a mesh in an other software... So I think we can create our own 3d file format easly format. It will be an independant file format which support polygonal mesh at first.
My idea : create for each software a script to import and another one to export this new 3d file format.
§ Export : the mesh are made of face. Each face count some vertex. So create a script which write in a text file (fopen, fwrite, fclose functions) the XYZ vertex position which compose each face. Like this (quad polygon):
startFace
1 1 0
1 -1 0
-1 -1 0
-1 1 0
endFace
§Import : the script read the text file and rebuild aesly a face each time it's writen "startFace and stop at "endFace" and build the original mesh. Merge the vertex and the meesh is finished. Not a vertex is common to more than one face.
Reply me if you are interest by my project.
Note in the future we could had the UV, the material apply on a mesh (or face)
