Top "Three.js" questions

Three.

Transparent objects in Threejs

I am trying to write a small program in Three.js that displays two spheres, one inside the other. The …

three.js
How to find the unicode of the subscript alphabet?

I've found some letters but i need to find others such as "c", "m", "p", is this even possible?

javascript unicode three.js subscript
Dynamically create 2D text in three.js

I have 3D model which I have created in three.js. Based on some data, I want to create a …

javascript html three.js
How can I set the position of a mesh before I add it to the scene in three.js

In three.js, I want to add a mesh to a position in the scene I've tried: // mesh is a …

javascript three.js
How to move an object forward in Three.js?

Is there any way to move an object forward in Three.js? Maybe I should convert the rotation.x,y,…

javascript three.js
How to create a custom mesh on THREE.JS?

I've asked this and got the answer: var geom = new THREE.Geometry(); var v1 = new THREE.Vector3(0,0,0); var v2 = new …

javascript three.js
Three.js - Scale model with scale.set() or increase model size?

What is the best practise for scaling 3d models in Three.js (or other 3d renderers)? Here is an example …

javascript 3d three.js modeling
How to detect collision in three.js?

I am using three.js. I have two mesh geometries in my scene. If these geometries are intersected (or would …

javascript three.js webgl collision-detection
three.js - How can I dynamically change object's opacity?

This is my object: var object = new THREE.Mesh( geometry, new THREE.MeshLambertMaterial( { map: THREE.ImageUtils.loadTexture( "image.png" ) } ) ); object.…

javascript 3d three.js
Changing color of cube in three.js

I'm trying to change the color of a cube based on a variable. I created two cubes and I want …

colors three.js