News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu

Speed

Started by AussieBloke, January 19, 2024, 08:39:07 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

AussieBloke

Ive talked, more likely Ive asked about anilab speed, so while loking at YouTube today I saw a Yarnhub video snip of a guy inside a cockpit ( looking alarmed ) then a split second later the airplane is moving into the distance at real speed.

( yarnhub video vanished now )

Sure its an animated video but I got to wondering if anilab can do a similar technique?

Why cos Im onto part 3 of my video ( part1 & part2 are done, just need a little polishing up )


Andy H

#1
The process differs depending on whether one is using keyframes, or commands.
With keyframes one can use the law of change.
With commands, one can use a very simple script, and pass the variable to the move command. something Like
i=1.5
x = x * i
Command move x, 0, 0 

Obviously the code would need embellishing a bit.

The above will increase speed from 1 mm/second, to 8714 mm/second in 25 frames (1 second of an avi)

AussieBloke

Quote from: Andy H on January 19, 2024, 09:17:50 PMThe process differs depending on whether one is using keyframes, or commands.
With keyframes one can use the law of change.
With commands, one can use a very simple script, and pass the variable to the move command. something Like
i=1.5
x = x * i
Command move x, 0, 0 

Obviously the code would need embellishing a bit.

The above will increase speed from 1 mm/second, to 8714 mm/second in 25 frames (1 second of an avi)


Ahh, I forgot about the law of change tools. Will have to experiment there. Andy have you done any work with that tool, if so just post a gif if you would thanks. 😉



AussieBloke

#3
Just a basic animation ( in v2022 ) but I cant decide if there are changes in the speed of the two object on screen. Try the 2 different gifs.

Edit: its clear now after posting and replaying gifs that there are speed differences between the 2 gifs.


Andy H

Three simple speed gifs.  the one showing the car accelerating into the distance, doesn't really show the acceleration much.  They all use keyframe law of change - acceleration.

AussieBloke

#5

Why just the last frame?

Andy H

I should have said, Last Keyframe.  Though That only applies to these gifs, because there are only two keyframes.

Keyframe law is applied to the keyframe, immediately following where one wants the acceleration etc. to occur.  Example, one has four keyframes, 1 to 2 = constant,  2 to 3 = acceleration,  3 to 4 = constant.   The keyframe law of acceleration would be applied just to keyframe 3.

AussieBloke

Quote from: Andy H on January 20, 2024, 10:42:21 PMI should have said, Last Keyframe.  Though That only applies to these gifs, because there are only two keyframes.

Keyframe law is applied to the keyframe, immediately following where one wants the acceleration etc. to occur.  Example, one has four keyframes, 1 to 2 = constant,  2 to 3 = acceleration,  3 to 4 = constant.   The keyframe law of acceleration would be applied just to keyframe 3.

Okay thats clear now, so just to put it into perspective I want animate & accelerate the HT into the distance just after animating the tracks design from a walking scene.





AussieBloke

Andy check your email.  ;D




AussieBloke

Andy when looking at this post
https://forums.turbocad.com/index.php?topic=30962.0

( not at my pc atm )

I want to animate the tracks, ( tyres are easy ), so Im thinking that my goto method is as follows:

1. Draw 2d arcs around each rounded section of the track rubber, extending to the furtherest point of each arc.

2. Draws lines for slicing the track rubber at equal spaces.

3. Create blocks/groups for each group of sliced 3d parts.

4. Create blocks/groups for straight sliced track rubber.

Now animate each section in the keyframe editor.