Skip to content

Rebrand glTF coordinate conversion to an alternative strategy that is biased towards glTF models #20131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

janhohenheim
Copy link
Member

@janhohenheim janhohenheim commented Jul 14, 2025

Objective

Per long discussion with @superdump (see #19686 (comment)), the new coordinate loading system is still wrong, just now biased in favor of having correct forward semantics for models instead of cameras.
Which is still what I need, but it should not be the new default, as we may well change Transform::forward instead.

Solution

Since changing forward semantics is a bigger change, let's rebrand the coordinate conversion code and keep it opt-in so that users that don't use glTF cameras get correct semantics in the meantime.

Testing

  • Ran 3D examples and Blender test scenes.

@janhohenheim janhohenheim added D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward A-glTF Related to the glTF 3D scene/model format labels Jul 14, 2025
@janhohenheim janhohenheim added this to the 0.17 milestone Jul 14, 2025
@janhohenheim janhohenheim requested a review from superdump July 14, 2025 12:06
@janhohenheim janhohenheim added the A-Rendering Drawing game state to the screen label Jul 14, 2025
@janhohenheim janhohenheim requested a review from superdump July 14, 2025 13:42
@alice-i-cecile alice-i-cecile added X-Contentious There are nontrivial implications that should be thought through X-Controversial There is active debate or serious implications around merging this PR and removed X-Contentious There are nontrivial implications that should be thought through labels Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-glTF Related to the glTF 3D scene/model format A-Rendering Drawing game state to the screen D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward X-Controversial There is active debate or serious implications around merging this PR
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Add nuance to the glTF coordinate migration guide
3 participants