I was just starting to play around with Three.JS but I am stuck at the beginning. When I add a light to the scene, it has no effect.
How to solve different FPS in requestAnimationFrame on different browsers? I am making a 3D game using THREE.js that uses requestAnimationFrame and it is fast on Google Chrome 15.
Some background: graphics newbie here, have just dipped my toes into the world of 3D in the browser with mrdoob\'s excellent three.js. I intend to go through all the tuts at http://learningwebgl.com/
I\'m trying to create a 3D terrain using WebGL. I have a jpg with the texture for the terrain, and another jpg with the height values (-1 to 1).
I would like to rotate then a plane created with THREE.PlaneGeometry, but I have some problems. What\'s the axis in front of the camera with FirstPersonCamera ?
The objects in this experiment are moving around randomly: http://deeplogic.info/project/webGL/ What is the best way of writing a box-box ray collision detection for t开发者_如何学Pythonhis using the
Or, to ask the same thing another way: For a given Z depth开发者_高级运维 in a 3D scene, I want the X and Y coordinates that will allow me to place an object just outside of the viewable area.
Is it possible to add a textured material to an object with a custom mesh in Three.js? Whenever I try exporting an object from Blender to Three.js with a texture on it, the object disappears. Looking
I\'m experimenting with WebGL and Three.js, But how to calculate the Z-Axis coordination while moving mouse?
I\'ve downloaded a sphere example from: http://aerotwist.com/lab/getting-started-with-three-js/ and I can see the nice red sphere. I\'d like to use a texture on it. I\'ve开发者_开发知识库 tried this: