CesiumGS / CesiumGS/cesium

Print a warning when `3DTILES_content_gltf` is required but not declared

Open
#9,977 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

category - 3d tiles type - enhancement
Dominant language
JavaScript
Stars
15.8k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Right now, a tileset that contains a tile with glTF content is loaded silently, even if it does not declare 3DTILES_content_gltf in its extensionsUsed and extensionsRequired. While strictly checking this (and declaring the tileset to be "invalid") would rather the something for the 3d-tiles-validator, I think that CesiumJS should at least print a warning, informing users that the tileset is not strictly spec-compliant.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the tileset-loading path that handles tiles with glTF content and checks extensionsUsed and extensionsRequired. Add a warning for tilesets that require 3DTILES_content_gltf without declaring it, while leaving strict validity checking to the 3d-tiles-validator. Confirm that compliant tilesets remain silent and non-compliant tilesets report the warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.