Below is my piece of code which loads a mesh onto the object. At the moment its traversing through the entire thing.   Current code:  var loader = new THREE.GLTFLoader();             loader.load( '../gtf/Box.gltf', function ( gltf ) {...
Hey guys I have been trying to do this for a few weeks, Trying to find out how on my own, But I have failed over and over, With little progress.  So if anyone can help me, I will be very thankful.  In advance thank you....
I'm still pretty new at Three.JS, I'm pretty happy where I have gotten so far, but just need some help.   I have an GLTF object loaded into the scene, I want to be able to load different textures onto the object on the website by the user sel...
QUESTION:  After converting my FBX file to a .gltf, the model is incredibly small, why ?  I tried scaling the model with frontObject.scale.set( 1000, 1000, 1000 ); but I get the following error:  TypeError: Cannot read property 'set' of undef...
How move a gltf model in threejs indipendently from the scene defined?  In my code I have updated an gltf model and I tried to move it using KeyboardState.js. The control used is OrbitControl.js.  KeyboardState.js : https://searchcode.com/codesearch/...
QUESTION:  I have a specular/glossiness texture image for a model which is not yet being used by the GLTF model.  How can I use/add the texture to my model so that it is reflective/glossy where it should be ?  I don't know what to change inside t...
I am testing a-frame and trying to load other glTF file(s) that not the examples provided in the tutorial. I have downloaded a couple of glTF packs files from Sketchfab and they don't seem to load.  It works if I use aframes given link to file:...
I am trying to upload a gLTF file using three.js but it is not working for me. I've been getting errors that I fixed doing a little research but still I have a black screen. One of the fixes was to add this to my chrome target directory  ‘path...
UPDATE: In the interest of clarity I have made a fiddle, using two pre-exsisting fiddles that produces the same problem.   Desired result: I would like the imported object to be targetable in the same way that 'cube' is.   Here is the scroll...
I’m trying to open a Draco compressed glb file(compressed using gltf-pipeline) in my THREE Viewer hosted on my site using the latest THREE.DRACOLoader and the draco decoders. Getting the following error. Can someone help me out?  Uncaught (in promi...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.