Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
OPEN  Bug report #269  -  Hue blend method fails when all the color components are the same
Posted Dec 27, 2012 - updated Jan 05, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Bug report
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Carlos López
  • Owned by
    Not owned by anyone
  • Category
    Rendering
  • Resolution
    Not determined
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Tags
    icon_customdatatype.png blend method
  • Difficulty
    icon_customdatatype.png Easy
Issue description
The Hue blend method takes the components of the source color and computes a value that results in a calculation of the arc of a tangent which result is 0/0. It gives random values for 64 buts architecture and bluish colors for 32 bits architecture.

http://en.wikipedia.org/wiki/Hue

For convenience of representation, for greys, the hue is defined like 0º.

http://en.wikipedia.org/wiki/HSL_and_HSV#Hue_and_chroma

Steps to reproduce this issue
See attached files in this forum thread:

http://www.synfig.org/forums/viewtopic.php?f=15&t=3961

#3
Comment posted by
 ivymichael
Aug 02, 13:35
The hue blend method can fail when all color components are identical because it relies Spectra Precision Adjustable Large Pipe Target on varying color values to create differentiation. When components are the same, the method struggles to produce the intended blending effect, resulting in a lack of visual distinction or gradient in the final output.