-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
Conversation
Clean up.
@@ -1,5 +1,6 @@ | |||
import * as THREE from 'three'; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
…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 <[email protected]>
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