Gradient with extra handles

Discuss ideas for new features with other users. To submit feature requests to Smith Micro, please visit support.smithmicro.com

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Hoptoad
Posts: 716
Joined: Sun Jan 03, 2016 4:19 pm
Location: Florida

Gradient with extra handles

Post by Hoptoad »

I often wish that I could bend the gradient to match a curved surface, like when coloring the inside of a dome or the hood of a car.

Could we have more handles with the gradient?

I'd be happy with three handles, or however many it would take to bend the gradient into an S shape.

Thank you.
User avatar
hayasidist
Posts: 3829
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Gradient with extra handles

Post by hayasidist »

Hoptoad wrote: Mon Nov 04, 2024 1:48 pm I often wish that I could bend the gradient to match a curved surface, like when coloring the inside of a dome or the hood of a car.

Could we have more handles with the gradient?

I'd be happy with three handles, or however many it would take to bend the gradient into an S shape.

Thank you.
WIBNI...Control Handles became bezier: P0, P3 the existing handles -- add P1,P2 to create the bend! (and not just for gradients...)
User avatar
Greenlaw
Posts: 10382
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Gradient with extra handles

Post by Greenlaw »

AFAIK, there are two ways to do this.

1. Bones can deform a Gradient Effect. I think the curves need to have the points to support the deformation. For example, in this example, I can't use a simple rectangle, the shape needs to have enough points along the sides to make a smooth S shape.

Image

2. Color Points is another way, and this one doesn't require bones because the colors are directly linked to the points. I have very little experience with this method, but I've seen marvelous examples by sang820 here in the forums. Here's one of his recent demos: https://lostmarble.com/forum/viewtopic. ... 8&start=15

That said, yes, I'd like to see improvements made to Moho's effects system. It's very powerful, but I'd like to see additional controls, like the ability to constrain the widget horizontally and vertically with the Shift key.
User avatar
Greenlaw
Posts: 10382
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Gradient with extra handles

Post by Greenlaw »

After posting the above, I couldn't resist trying out Color Points, so I made a copy of the shape, removed the gradient, and then sampled the colors for each row of points from the original shape using the Color Points tool. Then I bent the shape into a C shape (using Bend tool, so no bones involved)...

Image

I'm wondering if this might be the first time I really used the tool. It's pretty neat, and I can see why Sang uses it routinely. I might start using this feature more myself.

Image
User avatar
Greenlaw
Posts: 10382
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Gradient with extra handles

Post by Greenlaw »

BTW, the shape does not need to be segmented as I did in the above example. I used Weld Crossings to add the points, and if I deleted the line segments, the result should look the same because there is really only one shape in use here.
Post Reply