After importing a collada model into three.js, some of the model's faces are only visible from the inside of the model and not from the outside.  How can I fix the problem with the faces in question?  Is it possible to have the model's faces...
My objects are moving on the XZ axis through drag and drop.  Unfortunately  the collada files doesn't act like them...  Here is my code:  var container; var camera, controls, scene, renderer; var objects = [], plane;  var raycaster = new THREE.Ra...
I tried this:  dae.castShadow = true; dae.receiveShadow = true; scene.add(dae);  //spotLight is defined already. spotLight.castShadow = true;  renderer.shadowMapEnabled = true;   But the model still does not have shadows? Did I do anything wrong? Ple...
I am loading an animated .dae file, and I've used the 'onProgress' argument to see it's loading progress. The file loads to 74% in 2 seconds, but then the whole page is paused for 23 more seconds before the model actually loads (and a...
Is there any way to load an animated .x model in Three.js? I have no idea, how to do it. In addition, I tried to convert the .x model to collada, but I haven't found any free program, wich can convert animated .x to collada.  I hope, you can help...
I'm trying to use ThreeJS to load collada files and I've copied the code in their demos section. It seems to load .dae files fine, even if they have textures in other files. Unfortunately I need to have a single file loaded which contains tex...
Is there a way to replace all textures in a simple 3D model imported via Collada loader in the Three.js library?  What I'd like to accomplish is to apply colour, specular and normal maps to the model via ShaderMaterial by pointing to new files wi...
I copied the exact (working) colladaLoader code from three.js on github, and put it on disk and sorted the dependancies. but instead of the monster.dae,  I get a "Uncaught TypeError: Cannot set property 'convertUpAxis' of undefined" H...
I am using the following code to implement WebGL viewer:              var scene = new THREE.Scene();                     var camera = new THREE.PerspectiveCamera(100, window.innerWidth / window.innerHeight, 0.1, 1000);                     var rendere...
I am working on a 3D model of a building using Three.JS and Collada loader.  I'm improving my system interactivity, but I have two main issues:  1- When I rotate the model in the scene, it rotates in 3 axis and it makes it upside down! I want to...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.