Vector Noise question.

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Nucleus
Posts: 127
Joined: Sat Mar 03, 2007 11:22 am
Location: New York, NY
Contact:

Vector Noise question.

Post by Nucleus »

This question is not imminent, but may be useful in the future.
I'm applying a noise effect on a vector layer that will represent foilage from a tree. http://mysite.verizon.net/gustavoguzman ... sunset.avi
is there a way to get more control over that noise layer so it does not appears as it is scrolling along with the camera movement? perhaps to create a slow rocking motion?
"Queso"
User avatar
slowtiger
Posts: 6246
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

Hm, I think this is not AS' fault but an optical effect of our brain.

The vector noise is completely random. Now if you move an object sideways, like your tree, some "peaks" of the line will appear in the same position as peaks in the preceeding frame, thus giving the illusion of a peak which stays in place while the tree moves.

In general, this problem appears everytime when objects have the same size as the increment of the general motion. It is known as http://en.wikipedia.org/wiki/Wagon-wheel_effect: when the wheel of the coach in a western movie has 12 spokes, and revolves exactly a 1/12 (or a whole multiple of it) of its circumfence between two frames, then you'll perceive the wheel as standing still.

The effect would occur even if you use static leaves, as long as the leaves and gaps are about the size of the increments of the tree's movement. You can overcome this problem by creating bigger objects which move with the tree and attract the viewer's eye more prominently: a clearly visible branch or several bigger bunches of leaves.
User avatar
Nucleus
Posts: 127
Joined: Sat Mar 03, 2007 11:22 am
Location: New York, NY
Contact:

Post by Nucleus »

slowtiger wrote:Hm, I think this is not AS' fault but an optical effect of our brain.

The vector noise is completely random. Now if you move an object sideways, like your tree, some "peaks" of the line will appear in the same position as peaks in the preceeding frame, thus giving the illusion of a peak which stays in place while the tree moves.

In general, this problem appears everytime when objects have the same size as the increment of the general motion. It is known as http://en.wikipedia.org/wiki/Wagon-wheel_effect: when the wheel of the coach in a western movie has 12 spokes, and revolves exactly a 1/12 (or a whole multiple of it) of its circumfence between two frames, then you'll perceive the wheel as standing still.

The effect would occur even if you use static leaves, as long as the leaves and gaps are about the size of the increments of the tree's movement. You can overcome this problem by creating bigger objects which move with the tree and attract the viewer's eye more prominently: a clearly visible branch or several bigger bunches of leaves.
Interesting effect. but this happens even if i take the shape an move it around the screen. they aren't really leaves, but noise in the shape creating the illusion of foliage. the noise in the shape is the one responsible for the foliage motion. i wanted to slow down this effect or stop it somehow.
"Queso"
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Noise is frame based. You can't slow it down. It works on every frame. There is no "time" value.

You are using the "Noisy..." key frame interpolation correct? Try using the vector noise in the vector tab of the layer. Just don't select "animate noise". This might give you the same effect.

-vern
User avatar
Nucleus
Posts: 127
Joined: Sat Mar 03, 2007 11:22 am
Location: New York, NY
Contact:

Post by Nucleus »

I could however fashion the leaves in photoshop or render some in AS then import back as png, but as a Anime Studio purist, Id like to create the animation entirely using its tools. I attempted to emulate this using particles with horrendous results.
"Queso"
User avatar
Nucleus
Posts: 127
Joined: Sat Mar 03, 2007 11:22 am
Location: New York, NY
Contact:

Post by Nucleus »

heyvern wrote:Noise is frame based. You can't slow it down. It works on every frame. There is no "time" value.

You are using the "Noisy..." key frame interpolation correct? Try using the vector noise in the vector tab of the layer. Just don't select "animate noise". This might give you the same effect.

-vern
Its what i did. it does not work.

thanks anyways guys.
the effect looked promising. :) but png will have to do.
"Queso"
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Nucleus wrote:
Its what i did. it does not work.
Can you be more specific? It seems to work fine for me. I have spikey noisey outlines with no motion in the test I did.

EDIT

Scratch that. It does move. You are right. Nevermind. I didn't actually key the point motion. Oops!

-vern
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

heyvern wrote:Noise is frame based. You can't slow it down. It works on every frame. There is no "time" value.

You are using the "Noisy..." key frame interpolation correct? Try using the vector noise in the vector tab of the layer. Just don't select "animate noise". This might give you the same effect.

-vern
Are you sure heyvern?

As far as I know "Amplitude" is the maximum value to be moved the value from its centre value (the current one at the noisy keyframe) and "Scale" is the number of frames that should pass between changes...

Nucleus:
Place some bones on the leafs and make the angle noisy with different keyframes for each. Apply mainly those values:
Scale = 10 (10 frames)
Amplitude = 0.60 (0.60 radians)
Change number of frames between bones to give more randomness. Also set the keyframes at different frames. It would get different random seeds.

That would work. :)
-G
User avatar
Nucleus
Posts: 127
Joined: Sat Mar 03, 2007 11:22 am
Location: New York, NY
Contact:

Post by Nucleus »

I'll give that a go. Thanks. :D
"Queso"
User avatar
Nucleus
Posts: 127
Joined: Sat Mar 03, 2007 11:22 am
Location: New York, NY
Contact:

Post by Nucleus »

I think my problem may be resolved using a customized "Leaf" brush to draw out my foliage and animate that using bones. its merely concept to me, but seems like a sound one. will post my results. :)
"Queso"
User avatar
slowtiger
Posts: 6246
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

Seems I didn't write clearly enough. OK, try again ...

Your problem appears to be so prominent only because the leaves of your tree actually are just one big shape with one colour. Try to split up the crown into four or five shapes, each with its own outline, nicely overlapping each other, and coloured in a way that only separate colours touch each other. The result should make the scrolling much less prominent as the eye now has bigger shapes to follow.

If I try to imagine the movements of leaves, I wonder if there aren't some other solutions with a better result. 3D animators could of course script every twig and leave. Hand-drawn animation like Charly Brown by Bill Melendez had, IIRC, a fixed overall shape of the treetop, and then some bushels of leaves animated when necessary. This was enough to give the impression of a light breeze.
User avatar
Nucleus
Posts: 127
Joined: Sat Mar 03, 2007 11:22 am
Location: New York, NY
Contact:

Post by Nucleus »

slowtiger, the problem was because the vector noise i applied the shape to is fixed. It cannot be controlled, so it goes through its transition whenever the object is moved.
Updated my first link to reflect changes done. what I did was:

create several lines with varying thickness.

while selecting your line in shape mode, swap the standard brush with a customized leaf one (black silhouette over white background of desired shape in png format). this will be your foliage layer.

create a few branching bones and give the branches noisy controllers, adding the following coordinates as explained by Genete (thanks man!).

Scale = 10 (10 frames)
Amplitude = 0.60 (0.60 radians)
Change number of frames between bones to give more randomness. Also set the keyframes at different frames. It would get different random seeds.

and bind.

works great!
"Queso"
User avatar
Nucleus
Posts: 127
Joined: Sat Mar 03, 2007 11:22 am
Location: New York, NY
Contact:

Post by Nucleus »

After fiddling around, Ive come to the conclusion that cycling is the way to go as you have more control over the effect. updated. same link.
"Queso"
User avatar
Nucleus
Posts: 127
Joined: Sat Mar 03, 2007 11:22 am
Location: New York, NY
Contact:

Post by Nucleus »

I did however used noise for this quick germ clip. the same line technique i used on the trees leaves is done on this.

Preview
http://mysite.verizon.net/gustavoguzman/video/germ.avi

AS File here
http://mysite.verizon.net/gustavoguzman/germ.zip
"Queso"
Post Reply