three-stdlib icon indicating copy to clipboard operation
three-stdlib copied to clipboard

📚 Stand-alone library of threejs examples designed to run without transpilation in node & browser

Results 65 three-stdlib issues
Sort by recently updated
recently updated
newest added

Vendors the draco_encoder globals in `DRACOExporter`. https://github.com/google/draco or `draco3d` has an async signature, so we can't use it without changing the API.

Fixes #9 I've tracked down the used version of Ammo to either from https://github.com/mrdoob/three.js/commit/9e2cea0fd32dfbfb1a023aced06649cb48b6037c, so I've opted to use the more portable version.

We recently added the three `Timer` class by Mugen. After this @vanruesc made us aware that he has a modified version inside of pmndrs/postprocessing that can be [found here](https://github.com/pmndrs/postprocessing/blob/92b0cd7b6a69186e5ea7be3408ede9d87de50f8a/src/utils/Timer.ts). I'm...

enhancement

i use gltfpack to compression model and Texture ,so i use `useGLTF` to load it this is my code : ![image](https://github.com/pmndrs/three-stdlib/assets/82202033/98fd3100-e5f0-4a82-af37-d206f6d66ef5) but i got an error ![image](https://github.com/pmndrs/three-stdlib/assets/82202033/2ce23bbc-e934-4a96-8ec3-25cbd9e68b1d) Interestingly using the...

bug

### Describe the feature you'd like: This library's amazing. it's very helpful if can merge interleavedBuffer

enhancement

Use the const {GLTFLoader} = require('three-stdlib/loaders/gltfloader.cjs'); Package and export bug reports; use pkg package and use version "three-stdlib": "^2.30.3" bug:pkg.exe "F:\MSC-Three-Gltf-Reader\threejs\01-first threejs app\firstapp\public\model\MX75XWPLR20240415153225.glb" pkg/prelude/bootstrap.js:1872 throw error; ^ Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package...

bug

### Describe the feature you'd like: I want to display a spherical gizmo to make it easier to see the camera rotation, like the vanilla three.js example, but I don't...

enhancement

### Describe the feature you'd like: The target of AcballControl is set to private, but I want to read the value.

enhancement

- `three` version: ^0.164.1 - `@types/three` version: ^0.164.1 - `three-stdlib` version: ^2.30.1 ### Problem description: Many [public](https://github.com/mrdoob/three.js/blob/dev/examples/jsm/controls/ArcballControls.js#L1107) and [documented](https://threejs.org/docs/?q=arcball#examples/en/controls/ArcballControls.setMouseAction) methods on ArcballControls are marked [private](https://github.com/pmndrs/three-stdlib/blob/main/src/controls/ArcballControls.ts#L1487) in three-stdlib. ### Relevant code:...

bug