Gradient no longer smooth in LC9.5

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
tomBTG
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 73
Joined: Fri Nov 25, 2011 6:42 pm

Gradient no longer smooth in LC9.5

Post by tomBTG »

Hi all.

A gradient that worked great for me since LC v7 is now rendering with visible lines instead in LC 9.5. (See attached pics for comparison.) Happens on Windows and Macs, in IDE and standalones.

Anyone else have this issue? Solutions?
GradientGood.png
GradientBad.png
Thanks,
Tom B.
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Gradient no longer smooth in LC9.5

Post by FourthWorld »

Unable to reproduce - can you post a sample stack exhibiting the issue?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
tomBTG
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 73
Joined: Fri Nov 25, 2011 6:42 pm

Re: Gradient no longer smooth in LC9.5

Post by tomBTG »

Hi Richard.
Here's a stack that shows graphics that demonstrate the problem.
Thanks,
Tom Bodine
Attachments
Gradient-Issue.zip
(6.6 KiB) Downloaded 829 times
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Gradient no longer smooth in LC9.5

Post by FourthWorld »

Thanks. Definitely evident here in the example, and it seems an easy fix: the fill gradient looks smooth because it's set to "good", while the stroke gradient is set to "normal". When I change the stroke gradient to "good" it looks, well, good. :)
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
tomBTG
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 73
Joined: Fri Nov 25, 2011 6:42 pm

Re: Gradient no longer smooth in LC9.5

Post by tomBTG »

Doh! I should have caught that. Thanks for the quick fix, Richard.
Tom B.
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Gradient no longer smooth in LC9.5

Post by bogs »

Shows exactly what Tom shows in the picture here on Win7 (only thing I can run 9.5 on ), but on 8.1.2 the gradient is nice and clear using the same stack with the same settings (good / normal).

Looks like a bug to me. Even though setting it to 'good' will smooth it out, I'd certainly submit it to http://quality.livecode.com/
Image
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Gradient no longer smooth in LC9.5

Post by FourthWorld »

bogs wrote: Tue Aug 13, 2019 5:00 pm Shows exactly what Tom shows in the picture here on Win7 (only thing I can run 9.5 on ), but on 8.1.2 the gradient is nice and clear using the same stack with the same settings (good / normal).

Looks like a bug to me. Even though setting it to 'good' will smooth it out, I'd certainly submit it to http://quality.livecode.com/
Might be a bug. Might also have been a bug fix, in which earlier versions always used "good" even when "normal" was specified. Going through the Release Notes might tell us that, but that's a lot of release notes. Submitting a bug report will at least tell us whether it's a bug or a fix, and I find team comments on such things always helpful.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
tomBTG
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 73
Joined: Fri Nov 25, 2011 6:42 pm

Re: Gradient no longer smooth in LC9.5

Post by tomBTG »

OK, I will submit a bug report with the sample stack.
Thanks again for your help.
Tom B.
tomBTG
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 73
Joined: Fri Nov 25, 2011 6:42 pm

Re: Gradient no longer smooth in LC9.5

Post by tomBTG »

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Gradient no longer smooth in LC9.5

Post by bogs »

FourthWorld wrote: Wed Aug 14, 2019 1:07 am Might be a bug. Might also have been a bug fix, in which earlier versions always used "good" even when "normal" was specified.
True that, I'll go slogging through the notes and see if I find mention of it there. Good thought Richard!
Image
Post Reply