-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Write directly to GLB from TGeometries #6404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
55160da
Initial implementation of glb2 export for tgeometry
errissa b7f792d
Add primitive type to prevent exporter crash
errissa 9cb2935
Add normals and uvs to scene for export
errissa 351482f
Save per-vertex color
errissa 56f906a
Get uv coords working correctly
errissa 0db18c4
Remove debug printout
errissa b2b9c6c
Style fixes
errissa a96da32
Skeleton of doing materials
errissa de84c1f
Address review comments
errissa 21dbc5a
Ignore models when setting point and line sizes
errissa 02486b1
Export base material properties
errissa 05a7a64
Import clear coat using new Assimp key as backup
errissa ce47a25
Fix bug importing clear coat roughness
errissa 02266d8
Remove properties not supported for export
errissa 4222b1b
Add function to encode image to PNG in memory
errissa d0c5fe7
Support assimp's PBR BASE_COLOR map
errissa 8da0f81
Add write png to memory function
errissa a0c4a8c
Apply style
errissa 146288d
Complete export of texture maps
errissa 2aea50b
Warn if mesh has triangle normals or colors
errissa f9937f8
Make sure Tensors are contiguous before memcpy from them
errissa 6251a71
Swap order of operations to eliminate Tensor copy
errissa 007348a
Make static to avoid symbol leakage
errissa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.