GLTF Exporter blender 3.2 and above flips the axis of rotation for exported camera transforms matrices #99306
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#99306
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows
Graphics card: GTX 980
Blender Version
Broken: 3.3.0, 0ea282f74620, master, 2022-06-30
Worked: 3.1.2
Short description of error
Blender's gltf exporter forces the camera to face the wrong direction on export. There is an issue when +Yup is toggled off. The issue was first observed in 3.2 and persisted in 3.3 alpha.
To test and validate the issue with the camera rotation matrix, you can export a gltf from 3.1.2 and one from 3.3 alpha and import both gltf into the same scene. This test shows an error with the gltf exporter in Blender 3.3 alpha compared to 3.1.2 as it flips in the wrong direction on import into Blender.
Exact steps for others to reproduce the error
Attached files
You can use the supplied gltf or create your own using the below steps.
blender-exporter-files.zip
Steps for creating the gltf files to validate that there is an issue with the camera flipping do to gltf exporter
Testing the camera issue (using your own or supplied gltf files)
blender-3-3-0.gltf
See the visual difference in imported camera direction and settings.
Added subscriber: @sethnykamp
GLTF Exporter 3.2 and above flips the axis of rotation for exported camera transforms matricesto GLTF Exporter blender 3.2 and above flips the axis of rotation for exported camera transforms matricesAdded subscriber: @JulienDuroure
Changed status from 'Needs Triage' to: 'Confirmed'
Confirmed.
(Note that turning Yup off is mostly for debugging, as it generate non valid glTF files)
This issue was referenced by
9c39b79cdc
This issue was referenced by
849e7196eb
Changed status from 'Confirmed' to: 'Resolved'
Thank you for the speedy reply and fix. Good to know that "Yup off is mostly for debugging, as it generate non valid glTF files".