Page 1 of 1

fill with a gradient to transparent

Posted: Thu Jan 05, 2006 4:47 pm
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

Posted: Thu Jan 05, 2006 6:03 pm
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.

Posted: Thu Jan 05, 2006 10:11 pm
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.

Posted: Sat Jan 07, 2006 12:34 am
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

Posted: Sat Jan 07, 2006 5:29 am
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.

Posted: Sun Jan 08, 2006 2:00 pm
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.