VRML Import has incorrect orientation #32613
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#32613
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?
%%%When importing a vrml file the correction for z up is not correct.
In the attached field the character is facing towards the positive z axis. In a vrml browser this means you see the character facing the default camera.
In order to change from yup to zup you need a 90 degree rotation along the x axis. The axis conversion code is returning something different.
You can see in the blender_before screenshot it shows the character looking down the positive Y axis, this is facing away from the default camera. In the patched version the character is oriented towards the camera.
I can see an argument that the file was originally looking down the positive z axis and now its looking down the positive y axis. But to creator of a vrml file the orientation in blender will seem wrong. Ie usually you'll see the back of objects instead of the front.
It's possible the exported global matrix would need to change to align with this. I'm still examining the output from blender to see if that suggestion makes sense.%%%
Changed status to: 'Open'
%%%Campbell, could you please check on this?%%%
%%%Looked at the patch and axis_conversion() isnt acceptable, instead the patch should change the defaults for the axis_forward/up.
Moving to tracker, this isnt an urgent fix for release since the defaults can be changed an moved into a preset.
%%%
%%%Moved from Blender 2.6 Bug Tracker to Patches%%%
Removed subscriber: @ideasman42
Added subscriber: @BrendonMurphy
Changed status from 'Open' to: 'Archived'
closing as archived, very old task