In a 3D engine I'm working on I've succesfully managed to draw a cube in 3D. The only method to fill the sides is using either a solid color or gradient as far as I'm concerned. To make things more exciting, I'd really love to imple...
I am trying to  create a texture with Three.js.  My source of texture_f1 is a .png file witch means you can see the background through it.  The problem is that if i try to set background color: 0xffffff it doesn't work in combination with  map:....
I'm trying to map the UV-texture correctly, but failing...  I've got the next result in my app:    The result isn't that I was awaiting. I want to have the next described view:    The source code is here:  http://pastebin.com/aDg981Bk...
How to reverse the direction of applying texture in the object CylinderGeometry?  var obj = new THREE.Mesh(     new THREE.CylinderGeometry(20, 15, 1, 20),     new THREE.MeshLambertMaterial({color: 0x000000}) //the material is later changed to the cor...
I am trying to create a curve wall using some vertices array in three JS. What I will get in array is some base vertices in 2D which will be the bottom vertices of wall. These includes the center, lower and upper vertices which means it is two faced...
How can I make merged mesh from geometry to be textured in one peace instead of 3? In my sample code, the texture is done on each separated geometry (see image, point 1 and 2). Two Cubes and one Cylinder.   Code used:  scene = new THREE.Scene();  var...
I created a cube using the canvas renderer with r59 of Three.js. The cube has different textures on different sides. This renders okay. I can also TWEEN this cube's position and rotation, so it's fine.  Here's what I want to do: A) The cu...
I have a camera that takes round images that claim to represent a 235 degree filed of view, like this one:   I have some experience with threejs and have used it to correctly render 360x360 images stored as equirectangular projections - plenty of sam...
I'm opening a new question after editing this one: Three.js: object light & displacementMap  I have this ring:    The dark part is generated with this code:  var external = new THREE.CylinderBufferGeometry( 3.48, 3.48, 4, 800, 400, true, -1.1...
I am loading a texture from a different location but JSONLoader automatically loads texture from a directory. Is there an option to make JSONLoader skip its default texture loading?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.