https://wiki.synfig.org/index.php?title=Talk:Curve_Gradient_Layer&feed=atom&action=historyTalk:Curve Gradient Layer - Revision history2024-03-29T11:40:14ZRevision history for this page on the wikiMediaWiki 1.26.3https://wiki.synfig.org/index.php?title=Talk:Curve_Gradient_Layer&diff=5477&oldid=prevDooglus: Talk:Curve Gradient moved to Talk:Curve Gradient Layer over redirect2008-01-29T07:22:09Z<p><a href="/Talk:Curve_Gradient" class="mw-redirect" title="Talk:Curve Gradient">Talk:Curve Gradient</a> moved to <a href="/Talk:Curve_Gradient_Layer" title="Talk:Curve Gradient Layer">Talk:Curve Gradient Layer</a> over redirect</p>
<table class='diff diff-contentalign-left'>
<tr style='vertical-align: top;' lang='en'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">Revision as of 07:22, 29 January 2008</td>
</tr><tr><td colspan='2' style='text-align: center;' lang='en'><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Dooglushttps://wiki.synfig.org/index.php?title=Talk:Curve_Gradient_Layer&diff=5473&oldid=prevDooglus: Talk:Curve Gradient Layer moved to Talk:Curve Gradient2008-01-29T07:21:57Z<p><a href="/Talk:Curve_Gradient_Layer" title="Talk:Curve Gradient Layer">Talk:Curve Gradient Layer</a> moved to <a href="/Talk:Curve_Gradient" class="mw-redirect" title="Talk:Curve Gradient">Talk:Curve Gradient</a></p>
<table class='diff diff-contentalign-left'>
<tr style='vertical-align: top;' lang='en'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">Revision as of 07:21, 29 January 2008</td>
</tr><tr><td colspan='2' style='text-align: center;' lang='en'><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Dooglushttps://wiki.synfig.org/index.php?title=Talk:Curve_Gradient_Layer&diff=3485&oldid=prevDooglus: fixed the bug2007-09-13T12:56:49Z<p>fixed the bug</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 12:56, 13 September 2007</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l118" >Line 118:</td>
<td colspan="2" class="diff-lineno">Line 118:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Image:Perp-curve-gradient-2.png]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Image:Perp-curve-gradient-2.png]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Image:Perp-curve-gradient-2.sif]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Image:Perp-curve-gradient-2.sif]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Fixed the bug.  It wasn't using the last bline in a blinelist when the blinelis was looped:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Image:Perp-curve-gradient-2-fixed.png|fixed]]</ins></div></td></tr>
<!-- diff cache key synfigru_wiki:diff:version:1.11a:oldid:2487:newid:3485 -->
</table>Dooglushttps://wiki.synfig.org/index.php?title=Talk:Curve_Gradient_Layer&diff=2487&oldid=prevDooglus at 11:36, 13 September 20072007-09-13T11:36:26Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 11:36, 13 September 2007</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== IRC log ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>pxegeek: Hey dooglus - does the broken heart fix also fix creases in perpendicular curve gradients?</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>pxegeek: Hey dooglus - does the broken heart fix also fix creases in perpendicular curve gradients?</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l110" >Line 110:</td>
<td colspan="2" class="diff-lineno">Line 112:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>pxegeek: Yes, that example may be tricky to smoothly transition ;)</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>pxegeek: Yes, that example may be tricky to smoothly transition ;)</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Example Buggy SIF File ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">The black and white lines indicate the extreme left and right edges of the gradient.  The large red area between them shouldn't be there:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Image:Perp-curve-gradient-2.png]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Image:Perp-curve-gradient-2.sif]]</ins></div></td></tr>
</table>Dooglushttps://wiki.synfig.org/index.php?title=Talk:Curve_Gradient_Layer&diff=2486&oldid=prevDooglus: discussion about perpendicular gradient smoothness2007-09-13T10:58:18Z<p>discussion about perpendicular gradient smoothness</p>
<p><b>New page</b></p><div>pxegeek: Hey dooglus - does the broken heart fix also fix creases in perpendicular curve gradients?<br />
<br />
dooglus: pxegeek: I've avoided looking at perpendicular curve gradients. the fix may fix them, but I really don't think it will - the changes were inside an"if (!perpendicular) { }"block<br />
<br />
dooglus: pxegeek: but a similar fix for perpendicular gradients will probably be quite easy. could you report it as a bug, and include a URL for an example creased .sif file?<br />
<br />
pxegeek: You can just check perpenidicular on Rore's heart, and see the crease at the top of the screen<br />
<br />
dooglus: ok, but rore's heart *is* creased, so you would expect the perpendicular gradient to reflect that...<br />
<br />
dooglus: or am I missing something?<br />
<br />
pxegeek: So if you draw any concave curve, there's a crease, but it's not all the way to the line - it starts a little way out<br />
<br />
pxegeek: Shouldn't there be a way to control how smoothly the gradient transitions?<br />
<br />
pxegeek: Or should I just stick a blur layer over the top?<br />
<br />
dooglus: the gradient transitions along its whole range, from the start of the bline to the end<br />
<br />
dooglus: there's not a lot of scope for specifying anything there<br />
<br />
pxegeek: I'm sure what it's doing is technically accurate, it just doesn't look elegant.<br />
<br />
dooglus: heh - I'm not sure of that at all :)<br />
<br />
pxegeek: Like changing gear without a clutch<br />
<br />
dooglus: sure<br />
<br />
pxegeek: Stick a blur layer 16ptx16pt on top of rore's example with perpendicular checked<br />
<br />
pxegeek: That's the smoothness I'd hope to see instead of a jagged line.<br />
<br />
pxegeek: Want me to post a'before and after'?<br />
<br />
dooglus: I'll make an example picture that we can talk about<br />
<br />
dooglus: [[Image:Perp-curve-gradient.png|example of a perpendicular curve gradient]]<br />
<br />
dooglus: the green'ray'and the red'ray'are both perpendicular to the bline<br />
<br />
dooglus: since the bline is convex, they point towards each other.<br />
<br />
dooglus: the place where they meet will be make a'crease'<br />
<br />
pxegeek: Right, but within the radius of curvature, the gradient is smooth<br />
<br />
pxegeek: I guess what I'm thinking of would be a more advances type of gradient that fades off the further you get from the line<br />
<br />
dooglus: is this what you're looking for? [[Image:Perp-curve-gradient-supersampled.png|example of a perpendicular curve gradient with supersampling]]<br />
<br />
dooglus: I put a super sample layer over it<br />
<br />
dooglus: what you're asking for is a perp.curve gradient and a regular curve gradient combined somehow - one of the compose modes would do that for you wouldn't it?<br />
<br />
pxegeek: Maybe<br />
<br />
dooglus: do you think it's about the radius of curvature? I'm not sure<br />
<br />
pxegeek: /me still futzing with blur layets<br />
<br />
pxegeek: the radius of curvature just means that the perpendiculars to the line don't meet within that zone...<br />
<br />
pxegeek: obviously<br />
<br />
pxegeek: Ah synfig's finished building!<br />
<br />
dooglus: oh, I see what you mean<br />
<br />
pxegeek: And much smaller size without the debug options set<br />
<br />
dooglus: the gradients meet at the centre of the circle<br />
<br />
pxegeek: yup<br />
<br />
dooglus: I think this is exactly what supersample is for<br />
<br />
dooglus: you'll get a smoother crease...<br />
<br />
pxegeek: Yes - that looks smoother<br />
<br />
dooglus: it's red meeting green - that's never going to be'smooth'<br />
<br />
dooglus: I used clashing colors to illustrate the point - typically it'll be grey meeting a slightly different grey - but still a meeting of different parts of the gradient<br />
<br />
pxegeek: But you can still do a smooth fade between red&green....<br />
<br />
pxegeek: :)<br />
<br />
dooglus: with antialiasing, yes<br />
<br />
pxegeek: It's just a question of how much area you want spread it over<br />
<br />
dooglus: the curvelayer does this: for each point, which bit of the curve is closest to it. draw a line through the curve to the closest point.<br />
<br />
pxegeek: I'll explore the compositing linear and perpendicular curves idea<br />
<br />
dooglus: I've found a bug in the perendicular c.g. though<br />
<br />
dooglus: pxegeek: [[Image:Perp-curve-gradient-stripes.png|example of a perpendicular curve gradient with a striped gradient]] shows how the perpendicular gradient works (and how it breaks - what's the big white patch??)<br />
<br />
dooglus: pxegeek: if you can suggest how to'blend'the colors in that example, I'll have a go at implementing it... you've got a whole bunch of different colors shooting out at different angles - how do you make that look smooth?<br />
<br />
dooglus: I'll check the logs tomorrow - I'm off to bed now. maybe the wiki's curvegradient talk page would be a good place for this, so we can find it easily later.<br />
<br />
dooglus: night all :)<br />
<br />
pxegeek: 'night dooglus<br />
<br />
pxegeek: Yes, that example may be tricky to smoothly transition ;)</div>Dooglus