"Squashed" radial gradient fill

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
jhbmw007
Posts: 382
Joined: Thu Feb 15, 2007 5:41 am

"Squashed" radial gradient fill

Post by jhbmw007 »

Is there a way to make a radial gradient fill into an oval shaped? Like in Flash where you can use the gradient transform tool to stretch/squash?
User avatar
Squeakydave
Posts: 328
Joined: Tue Aug 03, 2004 9:44 pm
Location: UK - London-ish
Contact:

Post by Squeakydave »

There isn't I'm afraid. The only way I have found to get that kind of effect is to use Image textures. Check out the tutorial section of the manual - section 4 - Images.
User avatar
heyvern
Posts: 7035
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Here's another trick I use.

I am assuming you want a radial gradient that conforms to the shape of the object.

I use the "Halo" effect. Halo puts a sort of... stroke with the option for a soft edge inside the shape. If you make the halo really big with a large blur radius it creates a "fake" radial gradient that conforms to the shape, an oval or anything else.

You can even combine different effects using styles to have multiple colors in the gradient.

However you still can't change the center point of the gradient. The halo effects "origin" is always in the center of the shape just as in a gradient.

-vern
Post Reply