Bug 384662 - Layer Styles light direction is incorrect
Summary: Layer Styles light direction is incorrect
Status: RESOLVED DUPLICATE of bug 372169
Alias: None
Product: krita
Classification: Applications
Component: layer styles (show other bugs)
Version: 3.2.1
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-13 14:02 UTC by Victor Wren
Modified: 2018-01-21 21:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Selector indicates light source at zero degrees, but light source appears to be at 90 degrees. (55.79 KB, image/jpeg)
2017-09-13 14:02 UTC, Victor Wren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Wren 2017-09-13 14:02:20 UTC
Created attachment 107833 [details]
Selector indicates light source at zero degrees, but light source appears to be at 90 degrees.

SUMMARY:
In the Layer Styles, styles which allow for the selection of lighting direction, the selected lighting direction does not correspond to the resulting light direction in the effect.

STEPS TO REPRODUCE:
Create a layer.  Fill it with 50% grey.  Create another layer.  Paint several hard-edged spots in a contrasting color.  Pull up layer effects and check "Drop shadow" or "Bevel and Emboss."  Uncheck "Use Global Light" and check "Preview"  Play with the lighting direction and note the following:

The location of the spot on the rotary graphic selector corresponds to neither the direction of the shadow, nor the apparent direction of the light source.  Also note that as the angle is increased in the numeric selector, the spot on the graphic selector rotates clockwise, while the shadows on the canvas rotate counter-clockwise.

EXPECTED BEHAVIOR:  The spot on the graphical rotary selector would represent the light source, and drop shadows would appear opposite from it's position.  Also, when rotating the selector clockwise, the shadow would progress around the object casting it in the clockwise direction.
Comment 1 mvowada 2018-01-21 16:24:01 UTC
(I can confirm this behaviour on Ubuntu 14.04 - Krita 4.0.0-beta1.1.appimage)

Maybe the selector right now seems not very intuitive when thinking in terms of cartesian coordinate system... a solution might be:

1) moving the dot on the right (0 degrees)
2) inverting the rotation direction. 

PS. however it does increases and decreases the lighting angle correctly yet
Comment 2 Victor Wren 2018-01-21 17:49:07 UTC
This appears to be a duplicate of 372169
Comment 3 mvowada 2018-01-21 21:26:46 UTC
(In reply to Victor Wren from comment #2)
> This appears to be a duplicate of 372169

Yes, I think so.

*** This bug has been marked as a duplicate of bug 372169 ***