Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

414
Views
cargador gltf de threejs no definido

Quiero usar el cargador gltf. pero obtengo un error de gltf laoder no definido, quiero usar orbitcontrols y obtengo el mismo error que no están definidos.

 <script src="https://cdn.jsdelivr.net/npm/three@0.122.0/build/three.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/three@0.122.0/examples/js/controls/OrbitControls.min.js"></script> <script src="https://cdn.rawgit.com/mrdoob/three.js/master/examples/js/loaders/GLTFLoader.js"></script>

este soy yo tratando de importarlos todos.

 function loadGLTF() { let balloonLoader = new THREE.GLTFLoader(); balloonLoader.load('./model/esa.gltf', (gltf) => { Mesh = gltf.scene; Mesh.scale.set(0.2,0.2,0.2); scene.add(Mesh); Mesh.position.x = 0; Mesh.position.y = 10.5; Mesh.position.z = 17; }); }

así es como trato de usar gltf loader. ¿Qué está mal con el código, podrías decirme?

y aún mejor sería si alguien finalmente pudiera explicar cómo importar correctamente threejs.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!