Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
0 answers
34 views

I can load GLTF files from a URL asynchronously. I want to do the same with drag/drop GLTF files

The code I am working on supports loading GLTF models from remote URLs. I made a small async function that also adds some meta data to the GLTF object which is used later. It works great. Now, I want ...
Molly Birk's user avatar
0 votes
0 answers
26 views

Add MorphTargets in the gltf file

I am searching for realistic Avatar 3D models for lipsync I found the models but in that model, there are no MorphTargets so I'm not able to do lipsync with that avatar. Manually I want to add it Can ...
kanan dave's user avatar
0 votes
0 answers
18 views

Parametric Relationships: Walls, Floor in THREEJS

Does anyone know how to create interactive walls in Three.js that automatically adjust when a connected wall is manipulated? I have a room modeled as a GLB file, comprising four walls and a floor. For ...
Oluwafisayo Adabs's user avatar
2 votes
1 answer
74 views

How to place object on top of other object in ThreeJS

I'm new to ThreeJS so apologies if this is a basic question. I have multiple GLTF files which I've loaded into my scene and I want to place one of the objects on top of the other object (but it can be ...
realhuman's user avatar
  • 313
0 votes
0 answers
24 views

imoprt glb file in react

Can anyone help me? The file sky.glb is not working in my project. but the another file work corectly import { useGLTF } from '@react-three/drei' import React from 'react' import skyScene from '../...
Christian1233's user avatar
0 votes
0 answers
55 views

Robot hand movement dynamics in three js

I am currently a JavaScript developer, and due to a project at my company, I need to learn Three.js and build a project involving robot hand movement. Despite extensive research, I am still confused ...
megha's user avatar
  • 1
0 votes
0 answers
33 views

Some models are broken after export to .glb

I'm trying to export an a-frame scene with some 3D models on it, the export works but the resulting glb file is not correct This is my a-frame scene: <a-scene id="scene" embedded renderer=...
Gabriel Henrique Fachini's user avatar
0 votes
1 answer
39 views

Increase the dimensions of the loaded gltf model in Three js

I loaded a 3d model with gltf extension using GLTFLoader in Three.js. const loader= new GLTFLoader(); //background box loader.load('../../assets/backgroundBox.gltf',function(gltf){ ...
Se00n00's user avatar
0 votes
1 answer
53 views

How should mesh data be distributed across accessors, bufferViews, buffers in a glTF file?

In the glTF format, mesh object positions go through three levels of indirection: mesh -> accessor -> bufferView -> buffer. How should mesh data be distributed across the accessors, ...
Don Hatch's user avatar
  • 5,263
0 votes
1 answer
31 views

How to rotate a group based on camaras orientation?

I am making a game where you have a sword that you can swing, the sword is in a group with an offset so it is positioned right. I am trying to make it so that when I press Z the sword swings down and ...
Blaze Branham's user avatar
0 votes
1 answer
58 views

how to put a Gltf Model in a group

I'm trying to put a loaded gltf model in a group with a cube. I have tried doing it normally, but the sword model doesn't move. I am fairly new to three.js as I am in 7th grade doing this on my own ...
Blaze Branham's user avatar
0 votes
0 answers
32 views

Why do I import the model in the three.js, it looks dark, but it looks normal on the gltf online website

I expected both of them to look the same here is my code async function loadSakuracar() { const loader = new GLTFLoader(); const sakuracarData = await loader.loadAsync( "/src/assets/...
朱胜文's user avatar
0 votes
0 answers
47 views

THREE.JS gltf model loading, but missing node data & areas of mesh?

I'm trying to load my donut model using Three.js gltf loader, and I'm perfectly able to add the model onto the canvas, however the model doesn't load with it's geometry node data (sprinkles), as well ...
HarrisLich's user avatar
0 votes
0 answers
83 views

Having "WebGL: INVALID_OPERATION: useProgram: program not valid" while importing 3D model on THREE.js

I'm try to import a 3D model with GLTFLoader in THREE.js, it work for me when I use models without animation in gltf file, but when I use model that contain animation in gltf file, the waning shows up ...
Julio's user avatar
  • 11
0 votes
0 answers
145 views

React Native Mapbox RNMBXModels.models.getter not implemented (Expo Project)

I'm trying to use 3D models in Mapbox, and for that I'm using the new ModelLayer component I installed the packages and ran the npx expo prebuild command to generate the native code I installed the ...
rodrigo4635's user avatar

15 30 50 per page
1
2 3 4 5
32