Skip to content
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

USDZExporter: export from compressed texture data #23321 #27382

Merged
merged 6 commits into from Dec 15, 2023

Conversation

jeffbeene
Copy link
Contributor

@jeffbeene jeffbeene commented Dec 14, 2023

Related issue: #23321

Implement TextureUtils decompress function in USDZExporter, allowing export of compressed meshes and textures (e.g. draco + ktx2)

Based on work by @hybridherbst introduced here: 706e9cf

coffeemat_quicklook_ar

examples/files.json Outdated Show resolved Hide resolved
@@ -1,5 +1,6 @@
import * as THREE from 'three';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side note: It's not good that USDZExporter imports the entire core. Like all other modules, the exporter should only import what is actually required. This should be fixed with another PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, I'll plan on submitting a separate PR once/if this is merged.

@Mugen87 Mugen87 added this to the r160 milestone Dec 14, 2023
@Mugen87 Mugen87 merged commit 7f29595 into mrdoob:dev Dec 15, 2023
9 of 10 checks passed
jeffbeene added a commit to jeffbeene/three.js that referenced this pull request Dec 15, 2023
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
…b#27382)

* USDZExporter: export from compressed texture data mrdoob#23321

* add screenshot, update files.json

* Update USDZExporter.js

Clean up.

* remove usdz compressed example

* Update USDZExporter.js

---------

Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants