Combine XYZ transform from Degrees to Radians #84374

Closed
opened 2021-01-04 14:30:36 +01:00 by Massimiliano Puliero · 6 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.51

Blender Version
Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: 0f45cab862
Worked: (newest version of Blender that worked as expected)

Short description of error
I try to expose the Rotation option of the mapping node by usign a Combine XYZ node, but I noticed that it converts the value from Degrees to Radians.

Exact steps for others to reproduce the error
Opne the file, I pinned the 2 nodes editors, so it's easier to compare the two behaviors.

In order to get a 90° degrees rotation using the Combine XYZ node I had to use π/2.
While on the right I got it by using the Mapping node slot with a value in degrees at 90.

Since I think the fastes way to expose those 3 values is by using the Combine XYZ, I expect that the result won't change.

thank you.

angle_degrees.blend

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.51 **Blender Version** Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: `0f45cab862` Worked: (newest version of Blender that worked as expected) **Short description of error** I try to expose the Rotation option of the mapping node by usign a Combine XYZ node, but I noticed that it converts the value from Degrees to Radians. **Exact steps for others to reproduce the error** Opne the file, I pinned the 2 nodes editors, so it's easier to compare the two behaviors. In order to get a 90° degrees rotation using the Combine XYZ node I had to use π/2. While on the right I got it by using the Mapping node slot with a value in degrees at 90. Since I think the fastes way to expose those 3 values is by using the Combine XYZ, I expect that the result won't change. thank you. [angle_degrees.blend](https://archive.blender.org/developer/F9550303/angle_degrees.blend)

Added subscriber: @MassimilianoPuliero

Added subscriber: @MassimilianoPuliero
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

What exactly is the bug here? As far as I can see this behavior is exactly expected since 90deg = pi/2 radians = 1.571... and the "combine XYZ" does not have fields of type "angle", just plain values. I guess a "Combine Rotation" or "Radians to Degrees" node would be nice to have, but then it's a feature request.

What exactly is the bug here? As far as I can see this behavior is exactly expected since 90deg = pi/2 radians = 1.571... and the "combine XYZ" does not have fields of type "angle", just plain values. I guess a "Combine Rotation" or "Radians to Degrees" node would be nice to have, but then it's a feature request.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Internally, all angles are radians, this is just displayed as degrees in the UI.
This is similar to #81389 (The 'Vector Rotate' node's 'Angle' input is displayed in degrees but uses radians when something is plugged into it.) or #49062 ("Rotate" compositor node units inconsistent).

Dont think this is a bug, so unless I am missing something and this is different from #81389: will merge with #81389

Note: you could of course use the Converter > Math node set to To Radians mode, but this requires more clicks...

Internally, all angles are radians, this is just displayed as degrees in the UI. This is similar to #81389 (The 'Vector Rotate' node's 'Angle' input is displayed in degrees but uses radians when something is plugged into it.) or #49062 ("Rotate" compositor node units inconsistent). Dont think this is a bug, so unless I am missing something and this is different from #81389: will merge with #81389 Note: you could of course use the `Converter` > `Math` node set to `To Radians` mode, but this requires more clicks...
Member

Closed as duplicate of #81389

Closed as duplicate of #81389
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#84374
No description provided.