arbitry graident?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  12 December 2003
arbitry graident?

How can I make a smooth gradient that follow the contour of my selection? for example I have a shape of a star I want the gradient to fall in a shape of the star in the center.

Is there any other way to achieve this? This has been my all time hardest PS problem...especailly if you have a very irregualr smooth curved selection, cloning severl straight gridents will not work...
  12 December 2003
I'm not sure I totally understand your question. You could try using gaussian blur to soften a shape, then use that to define a gradient range.
  12 December 2003
do it in illustrator.
  12 December 2003
You must try KPT pluggins...I think you will get it in the KPT 3.0 set
I see the world in Wireframe!
  12 December 2003
Quote: Originally posted by halo
do it in illustrator.

I don't have illustrator
  12 December 2003
just say u want ur star to be coloured black for the outer n has brighter colour inside.

duplicate the object, n resize it. ( in smaller size)
then place the object in upper layer position.
then use gausian blur on it a little .

u know have one big star n a small star in it.

now, duplicate ur big star n color it black. then place it under the other big star.

now, u should have your layers positioned like this :
1. small white blurred star.
2. big white star
3. big black star
4. background

the next step is adding masking on the seccond layer ( the big white star layer).
user reveal all masking.

now with magic wand tool, select the area outside of the big white star.
then go to the masking layer ( the layer placed next to the big white star layer). use the paint bucket tool, n paint all off the area outside the white star black ( in the masking layer, so it wont effect any of ur work so far).

the last step, deselect all of ur work. ( u should have it selected in a star shape previously).
now still on ur masking layer, choose Filter > Blur > Gaussian blur.
set to the blur size u prefer, then apply it.

note : the small white star on the top is just to keep ur star shape inside of the big star.

did it solve the issue?
Attached Images
File Type: jpg bunga.jpg (10.7 KB, 45 views)
  12 December 2003
sorry this isnt it, the gradient i'm looking for is a complete smoothed interpolation. your one looks like a blured filtered, it removes the detail of the object.

Last edited by yinako : 12 December 2003 at 02:17 PM.
  12 December 2003
it should look some thing like this, except this is an approximation, i doubt it looks like a real arbitary gradient, but it should contain the original details, with more smoothed interpolations
Attached Images
File Type: gif starg.gif (14.1 KB, 60 views)
  12 December 2003
Do you have a 3d prog at your disposal?
  12 December 2003
yeah, but I'm really looking for a ps solution

Last edited by yinako : 12 December 2003 at 04:31 PM.
  12 December 2003
why can't you just blur the one you have?

anyways, make yer star shape in one layer. create a new layer and using the diamond gradient tool, create a gradient that fades to transparency (I used one called Shiny Sphere under the Special Effects gradients...then replaced the black with transparency...but I was in Grayscale mode). this will give you four branches. so duplicate the layer a few times, rotating 30 degrees (360/12 petals=30) each of the new layers. once you are all done with that, layer mask the original star shape onto each of the duplicates.

once you've done that you may want to play around with blending modes. i used lighten. create 1 new layer at the very top for whatever white shape you want in the middle.

ends up taking about 10-15 minutes.

in my sample below, i didn't make the gradients quite big enough, so make them bigger than your original star shape.

psd 7.0 sample - right-click + save as
  12 December 2003
PS only? :blech:
Here are some of my thoughts.

As already mentioned, KPT3's Gradient Designer can do it. Although, you can't exactly get KPT3 anymore. Although, Gradient Designer might come with the KPT bundle that Corel(?) has for sale.

Or you can try the multi-tiered Gaussian Blur. Toss into an Alpha. Load the selection on itself. Run Gauss at 40, 20, 10, 5, and 2. Deselect and Guass one last time at 1. If 40 is too much or too little, then try a different series, like 60, 30, 15, 8, 4, 2, 1. Not the greatest solution, but it can work.

Or you maybe you can hack something together with Polar Coords. Whenever I see something radial, Polar Coords is one of the first things that I try. Sometimes Polar Coords can help with a lateral plan of attack.

Personally, I say use a 3d prog to help. Build the shape, slap a gradient on it, and render straight on.
A lot less headache than a PS only solution.
  12 December 2003
Maybe I don't get what your saying. Is it not something that a radial gradient can do? Maybe with a marquee?

Or what about making a custom shape to apply a glow effect to? You know, like making 1 pixel lines in the shape of your star, adding a glow effect and masking the lines out?

Maybe I don't understand the problem but it surely can't be too hard.
  12 December 2003
Quote: Or what about making a custom shape to apply a glow effect to? You know, like making 1 pixel lines in the shape of your star, adding a glow effect and masking the lines out?

Ah! Layer Style.
Plus you get the bonus of being able to control the contour.
Good answer.
  12 December 2003
i just thought out one way
fisrt create the biggest object for the outer,
then select it using magic wand tool,
then choose Select>Modify>Contract
set it 2 (its all ups 2 u ^^)
then duplicate your selection to another new layer and place it above the bigger one.
set the brightness of the object too.
now back to the first big object again,
select it using magic wand again, then use the same way,
but set the contract to 4 this time.
place the new duplicated object on the top also.
now u may repeat it again and again ^^
this is the result i got by repeating the duplicating n setting brightness contrast for 5 times
hope it works ^^
Attached Images
File Type: jpg contract.jpg (17.8 KB, 31 views)
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 08:29 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.