Archived
1
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
071aed6596 Export bone weights & bone ids for vertices
This currently pulls in glm as a dependency, will be added to the build
system soon.
2022-04-28 17:47:48 -04:00
c78a1ab245 Big refactoring commit pt. 2
Now instead of hammering your working directory, all operations happen
in-memory using two new classes, MemoryBuffer and MemorySpan. This has
already fixed numerous bugs especially around handling model files.

All operations on files inside dat's now happen on memory buffers, with
an option to write them to a file.

A lot of now useless debug messages are removed too, as that made
some operations needlessly bound by the speed of your console output.
2022-04-17 19:08:34 -04:00
88c43149dc Load normal data from model 2022-04-12 09:11:14 -04:00
f8835854a3 Output model as a real struct from parseMDL instead of into an obj file 2022-04-11 21:56:10 -04:00
2610de0f7f Add basic MDL parsing
This can read basic MDL files (no terrain, shadow, edge geometry, etc.)
and export them to OBJ. This will be expanded in future commits to let
you export this to an easily readable vertex/index list.

This code is mostly based off of xivModdingFramework/Lumina, and just
ported to C++. All of it will eventually be refactored as there is
duplicate structs EVERYWHERE.
2022-04-11 20:02:20 -04:00