| jumping ball with shadow
Question of Doyle:
Hi,
I think I have a board in front of head. So, I wrote my animation in a ball, by the scene jumps / flies / rolls. To the matter is now something interesting, I wanted to miss him a shadow. Due to the relatively simple environment, it would be here "only" a shadow on the ground.
Now I've created me a color, round mask it, as the radius of the ball, 3D Layer draus make 90 ° tilt, and transparency down ausblurren. Power in a round whole schonmal diffuse shadow on the ground. Then these gabs separate xyz-shadow on the individual positions to influence. X and Z in the shadow I with the X and Z of the ball links fit. Y brauch ich nich, since only the shadows on the ground entlanggeht.
So, now is trickier, net of logical ago, the shadow of the ball smaller and denser, so sharply, when he comes close to the ground. Accordingly, it is larger and more diffuse, when he moved away from the ground. I was not sure, so I have a desk with the lamp quickly tested and it's true:)
How was the synonymous, so I've tried just scaling of the shadow s.die Y coordinate of the ball adapt easily with the Pickwhip of scaling on the Y coordinate and ran back in my case divided by 10.81. Then it looks for the shade as soon as the ball on the floor exactly draufliegt, 100% size. Quasi Y of the ball gets bigger, so from scaling up to a maximum of 100%. However, it is small when it is removed, the other should be yes, yes he is bigger.
That with the diffusion would only then but somehow I miss the step, as I say to AE, so that the scaling of vice States should go, so scaling greater reduction in the Y-coordinate. Multiplications with -1 as bringing nothing, simple mathematics, negative x negative = positive. But math was never my thing, so HELP: D
And the whole thing by hand, I must have not synonymous;)
Probably simpler than I thought, but as I said, in front of the head board. Habs grad unfortunately not before the eyes, but you can hopefully understand.
Thanks in advance, Doyle
Reply Kino:
Hello Doyle,
While I have zero idea of AE and my other VFX strive synonymous knowledge there, but I'm 'times on this
www.videocopilot.net/tutorial/3d_shadows/
Andrew Kramer tutorial gestolpert when I tried in Motion, an animated font shadow on a sphere manner. Perhaps's.
Good luck wishes Christoph + + +
Reply Doyle:
Hi,
I have all known Kramers tutorials and in the 3D with the Shadows, only shadows gings generally, but not by moving shadows, brings me, then nothing:) Thanks anyway.
Reply thos-berlin:
Sorry, I have 3D animation of absolutely no clue. But when you're in a program 3D objects and they can move on a surface to roll and bounce, then one would have to but synonymous with a light source to create a real shadow, or because now I mistaken?
Reply Doyle:
Well, yes After Effects makes no 3D in the real sense that everything is merely hinted at pseudo-3D:) With a light in AE I've already considered synonymous, but the dirty to me most likely the appearance of the whole animation, apart from that, the lights are always a bit more effort to render is.
I suppose that I have my expression until now there is only one value to add or use a sign somewhere, so that what happened until now, vice versa happens.
Na mal schauen whether there who take the notice can deliver:)
Reply Kino:
Sorry Doyle,
but I thought the dynamic shadows (in the tutorial about it at 4:33) would be synonymous on your ball applicable. I assumed that this function is synonymous with animated objects, their purpose fulfilled.
Reply Mylenium:
With a light in AE I've already considered synonymous, but the dirty to me most likely the appearance of the whole animation,
Wüso? Shadows receive "-> A," received light "-> Off. Or duplicate the shade and on the "Only Shadow". And your other problem - differential item level and heading the ball !!!!! Then klappt's synonymous with reverse -> big difference, soft shadows, small difference, hard Shatter.
Mylenium
Reply Doyle:
So with the light I know now not so, whether the practice would, but with the difference is doch mal was:) So would my shadow scaling arises from espressiontechnisch "Y level" minus "Y of the Balls", may still be a factor in order to get adjustments, if I understood correctly jetz hab. I will try but directly afterward, thank you:)
Doyle
Reply Doyle:
Sooo, with the difference of the work so far in advance is very good, but:
The ball touches the ground, the shadow size is technically equal to 0, because location-level position 1020px minus ball 1020px = 0, logical. And the more the ball is removed, the greater it will be, however, synonymous with no limit.
Can we therefore expression by a minimum and maximum value for this pack? So in my case, for example, that the shadow of at least 70% size when the ball reaches the ground and a maximum of around 500%?
Expressions are not fine, but about some things I had never been in this head to make: D
Doyle
Reply thos-berlin:
As for the shadow size is concerned, it would have you put your formula again reviewed. It depends of the light source and its distance to the object and the distance of the object to the background.
If the light spot and seeeehhhhhr far away from the object while the object is quite close s.Hintergrund is the shadow size barely changed.
The sun does not, however, like a spot light source, but rather as an area light. The consequence will be if all the shadow edges s.den diffuser.
What is really noticeable is the angle with which the light auftrifft and the angle for the background. If the ball laterally illuminated, the shadow of a Elipse.
Furthermore, the shadow moves with the light direction. Is the ball in the air, does not change the Schttengröße, but the position.
If the light source near (lamp), then the shadow, the closer the ball s.der light source is larger.
You will therefore not only with sums and differences that you must apply trigonometric functions.
Reply Doyle:
Well, yes, I come without the light, therefore, of all that makes no stress so far. As of yesterday, the proposal with the light already arrived, I noticed that there is still much more to be observed, since the source must mitbewegen and the angle and synonymous and Other .. so I've quickly discarded. ..
Currently, yes looks like this: The shadow moves with the ball along the ground surface in X and Z, without any problems and the whole thing more do I need for my environment as far as not so. It really only lacks s.der scaling and the diffusion of the shadow come closer to / Remove the ball of the ground surface. As I said, with the difference between the level position and ball position klappt das ja super synonymous as far as what the logical magnification and reduction of the shadow is concerned, just keep them s.irgendwelche no limits to the top or bottom.
This is possibly with an iF command solve that if the value to 70 for the scaling is, the expression stops and see there the same in the other direction for a great value. Da werd ich nochmal weiterdenken in the direction.
But thank schonmal up here:)
Reply thos-berlin:
yes, I come without the light
If you get no light. skips the ball in the dark and you have no shadow.
But seriously:
Did you read my post? You have not yet written, or where lighting conditions under which the ball bounces.
Which depends namely elementary, as the shadow looks like. If your lights do not play any role, then perhaps the ball is in the nature of sunlight and his beschienen. Then there is no noticeable change in size, but the position and the transparency will change ....
If a Lichquelle closer, then the light rays are no longer (nearly) parallel. Then the shadow of bigger, the closer the beleuctet Objakt s.der light source is and the distance to the "ground" is widening. Here, the shadow in the case of the smallest diameter of the ball have. Major angles will therefore functions and the beam will be applied in order to approximate the proper shade bereczhnen size to be calculated.
Reply Doyle:
In the dark? Not really:) I speak here not of a "real" 3D environment in which everything physical and must vote in a light source must exist, so it is not dark, it is in all three dimensions (indicated) of AE, but did nothing with the actual 3D compositing to be done.
My environment very reminiscent s.die iPod spots, with a color as the background and it is moving Sillhouetten and then of course the ball the entire animation was requested for an intro-movie of an image. The shadows of the scenery in the whole should just give depth and plasticity. And the shadows will stop einfacherweise represented by a color which is associated movement, precisely due to the stress with the scene lighting to bypass!
Reply thos-berlin:
Maybe I can see to physically.
Even in the non-real environment is a shade under a light. Before Your light somewhere must come even if you do not want to explicitly specify source. At least one Annhame.
Since we have experience with the shadow, the shadow viewers a false representation quickly remember. We will probably mostly by sunlight s.Schatten think.
So we make the simplest assumption: It is the sunlight of the front top left. Then when the ball is s.Boden, the shadow directly under the ball, slightly moved his right rear. Is the ball in the air, the shade right next to the rear wall, in the size remain the same but because of the scattered light may diminish in intensity.
Now, the location of the plot nor a role. You will probably schäg the incident light (horizontal bottom). The flatter the supposed Sonneneinstarhlung is, the eliptischer the shadow on this area (regardless of where the ball is).
The midday sun in Africa created (if I am not mistaken) in the autumn and spring a round shadow directly under the jumping ball, which always synonymous with the jumping and the ball remains the same size. Why? The sun stands vertically above the earth. "
In our latitudes, the sun never vertically. So here is a shadow of Eli and his jumping at the ball, the shadow opposed to light hiking, but retain the same size.
So the first step for the non-live audience at the equator: the shadows to make a slight Eli (in the direction of light).
Second Step, the shadows not resize, but possibly in the intensity (the ud synonymous rather minimal).
The shadow position is not directly under the ball, but depending on the jump height of something to move (eg to the rear and right). Even if the ball touches the ground, the shadow is not directly vertically below the ball, but somewhat shifted
If you have the whole thing with the desk lamp tested, then you have a different assumption geamcht. Then you're right that the shadow will be larger and more diffuse, the closer the ball s.der next lamp and even he is removed from the ground. For the Größenberechnug So you have to apply the Strahelnsatz.
But here is synonymous with the words of Eli, as the soil is not perpendicular to the (notional) is light.
PS: If your ball in a room with completely diffuse light jumping (ie "light from all directions"), you would have virtually no shadow ....
Reply Mylenium:
Can we therefore expression by a minimum and maximum value for this pack?
linear (difference, DiffMin, DiffMax, GrößeMin, GrößeMax)
Difference as a driver, at the 4 different values of the desired target values.
Mylenium
Reply Blackeagle123:
Such formulas can be found somewhere in an Internet library, or even in the AfterFX Help? Because every time I must search until I have the formulas again. Can not remember me, since I rarely need them.
I had the problem with a fixed light solved. Because the shadow is not only bigger but synonymous oval, depending on where the light is positioned in between times even a bit sharper. All the things you AfterFX calculated with a light source actually very good. How would you you s.Stress some calculations with the save. But I do not know what is good and should be about whether the shadow should be ;-)
Many greetings!
Reply Doyle:
As I said, not a realistic setting, only a very "simple" á la iPod ads with a hint of light anywhere near the top of which only a few shade to diffuse the matter to give more depth. No big light and shadow. My non-moving objects have only a very very very soft light shade to the rear, so that not everything looks so after level. Only this shadow should be soft for the ball just slightly in size and diffusion of change, because quite rigid, he again artificial.
The linearly with the expression after experimental times when I'm back dransitz, thank you.
Reply DWUA:
@ Doyle
thos Berlin has everything with "patience sky" really well explained:
Sunlight = orthogonal projection. Point source = central projection (central perspective).
The real (main) is that you have the "body shadow" (or the light reflex) of your 3-D has already shown Balls (BALL) have to be taken into account. This shall then determine the position of (his) 'hit shadow. " (These are two factors that "logically" have to fit together.
See synonymous: Quick Slashcam "shadow body"> DWUA
;)
| |