Skip to content

Add Export Files Feature to Three.js DevTools Extension #2

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

Open
wants to merge 196 commits into
base: devtools
Choose a base branch
from

Conversation

RuthySheffi
Copy link
Owner

This pull request introduces an export files feature to the Three.js DevTools extension.

Key updates include:
Added export-handler logic to enable exporting scenes and assets directly from the DevTools panel.
Integrated new UI elements and icons for export actions.
Updated content script and panel logic to support export requests and communication.
Added devtools in utils to copy build files and GLTFExporter to the extension folder.
Updated the manifest for new permissions and features.
This feature streamlines the workflow for developers working with Three.js by making it easier to export and share assets during development.
Please review and let me know if any changes are needed!

mrdoob and others added 30 commits June 3, 2025 21:47
…ture assignment in the RenderTarget constructor. Now using the setter function again like in r174 and before to ensure renderTarget is properly linked to the texture (mrdoob#30921)

Co-authored-by: Attila Schroeder <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Add support for multiview

* support multi-pass with webxr multiview

* update fragment shader for multiview

* Clean up.

* Update XRManager.js

* address review comment for multiview rendering

* more cleanup + fixes for multiview

* fix webxr layers bug + enabled multiview in native layers sample

* Update WebGLTextureUtils.js

* Update RenderTarget.js

* remove test code

* fix reference space for non-layers path

---------

Co-authored-by: Mugen87 <[email protected]>
* Remove luminance from docs.

* Remove Luminance constants

* Update editor lines to remove Luminance references
* fix bvec operators

* Update OperatorNode.js

* revision

* rev

* rev
* fix `build()` return value

* add `webgpu_postprocessing_fxaa` unknown problem

* update description
… set (mrdoob#30877)

* ShadowNode: Inherit camera.layers only if shadow.layers is not set

* Fix layers check

* invert condition

* restore after render

* move array creation to module scope
* TSL: Add switch/case.

* StackNode: Support Case() sequence.

* StackNode: Refactor `Case()`.
* add expression support for `loop()` update

* Raymarching: update with new approach

* TSLEncoder: update with new approach

* rev

* rev
* LightsNode: Honor spotlight maps in cache key.

* LightsNode: Make spot light hash more robust.
* add `Stack()`

* rev

* rev
* BatchedMesh: fix copy function

* BatchedMesh: Update toJSON function

* BatchedMesh.toJSON: small cleanup

* ObjectLoader: Fix BatchedMesh support

* BatchedMesh.copy: Remove redundant field

* Object3D, ObjectLoader: adjust serialized definitions

* ObjectLoader: Copy over necessary info
sunag and others added 30 commits June 5, 2025 20:24
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Nodes: use `.global`

* introduce `namespace`

* update description

* use namespace to `material.positionNode`

* add `docs`
* optimize WebXR render path

* address review comments
* KTX2Loader: Support .setPath()

* KTX2Loader: Add compressed formats

* Examples: Organize KTX2 example in sections

* update examples, fix missing formats

* clean up

* clean up

* clean up

* remove unused textures

* remove ktx2 example from E2E :(
* CSMShadowNode: Fix toggle of `castShadow`.

* CSMShadowNode: Add comment.
* WebGLTextureUtils: Clean up.

* clean up

* fix eslint error

* Update WebGLTextureUtils.js

---------

Co-authored-by: Michael Herzog <[email protected]>
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.