three.js
Adding light to scene has no effect
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.[详细]
2023-04-12 06:41 分类:问答How to solve different FPS in requestAnimationFrame on different browsers?
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.[详细]
2023-04-11 02:47 分类:问答Displaying multiple frames of a video element simultaneously
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/[详细]
2023-04-10 23:23 分类:问答WebGL - Textured terrain with heightmap
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).[详细]
2023-04-10 14:26 分类:问答Rotate, then translate in three.js
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 ?[详细]
2023-04-08 17:34 分类:问答What is the best way of writing box-box ray collision detection in three.js?
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[详细]
2023-04-08 13:05 分类:问答For a given Z depth, how do I find the rectangle of the viewable area?
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.[详细]
2023-04-04 17:44 分类:问答Three.js custom textured meshes
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[详细]
2023-03-29 22:19 分类:问答Z-Axis Coordination in WebGL and Three.js
I\'m experimenting with WebGL and Three.js, But how to calculate the Z-Axis coordination while moving mouse?[详细]
2023-03-29 07:09 分类:问答How do I use texture on a sphere in three.js
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:[详细]
2023-03-25 20:02 分类:问答