schell/renderling

Support for non-triangle primitives

Open

#198 opened on Sep 5, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (14 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (237 stars)
PR merge metrics
 (PR metrics pending)

Description

Using v0.4.9, this glb file (https://github.com/user-attachments/files/22179111/TempleLines.glb.zip) does not work with the demo viewer. It's rejected by the gltf parser: https://github.com/schell/renderling/blob/8493bcc1bdbb31f0c9c40fedd3359fd7556e9b6c/crates/renderling/src/stage/gltf_support.rs#L339

expected output (from https://modelviewer.dev/editor/):

Support for non triangle primitives is something I would certainly like for my typical use cases. I understand if this sort of thing isn't a high priority, or a non-goal of this project - just interested to hear what you think.

Thanks!

Contributor guide