fill with a gradient to transparent

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
rafaelinux
Posts: 1
Joined: Fri Jan 06, 2006 1:39 am

fill with a gradient to transparent

Post by rafaelinux »

Let's say I Have some sort of ball. It's yellow. It has enough effects and gradients to "be" sort of 3D ;). Now I want to give it some light reflect.
Some sort of... Have you seen the Smiley Central emoticons?... they use a lot of gradients to transparent there... is it possible to do?... I've tried many ways. But the only result i've got is... well... total defeat XD.
... I want the gradient to fade down to the sphere... Not to the Fill of this reflect. 'cos I don't want any fill in the reflect, only the gradient to transparent...
Got the idea?
any workaround not involving textures?..
thanks :D
myles
Posts: 821
Joined: Sat Aug 21, 2004 3:32 am
Location: Australia, Victoria, Morwell
Contact:

Post by myles »

As far as I know, Moho doesn't do graduated transparency, except in bitmaps (does a masked bitmap count as a texture?). Feature request?

The best I can manage easily is this:

Image

However, it relies on the "ball" being defined by a simple linear gradient.
The highlight is also a simple linear gradient, with its endpoint being the same as the ball's midpoint.

The "shadow" helps trick the viewer's mind into seeing the "ball" as 3D.

You might possibly be able to work this further by having multiple highlight shapes blending into each other.

Regards, Myles.
"Quote me as saying I was mis-quoted."
-- Groucho Marx
User avatar
7feet
Posts: 840
Joined: Wed Aug 04, 2004 5:45 am
Location: L.I., New Yawk.
Contact:

Post by 7feet »

Well, dang, Myles, thats a remarkably nice illusion, for something you just whipped up. I'll have to keep that one in mind.
Jus_Me
Posts: 45
Joined: Wed Dec 14, 2005 10:10 pm
Contact:

Post by Jus_Me »

7feet wrote:Well, dang, Myles, thats a remarkably nice illusion, for something you just whipped up. I'll have to keep that one in mind.
Yea, Agreed :P
User avatar
ingie01
Posts: 249
Joined: Sat Oct 08, 2005 8:01 pm
Location: Kingston, New York USA
Contact:

Post by ingie01 »

Myles- posts like that show the power of the program, but more importantly people like your are what make this forum so great!
THANKS.
You'll know when you get there! My Dad
myles
Posts: 821
Joined: Sat Aug 21, 2004 3:32 am
Location: Australia, Victoria, Morwell
Contact:

Post by myles »

Thanks everyone!

Reading Gary Priester's excellent Xara tutorials help with this sort of thinking - 10 years of monthly vector tutorials from an expert.

Regards, Myles.
"Quote me as saying I was mis-quoted."
-- Groucho Marx
Post Reply