Questions tagged [gltf]

The GL Transmission Format (glTF) is a runtime asset delivery format for GL APIs: WebGL, OpenGL ES, and OpenGL. glTF bridges the gap between 3D content creation tools and modern GL applications by providing an efficient, extensible, interoperable format for the transmission and loading of 3D content.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Three JS : Cannot load a high detailed 3D Model

As a non-specialist designer, I don't precisely know every technical specification of 3D environnement, for work purpose we tried various experiment with importing glTF assets. On Three JS we used the ...
Heolu's user avatar
  • 1
0 votes
1 answer
19 views

threejs: GLTF Model and Textures loaded, but model not showing up

I learned how to use three.js, but now im stuck. I uploaded my model to the server, and it gets loaded fine, but it won't show up in the three.js window. I added a light and the model, and in the ...
Skyflamme's user avatar
0 votes
0 answers
19 views

Animated gltf models disappear when camera gets close using aframe with three.js

I've animated rigged models in blender, and exported them as gltf with embedded materials to use for AR in aframe. They work fine, except they will disappear when they come into close proximity of the ...
mundanomax's user avatar
0 votes
1 answer
15 views

React three FBX to GLB very dark shader

I updated my code to load glb instead of fbx. Now my model is very dark. The shaders are added programmatically. So they are the same. It went from this: to this: Here is my code: App.js: <Canvas ...
tinytree's user avatar
  • 1,009
0 votes
0 answers
8 views

Is there a solution to upload 3D glTF model on website server to get individual link to send client

I am not IT designer. I'm looking for website where I can upload on a server my GLTF file and get individual link to share it with my customers. Do you know such a website? Quality is important. ...
SilverinLuke's user avatar
0 votes
0 answers
9 views

why when I tried to Turns GLTFs into JSX components using npx gltfjsx model.gltf. I got .jsx file instead of .js file?

I used npx gltfjsx model.gltf, I got the .jsx file instead of .js file. How should I fix it? the .js file has much more informatio than the .jsx file. The .jsx file I got when I import to my react, it ...
Yiran Fitzpatrick's user avatar
0 votes
0 answers
17 views

Python convert b3dm to gltf

I'm trying to convert a b3dm file to gltf using Python. a b3dm file should be very similar to a gltf, but since the file is in raw bytes I cannot easily see how to make a gltf of it, by updating it's ...
Daniel van der Maas's user avatar
0 votes
0 answers
31 views

Unable to drag and drop GLTF file with separate textures in tauri app

I am making a tauri app, in which I am trying to drag and drop .gltf file into the app. But I am getting this error Access to fetch at 'https://asset.localhost/D%3A%5CProjects%5CTemp%5CSparkAR%...
Sushant S Samuel's user avatar
0 votes
0 answers
30 views

8th Wall lighting

I made an AR Experience in 8th Wall and it's working pretty well. The only thing is the lighting. The model looks like this in the gltf viewer: But when i load it into the AR experience the model ...
Benjamin Zaufall's user avatar
0 votes
0 answers
31 views

3js cube camera breaks after loading glb model

Im currenty working on a interior scene where create an interior from a floor plan, after its done loading I make a cube camera render of my scene and convert it to a equirectangular image. When I add ...
Jernej Ivančič's user avatar
0 votes
0 answers
36 views

Exporting a GLB model out of three.js that is in an Electron application:

I am not even sure if exporting out of THREE in an Electron app is possible. I cannot find any other instances of people trying it and having issues. My code, I believe is the most up to date as of ...
VVaFF's user avatar
  • 1
0 votes
0 answers
16 views

'gltfjsx' is not recognized as an internal or external command, operable program or batch file

I have an archive.gltf. I want to transform it into JSX using gltf pipeline This command is not working npx gltfjsx archivegltf --transform error: 'gltfjsx' is not recognized as an internal or ...
Norberto Ariel's user avatar
0 votes
0 answers
14 views

Unknown property geometry while generating gltfjsx component

I have a gltf exported from blender, and i am using react three fiber, three, react-three/drei and react-three/fiber and gltfjsx. I am generating a jsx component with gltfjsx library by running `npx ...
tukitooo1998's user avatar
0 votes
0 answers
19 views

ThreeJS - Manually set Pivot point for loaded GLTF model

Hi I have GLTF model and I loaded it into my ThreeJS scene using the following code: gltfLoader.load('assets/models/coin/scene.gltf', (gltf) => { const root = gltf.scene; gltf....
SunAwtCanvas's user avatar
  • 1,271
0 votes
0 answers
13 views

How to rotate car.glb wheels using useGLTF()

I wanna rotate wheels of the car model. Here I can't upload model cause of the size. This is the car model : Path This is my code in live without car model : Code I use this but not working: useFrame((...
G.W Kalpa Sathjana De Silva's user avatar
-1 votes
0 answers
24 views

How to convert Gif into animated Glb model?

Is there any quick and easy way to convert animated gif images into animated glb/gltf models? Please let me know, Thanks in advance
Fatima's user avatar
  • 1
1 vote
1 answer
33 views

Grafana Panel Plugin cannot find .gltf object using ThreeJS

I am trying to use the ThreeJS Library to load a .gltf object and display on to a grafana panel. I have put the .gltf object in my src folder and referenced it in src/components/SimplePanel.tsx. I've ...
zebedee freeman's user avatar
0 votes
0 answers
20 views

AFRAME GLTF Model Rendering Inconsistently Compared to Expectations

What I can see I've been integrating a GLTF model into my A-Frame VR scene, but I'm facing a peculiar issue. The model, when rendered in A-Frame, appears overly transparent, making it seem like it's ...
Shengdong Cao's user avatar
0 votes
0 answers
19 views

Unable to load a .gltf animation

I'm new to react and I'm trying to get better. I've been working with three.js to build up my portfolio by looking at this tutorial. I want to customize my model by adding my own and I've got the ...
John Vishwas's user avatar
0 votes
1 answer
32 views

Error in the Three.js animation loop time

I’m studying three.js and making some experiments. I created a div and inserted the canvas inside this div to show a 3D model just in one part of my html/css website. After loading this model, I ...
Carlos Henrique R. Pereira's user avatar
1 vote
1 answer
35 views

How to access a GLB's Skeleton when using Aframe's entity gltf-model to load it?

I'm following this spec for loading GLB's, https://aframe.io/docs/1.4.0/components/gltf-model.html, i've loaded a GLB file using this format. <a-scene> <a-entity gltf-model="./assets/...
Laron Walker's user avatar
0 votes
0 answers
48 views

I need help traversing a hiearchy with a recursive function

Im currently working on animating a model in my gameengine. the fileformat i'm working with is GLTF. I've come like 90% into actually performing the animation. Now to the last bit of problem: i have ...
J.Wennergren's user avatar
0 votes
0 answers
18 views

Issue with GLB/GLTF asset staying still on canvas and just rotating around y-axis, it jumps around with scrolling and I want to make the asset small

Issue with GLB/GLTF asset staying still on canvas and just rotating around y-axis, it jumps around with scrolling and I want to make the asset small with respect to the size of the page because when ...
Daniel Mironiuk's user avatar
0 votes
0 answers
86 views

How to get animation names in a glb file in flutter

I am using glb files in my flutter application I use the model_viewer_plus package for rendering glb files, now i can play a particular animation in a glb file by calling the method with that ...
Arvind suresh's user avatar
0 votes
0 answers
25 views

How to get the scene source URL in React-three-fiber

After modifying the mesh using the code below, I was wondering how can I get the URL source of the full newly transformed scene as a glb/gltf file, or is even saved internally as such? If it's not ...
محمد خير الخلق's user avatar
0 votes
0 answers
53 views

Have 3D model in mapbox/threebox to sit on top of DEM layer

I use mapbox 2.15.0 and threebox 2.2.7 in react 18.2.0 I succesfully insert a gltf model in mapbox using threebox. map.current.addLayer({ id: 'custom-threebox-model', type: 'custom',...
slevin's user avatar
  • 4,214
-1 votes
1 answer
64 views

Can Qt QSceneLoader object load and render GLB (3D model) file

I am using Qt6.5.2. My expectation is to load GLB file and render it in Qt window. As per Qt documentation for QSceneLoader class, QT supports GLB file but on loading GLB file in my Qt application, I ...
Sridharan's user avatar
0 votes
1 answer
99 views

Forgeviewer Lighting on glb-files

I'm working on a project using React and TypeScript, where I utilize the Autodesk Forge Viewer. In this project, I load GLB files into the scene at runtime. I have noticed that the colors on the ...
mgerhardt's user avatar
0 votes
0 answers
116 views

Model-Viewer AR mode: in Android the GLB model is wrong scale on initial load

On Android devices, when I load a GLB file in AR mode on model-viewer, it appears at the wrong scale and is not on the ground level when I first see it rendered. Users have to lower their device to ...
Confidant's user avatar
  • 356
0 votes
0 answers
74 views

Looking for glTF to 3D Tiles open-source converter

I'm new to 3D geometry and WebRendering of 3d objects. So, I came across a glTF to 3d Tile converter which seems to be taking up a lot of space post conversion. I don't exactly understand the reason ...
Avj Vaibhav's user avatar
0 votes
1 answer
54 views

GLTF model has transparent face

I created a gltf file from a third-party software (ifcOpenshell) and my problem is that one side of my model has a solid color while the other side of my model is transparent when viewed on gltfviewer ...
chetan-set's user avatar
2 votes
3 answers
54 views

GLTF not converted properly

So i ve been messing aroud with threejs in react. I found out that the way to display 3d objects in react is turning the into a JSX Component by using gltfjsx . I followed everything, i even tried it ...
Dimitris S's user avatar
0 votes
2 answers
54 views

Uncaught Error: Could not load ./desktop_pc/scene.gltf: THREE.GLTFLoader: Failed to load buffer "scene.bin"" Been trying to solve this

I have tried using (glb) format as it was said in other post but it didn't help and some other fixes but to no use. I was trying to render this scene and whenever I try the browser(I mean internet ...
Dawood Haider's user avatar
0 votes
0 answers
32 views

I can't add animation to my babylonjs file

i am new to babylonjs and currently having problem animating my gltf file. could you help me fix it? Thanks in advance import * as BABYLON from '@babylonjs/core'; import '@babylonjs/loaders/glTF'; ...
Salt's user avatar
  • 1
1 vote
0 answers
32 views

Is it possible to store GLTF on MongDB Atlas

Is it possible to easily store files such as gltf/glb into a MongoDB Atlas database and pull them down instead to a React web app. Preferably originally storing the files on the database using the ...
SecretFerret's user avatar
0 votes
0 answers
21 views

Three.js - custom fragment shaders break/overwrite self shadows. How do I get self shadows to work with custom shaders? is there another approach?

I am loading a GLB file that has a map object and plane object. I have a custom shader that I am applying to the map object to create a vertical color gradient. When I load the custom shader material ...
Robert Rice's user avatar
0 votes
0 answers
15 views

Threebox GLTF Model partly wrong

I have an fbx model that i exportet as an embedded gltf in blender. When i load it into a map with threebox then it looks wrong but in the gltf viewer of threejs it looks right. What am i doing wrong? ...
nico-src's user avatar
0 votes
1 answer
51 views

Is this a correct glTF file? There are duplicate vertices

I am working with blender 3.6 and I have exported a simple cube under the glTF format: { "asset":{ "generator":"Khronos glTF Blender I/O v3.6.27", &...
Plegeus's user avatar
  • 140
0 votes
0 answers
63 views

GLB File reader wont read GLB file

In order to build a file converter with gltf/glb being the starting file type, i need input the data of the glb file first. When tring to do that, I encountered a negative arry error given the fact it ...
Rhysling's user avatar
0 votes
0 answers
35 views

Is there any way to load the Three.js library along with GLTFLoader and OrbitControls without using npm or importing modules?

I am currently trying to integrate the Three.js library into a development environment that does not allow the use of npm or modules. I have tried to install the libraries at different versions (120, ...
Samir Kassem's user avatar
0 votes
1 answer
86 views

Can I use vray materials, lights, camera and other render setting in 3D MAX by exporting model with GLTF format to use in THREE.JS?

As you know GLTF format supports PBR standard rendering settings. I would like to know What is the best render engine can I use in 3D MAX to make effective GLTF export for using in THREE.js. ...
Reza Pourmokhtar's user avatar
0 votes
0 answers
23 views

Threejs Ammojs Collision Detection Not Working

I am facing a challenge with implementing collision detection between a first-person camera character and a glTF model. I think problem is const numManifolds = dispatcher.getNumManifolds(); ...
Ali's user avatar
  • 13
0 votes
1 answer
140 views

How to store points (from point cloud) as a glTF file

I have a pandas dataframe with columns x,y,z,r,g,b Where each row is a point. The x,y and z are the position of the point. And the r,g and b the color (as red, green and blue) I now would like to ...
Daniel van der Maas's user avatar
0 votes
0 answers
9 views

3dsmax IIGameNode cannot get the correct world matrix matrix

I tried to export node data to gltf using IIGameNode and everything worked fine except one model. enter image description here, These two models are instance enter image description here IIGameScene ...
Gaffey's user avatar
  • 1
0 votes
1 answer
55 views

Cannot render glb file in frontend, instead it showing a black image

I am trying to call the glb file from the backend server just like I did with the 2d image, how to modify the code if it is glb file and I can interact with the glb rendered image, redult coming is ...
Roy's user avatar
  • 29
0 votes
0 answers
10 views

stereoeffect not proper, the objective is to load the model opened using gltf loader into both sides, to view the model in mobile vr

Here is the code which I am running on local server using nodejs, what changes I will need to make? output: chair gets loaded into complete screen, screen doesn't get halved, such as to view in mobile ...
Madhusudan patil's user avatar
0 votes
0 answers
45 views

Next.js, VPS server and .gltf files

I made a project using three.js + reaction/three fiber. Everything works on localhost, even if I did the build and download via npm run start, but when I did the same on my vps server, he wrote this: ...
Nord's user avatar
  • 1
0 votes
1 answer
64 views

How to get water from blender into three.js

I made transparent water using Blender, exported it with gltf, and then imported it with three.js, so the water property is not transparent. just like a blue box. how can i import transparent water in ...
joco's user avatar
  • 3
0 votes
0 answers
22 views

There is an error with using FBO in combination with WebGL in the three.js

This is the original question link address, if I need more detailed address, I can provide it https://discourse.threejs.org/t/using-webgl2-in-three-js-transforming-feedback-an-error-occurs-fbo/53194 ...
7asdfad's user avatar
  • 43
0 votes
1 answer
77 views

GLTF/GLB Export in ThreeJS: Disrupting Scene Hierarchy

I am exporting my scene using a very basic approach: function save(blob, filename) { const link = document.createElement("a"); link.href = URL.createObjectURL(blob); link.download = ...
Mustafa AHCI's user avatar

1
2 3 4 5
18