-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial OpenCTM MG2 compression support (#821)
Implemented the features we actually use for MG2 encoded OpenCTM files. It doesn't work flawlessly with the way we reference ctm files from i3d files (at the moment). The colors are stored in the i3d file and dependent on the vertex ordering in the ctm file, which isn't preserved with MG2 compression. MG1 compressed ctm files with colors from i3d file:  MG2 compressed:  Even though it doesn't work that great with i3d, the parsing logic checks out. Making it work with colors is a large undertaking involving changing the i3d format, new finalize logic, and optimizer changes.
- Loading branch information
1 parent
eb330c2
commit 77c3ffc
Showing
4 changed files
with
338 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,6 @@ trim_trailing_whitespace = true | |
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.rs] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.