fix(importer): expand glTF triangle strips and fans #1043

Merged
SakulFlee merged 1 commit from fix/gltf-primitive-modes into main 2026-11-05 18:34:35 +00:00
Owner

Expands TRIANGLE_STRIP and TRIANGLE_FAN glTF primitives to a triangle list before normal generation and winding conversion. Unsupported point/line topologies are now warned about and skipped instead of imported as malformed triangles.

Adds end-to-end strip and fan import tests that pin the expanded and winding-flipped index order.

Fixes #841.

Expands `TRIANGLE_STRIP` and `TRIANGLE_FAN` glTF primitives to a triangle list before normal generation and winding conversion. Unsupported point/line topologies are now warned about and skipped instead of imported as malformed triangles. Adds end-to-end strip and fan import tests that pin the expanded and winding-flipped index order. Fixes #841.
fix(importer): expand glTF triangle strips and fans
All checks were successful
Lint / lint (pull_request) Successful in 1m33s
PR / test (pull_request) Successful in 3m50s
f09b326e9b

Smart test results

Result: PASS

Scope: orbital_importer_gltf

Reason: directly changed crates

Elapsed: 3m 16s

Workflow run

Overall: 16 tests, 16 passed, 0 failed, 0 skipped

Nextest: 16 tests, 16 passed, 0 failed, 0 skipped
Doctests: no tests reported

Crate Nextest Passed Failed Skipped Doctests Time
orbital_importer_gltf 16 16 0 0 - 0.15s
pie showData
    title Nextest outcomes
    "Passed" : 16
<!-- orbital-ci-test-results --> ## Smart test results **Result:** PASS **Scope:** orbital_importer_gltf **Reason:** directly changed crates **Elapsed:** 3m 16s [Workflow run](https://forgejo.sakul-flee.de/SakulFlee/Orbital/actions/runs/1094) **Overall:** 16 tests, 16 passed, 0 failed, 0 skipped **Nextest:** 16 tests, 16 passed, 0 failed, 0 skipped **Doctests:** no tests reported | Crate | Nextest | Passed | Failed | Skipped | Doctests | Time | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | orbital_importer_gltf | 16 | 16 | 0 | 0 | - | 0.15s | ```mermaid pie showData title Nextest outcomes "Passed" : 16 ```
SakulFlee deleted branch fix/gltf-primitive-modes 2026-11-05 18:34:35 +00:00
Sign in to join this conversation.
No description provided.