close
Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of -2
0 answers
51 views

I am stumped. three.js refuses to release the geometry from memory (according to renderer.info.memory) despite no geometries being added to the Scene. I realise that a geometry gets added to memory ...
Score of 1
0 answers
79 views

I'm trying to learn Three.js and GSAP, and so far I read the docs and followed a YouTube video on how to rotate and bring a model down. However, it doesn't really follow what I want it to do and I'm ...
Best practices
0 votes
2 replies
55 views

My idea is to create with THREE.InstancedMesh a "pool" of Beams with a specific texture. Then use attributes to set colors (I'll have a TSL Fn in the colorNode of the material) I will then ...
Score of 1
1 answer
133 views

I have an octahedron whose vertices coordinates came from a computation. I build the object using a BufferGeometry and a MeshStandardMaterial (see the code below). The resulting object has 4 facets ...
Score of 4
1 answer
327 views

I'm trying to implement a three.js texture loader for the JPEG 360 format. For this purpose, it's really a JPEG image embedded in a nested set of "boxes", very similar to the structures used ...
Score of 2
1 answer
117 views

I have been trying to add specular color to my mesh. From what I understand (which could be wrong), it should add a tint to shiny/reflective areas of the surface. However, it does not seem to have any ...
Score of 2
1 answer
158 views

I am working with Vasco Asturiano’s incredible 3d-force-graph, and having trouble devising a proper switch command (or if/else statement) for the following: In the following MRE, you will see that ....
Advice
1 vote
5 replies
210 views

I’m building a real-time particle system (WebGL/Canvas-based), currently rendering different formations like swarms, explosions, and a Saturn-like ring. Right now, my “Saturn” effect is essentially a ...
Score of 1
1 answer
83 views

I'm trying to set up a very basic scene and load one obj into it. However, I keep getting this error: Uncaught TypeError: The specifier “three” was a bare specifier, but was not remapped to anything. ...
Score of 1
1 answer
217 views

I am working on Vasturiano’s (mindblowing, spell-binding) 3d-force-graph, and having trouble combining (and separating) three seemingly very simple elements: a sprite, an image, and image text. In ...
Tooling
0 votes
1 replies
111 views

I am building a basic 3D structure simulation app using Three.js and OrbitControls. Currently, I have a simple scene with a 3D pillar and a grid helper. The code works, but I have a few concerns ...
Score of 2
1 answer
106 views

I'm trying to create an infinite loop of objects which are moving vertically up. The objects are grids, or walls. I plan to delete the wall as soon it goes off the camera, and then create a new wall. ...
Score of 0
0 answers
100 views

I made a example, here’s the link to it - https://stackblitz.com/edit/vitejs-vite-cve3gcbr?file=package.json&terminal=dev I tried to do this because it’s needed for this mockup. Here’s the link to ...
Score of 0
0 answers
72 views

I am unable to get a MeshPhysicalMaterial to dispose correctly. Below is a full example which shows the problem. In the example I am using MeshPhysicalMaterial for some Mesh's in a Scene, then after 2 ...
Score of 0
2 answers
161 views

I've got javascript libraries that I'm importing and some of them refer to three.js as "THREE" and others refer to three.js as "three". I dropped in an importmap to try to clear ...

15 30 50 per page
1
2 3 4 5
1393