Limit Scale ignores negative numbers #38167

Closed
opened 2014-01-11 22:55:41 +01:00 by bassam kurdali · 8 comments
Member

System Information
GNU/Linux 64 bit (fedora 20) Intel CPU, Nvidia GPU

Blender Version
Broken: bbab2ec 2014-01-10
Worked: (optional)

Short description of error
Limit Scale seems to use absolute values for limiting, allowing objects and bones to have negative scale values even if limit is >= 0

Exact steps for others to reproduce the error
Create a Cube
Add a limit scale on e.g. X, lower value 0 upper value 1 (for example again)
Click 'For Transform' in the constraint just to see it quickly
Scale the Cube down on X: note it skips past 0 to negative values, all the way to negative 1

alternative just load the linked file and scale the cube.limitscale.blend

**System Information** GNU/Linux 64 bit (fedora 20) Intel CPU, Nvidia GPU **Blender Version** Broken: bbab2ec 2014-01-10 Worked: (optional) **Short description of error** Limit Scale seems to use absolute values for limiting, allowing objects and bones to have negative scale values even if limit is >= 0 **Exact steps for others to reproduce the error** Create a Cube Add a limit scale on e.g. X, lower value 0 upper value 1 (for example again) Click 'For Transform' in the constraint just to see it quickly Scale the Cube down on X: note it skips past 0 to negative values, all the way to negative 1 alternative just load the linked file and scale the cube.[limitscale.blend](https://archive.blender.org/developer/F66914/limitscale.blend)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @BassamKurdali

Added subscriber: @BassamKurdali
Author
Member

Oh, that's limit scale constraint just in case it wasn't obvious :)

Oh, that's limit scale constraint just in case it wasn't obvious :)
Member

Added subscriber: @JoshuaLeung

Added subscriber: @JoshuaLeung
Member

Hi Bassam,

This is actually the second report about this we have in the tracker ;)

We have a bit of a problem when it comes to reliably decomposing negative scale values - we can either say that there are negative values present, or no negative values present. The downside to this that we'd have to say that all values are negative, potentially causing some other problems.

For a while now, I've been starting to wonder whether we need a slightly different approach to passing transforms down the constraint stack. Namely, I may need to put in a system that ends up passing down "managed" transforms alongside the matrices so that we can resolve a good number of the ambiguities: in particular, euler rotation and scaling. It would end up complicating things a lot, especially as far as some constraints (e.g. track to's) where the exact transforms applied are not that simple to map back to individual components, but at least we'd finally be able to solve a few other limitations...

Hi Bassam, This is actually the second report about this we have in the tracker ;) We have a bit of a problem when it comes to reliably decomposing negative scale values - we can either say that there are negative values present, or no negative values present. The downside to this that we'd have to say that all values are negative, potentially causing some other problems. For a while now, I've been starting to wonder whether we need a slightly different approach to passing transforms down the constraint stack. Namely, I may need to put in a system that ends up passing down "managed" transforms alongside the matrices so that we can resolve a good number of the ambiguities: in particular, euler rotation and scaling. It would end up complicating things a lot, especially as far as some constraints (e.g. track to's) where the exact transforms applied are not that simple to map back to individual components, but at least we'd finally be able to solve a few other limitations...
Member

Changed status from 'Open' to: 'Duplicate'

Changed status from 'Open' to: 'Duplicate'
Member

✘ Merged into #37623.

✘ Merged into #37623.
Author
Member

Aligorith, would love to chat with you (this is an entirely different idea with a different scope) about stackable transforms (an idea used by other software in different ways)
the idea is you could add a transform on the 'stack' (or possibly in a node tree) even after constraints.
for limit constraint this probably has no impact, but it could alleviate some of the other weird issues for constraints with offsets (e.g:
base transform
copy location
extra transform (used to be offset)

anyway, this one is not a show stopper, I should start using the search in our spanking new bugtracker (got too used to the old broken one, sorry)
cheers
Bassam

Aligorith, would love to chat with you (this is an entirely different idea with a different scope) about stackable transforms (an idea used by other software in different ways) the idea is you could add a transform on the 'stack' (or possibly in a node tree) even after constraints. for limit constraint this probably has no impact, but it could alleviate some of the other weird issues for constraints with offsets (e.g: base transform copy location extra transform (used to be offset) anyway, this one is not a show stopper, I should start using the search in our spanking new bugtracker (got too used to the old broken one, sorry) cheers Bassam
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
2 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#38167
No description provided.