CesiumGS / CesiumGS/cesium

Generate normals automatically for glTF 2.0 models

Open
#6,506 6 comments 0 reactions 0 assignees View on GitHub
category - model/gltf type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

From the [glTF spec](https://github.com/KhronosGroup/glTF/tree/master/specification/2.0)

> Implementation note: When normals are not specified, client implementations should calculate flat normals.

This would replace the stopgap solution in https://github.com/AnalyticalGraphicsInc/cesium/pull/6501.

Contributor guide

Open the contributing guide

Research direction

Start with the glTF 2.0 specification linked in the issue, then inspect the stopgap solution in PR #6501. Determine where Cesium handles glTF models without specified normals and verify that flat normals are generated automatically, replacing the stopgap behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.