Commit graph

48 commits

Author SHA1 Message Date
Gered 488b6a50b2 move file writing to the very end after all chunks have been populated, allowing errors to cancel out before any file writing is done 2012-12-22 18:16:00 -05:00
Gered 6a3f3af34f add support for the metadata ExtraGroupInfo data in ConvertToMeshFile 2012-12-22 18:07:31 -05:00
Gered 92aef2251e update Group chunk writing with the new fields 2012-12-22 18:07:06 -05:00
Gered 32c9c8e777 add alpha and texture fields to the Group chunk struct 2012-12-22 18:06:51 -05:00
Gered 872ffde4c0 remove ".animations" file support from Ms3d and add support for populating+writing an AnimationsChunk in ConvertToMeshFile from the passed metadata object 2012-12-22 17:47:52 -05:00
Gered 029a340f11 add Ms3d::FindIndexOfMesh 2012-12-22 17:43:06 -05:00
Gered 27bb350254 implement metadata file xml loading+parsing 2012-12-22 17:39:00 -05:00
Gered f525005abe add fields to ExtraGroupInfo allowing it to be used to specify an Ms3d group by index or name 2012-12-22 17:38:32 -05:00
Gered c9df81d7ae add main() processing to load a MetadataFile object and pass it to ConvertToMeshFile() 2012-12-22 16:29:22 -05:00
Gered e6aef5c0d5 fix #includes in MetadataFile header to avoid some compiler issues with the forward-declarations 2012-12-22 16:28:51 -05:00
Gered c1b14dc4aa add IsLoaded property to MetadataFile 2012-12-22 16:25:00 -05:00
Gered b4ac0d07d3 add stub MetadataFile class 2012-12-22 16:22:02 -05:00
Gered df0dd07cf5 change AnimationSequence to be a struct (for consistency with all the other POCO-type objects) 2012-12-22 16:15:28 -05:00
Gered 32db4b56f1 add ExtraGroupInfo struct to contain group info from a metadata file 2012-12-22 16:15:01 -05:00
Gered 8c7f07d797 clean up main() processing a bit in preparation for metadata loading 2012-12-22 16:04:01 -05:00
Gered fdcb7f459d add pugixml for XML parsing 2012-12-22 15:53:41 -05:00
Gered c3cea06a2d fix Keyframe size calculation 2012-12-21 19:02:07 -05:00
Gered cc141ac0ca Merge branch 'master' of https://bitbucket.org/gered/ms3dtomesh 2012-12-20 22:45:37 -05:00
Gered 3a3bd08972 fix to generate_makefile to allow execution via double-clicking in the OS X Finder 2012-12-20 22:45:21 -05:00
Gered 9611c9c80e fix #include path 2012-12-19 09:12:09 -05:00
Gered 70365b0775 update ConvertToMeshFile chunk object data population to use the UniqueVertexCollection object's data instead 2012-12-18 12:34:01 -05:00
Gered cc6fb19f4c remove normal and texcoord data from Triangle 2012-12-18 12:33:04 -05:00
Gered d89072b3d5 added code at the start of ConvertToMeshFile that populate a UniqueVertexCollection object from the source Ms3d object 2012-12-18 12:32:19 -05:00
Gered e5b39df0f4 added UniqueVertexCollection 2012-12-18 12:30:58 -05:00
Gered f183b15dd7 added UniqueVertex 2012-12-18 12:30:41 -05:00
Gered 8033c8056c add operator== to Vector2 2012-12-18 12:30:20 -05:00
Gered 195a289451 move animationsequence.h 2012-12-18 10:56:05 -05:00
Gered 0f32f72259 make generate_* scripts executable 2012-12-18 10:53:23 -05:00
Gered bcd9b3afdc use standard types in Ms3d structures/class for consistency and remove old Ms3d::ConvertToMesh method 2012-12-12 15:52:37 -05:00
Gered 903de59132 add generate_xcode script 2012-12-12 15:18:26 -05:00
Gered e51746243a rename generate_makefile script 2012-12-12 15:18:16 -05:00
Gered b2ded5c6ca fix incorrect/missing #includes 2012-12-12 15:17:07 -05:00
Gered 646cc690cc fix ReadString so fixed length strings don't have garbage at the end up to the max length specified 2012-12-12 15:16:33 -05:00
gered e3d515f34a add animation chunk exporting to ConvertToMeshFile() 2012-12-11 12:49:28 -05:00
gered 194fdb35c2 add Ms3d getters for animation sequence data 2012-12-11 12:47:06 -05:00
gered 288ea210d0 implement ConvertToMeshFile() 2012-12-11 12:44:22 -05:00
gered 1da913d143 fix incorrect chunk descriptor string 2012-12-11 12:41:34 -05:00
gered 55423f2a88 fix incorrect number of texcoords in Triangle struct 2012-12-11 11:29:47 -05:00
gered 2d3fdc98df update main() to use new ConvertToMeshFile function 2012-12-11 11:10:36 -05:00
gered 15fed2c5c3 add scale factor parameter to ConvertToMeshFile 2012-12-11 11:10:17 -05:00
gered c219755654 added stub function for writing and converting data from an Ms3d class to a new mesh file 2012-12-10 19:55:42 -05:00
gered 0d4179b297 made Ms3d getters const, and made Ms3d::FindIndexOfJoint a public method 2012-12-10 19:50:38 -05:00
gered 833202dc2d added chunk writing functions 2012-12-10 19:40:17 -05:00
gered 2404757ce7 added chunk structs for all possible types of chunks that can be written to the output mesh file 2012-12-10 19:01:09 -05:00
gered 0770dc01e4 added various missing structs to hold raw output mesh data to be written 2012-12-10 19:00:22 -05:00
gered b10c3cb2c4 added AnimationSequence struct 2012-12-10 18:59:36 -05:00
gered d1de2e1890 added common header 2012-12-10 18:59:15 -05:00
gered 3e28e22b6e initial commit (based on MeshConverter source) 2012-12-10 15:28:23 -05:00