question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to load Monster and Duck glTF models in example

See original GitHub issue
Description of the problem

Fails to load Monster and Duck glTF models in https://threejs.org/examples/webgl_loader_gltf2.html example because of 404 error.

The root issue seems first letters of their file/directory names in gh-pages branch are lower case, like

  • gh-pages: examples/models/gltf/monster/glTF/monster.gltf
  • master: examples/models/gltf/Monster/glTF/Monster.gltf

See

@mrdoob

Three.js version
  • Dev
  • r86
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, …)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
donmccurdycommented, Jun 28, 2017

Assuming gh-pages is published by copy/pasting from the master or dev branch on each release, the cause is probably this Git issue. Copy/pastes on case-insensitive filesystems (like macOS) are ignored by Git unless you force it to see them.

Since it’s OK on the other branches, we can fix it manually on gh-pages and it will stay correct after that. Opened #11631.

0reactions
takahiroxcommented, Jun 28, 2017

Ah, right. The files in gh-pages are glTF 2.0, so #11441 isn’t missing. Sorry I’ve messed up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to load GLTF object - Stack Overflow
First you can download the free 3d model gltf file from sketchfab and then convert it into glb format using this website.
Read more >
pygltflib - PyPI
Python library for reading, writing and managing 3D objects in the Khronos Group gltf and gltf2 formats.
Read more >
GLTF Files - ARENA Documentation
GLTF Files. Here are some notes to help you convert GLTF models used in the ARENA. Sketchfab. Sketchfab GLTF models don't always come...
Read more >
gltf-model - A-Frame
The gltf-model component loads a 3D model using a glTF ( .gltf or .glb ) file. Note that glTF is a fairly new...
Read more >
alteous/gltf - Gitter
@udoprog It's your choice. @tomaka was working on a glTF vulkano example a little while ago. The example is outdated now but it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found