Easy animated and "expanded" gradient technique

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
DK
Posts: 2895
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Post by DK »

Hi Synth....actally it was Vern who suggested it could be used for gradients....i merely did the experiment.

Cheers
D.K
User avatar
synthsin75
Posts: 10267
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Post by synthsin75 »

Global lighting in AS!!!

Image

Here's the simple test file.
http://www.mediafire.com/?mvonu0c09p1

:wink:
User avatar
DK
Posts: 2895
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Post by DK »

Wow!!! Nice one synthsin :D :D :D :D :D

D.K
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Post by chucky »

that's fantastic Synth , woohoo Image
It' like being able to mask but without frickin' around with masks!
The best thing is that it changes size.
User avatar
synthsin75
Posts: 10267
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Post by synthsin75 »

Yeah, being able to adjust the size was Verns idea. This should really be more Vern's thread than mine. I just kicked off the idea. It was Vern that made it truely usable. (And DK brought up the issue that inspired it.)

:wink:
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Post by chucky »

Is this practical for characters and scenes with multiple layers?
Its seems OK for shapes one the same layer... mostly , but the simpler the better huh?
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

It was a team effort and... well when I split the topic it "belongs" to the first author of the "first" post. A good result though no matter who gets credit. ;)

-------

This could be used for multiple layers for simple lighting changes I think, if you used bones to keep it simpler to change things. How drastically would you be changing the lighting in a scene? If you get carried away this could become the "age of aquarius psychedelic trippin' where's my black light man" technique. ;)

-vern
User avatar
synthsin75
Posts: 10267
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Post by synthsin75 »

Yeah Chucky, this could be used for multiple layers easily. You'd just need to make the 'lighting points' for each layer and make sure that each shape includes them. Then you'd just point-bind these 'light points' to the same bone rig.

In my example, that blue background could have easily been a second layer (I just did it in a hurry, hopefully apparent by the artwork). The three lighting points further away from the rig are part of that background shape. I had to expand them further away from the rig so that they'd be big enough to alter the size of the background shape.

This technique only works because the light points expand and alter the size and shape of an object (although you don't notice the part of the object inside the light points that have been scaled to zero.

If you point translate one of those light points, you'll find each is actually like four points containing part of each shape in the scene.

:wink:
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Holy cow!

I was wracking my brain trying to figure out how this could work with out scaling the gradient as the center moved... OF COURSE! Just have two sets of point groups and shift them around maintaining the "size" of the fill but changing the center point! It's like actually moving the gradient behind a mask... without the mask... as someone already mentioned.

It's so obvious... sometimes I can be an idiot. :oops:

-vern
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Post by chucky »

make the 'lighting points' for each lay ... udes them.

Hmmmm. that's what I mean, might take a bit of getting used to.
Of course that's another shape effect used up :wink:
User avatar
Víctor Paredes
Site Admin
Posts: 5814
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

Hi, I'm back from little vacation and there is a lot of think to read in the forum. exciting things.
but, sorry, I can't understand how did you make the animated lighting gradients... It's the third time I read the thread, but can't get it and the anme files still being a mistery for me.:oops:
can someone explain it for my hard head?


thanks!
User avatar
synthsin75
Posts: 10267
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Post by synthsin75 »

Selgin,

In the example file, if you select the vector layer you'll see there are six points moved by the bone rig. If you translate any of those points, you'll find that each is actually four points scaled to zero. While you have one (or more) of these 'opened up', select through the shapes of the figure and background.

You will see that each of the figure's shapes include the three closer points (light points), and the background includes the three further points. This makes the gradients stretched across the whole area of each shape. Then changing that area by scaling and moving them with the bone rig, changes the 'lighting'.

I'm not sure if that helps explain it or not. :? :wink:
User avatar
Víctor Paredes
Site Admin
Posts: 5814
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

oh, thank you! now I understand. Tricky technique, but simple and smart.
uhm, I think I'll use it in my project right now. :D
thanks!
engine
Posts: 6
Joined: Fri Dec 26, 2008 4:41 pm

Post by engine »

Hi to All

I am newbie with Anima Studio and even after explanation
above still cannot make this trick to work.
I have following problem>

I do everything as said but when I move bone main shape moves as well ...not only gradient fill inside and zeroed points.

I would appreciate further help

thanks
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Make sure the layer is not bound to the bone. Make sure only the "extra" gradient points are bound to the bone. It helps to start from "scratch" until you get it working and understand it.

Can't say for sure what you've done wrong without seeing the file.

-vern
Post Reply