sprockets Learn to keyframe animate chains of bones. Gerald's 2024 Advent Calendar! The Snowman is coming! Realistic head model by Dan Skelton Vintage character and mo-cap animation by Joe Williamsen Character animation exercise by Steve Shelton an Animated Puppet Parody by Mark R. Largent Sprite Explosion Effect with PRJ included from johnL3D
sprockets
Recent Posts | Unread Content
Jump to content
Hash, Inc. - Animation:Master

How to use a random expression to get smoother and less dense graphics? sharp curves and smoothed


Recommended Posts

  • Hash Fellow
Posted

Part of the answer may be to use the time function to sample to random numbers only at larger intervals, like every 30 frames

Posted

It could be working with something like this "Round(Rand() / 10) * 100", if I am not wrong. Like that it would toggle more or less between two values with a more steady value.

I did not test it, but Round should be a good starting point.

 

Best regards

*Fuchur*

Posted

Good. Tank you.

 

How to choose ONE random time(instant/moment) in a certain time range?

 

How to switch values at random time? And fix it

Posted

Thank you very much, Robert!

 

Years of torture with a random expression completed ))

 

Funny)) - I randomized the time with the same parameter - and it works!

 

AtFrame(Round(GetFrame(),R1),R2)

 

R = R1 = R2 = ..|..|..|..|Shortcut to Model1.Transform.Translate.Y

(random change channel)

R1 - random time

R2 - random amplitude

 

Example:

AtFrame(Round(GetFrame(),..|..|..|..|Shortcut to Model1.Transform.Translate.Y),..|..|..|..|Shortcut to Model1.Transform.Translate.Y)

 

But of course I would like more flexible use of random expression in real time (without pre-baking).

 

Thanks all!

Posted

R - In this case, this parameter R represents the channel of random changes

 

An example is given below:

 

AtFrame(Round(GetFrame(),R1),R2)

R = R1 = R2 = ..|..|..|..|Shortcut to Model1.Transform.Translate.Y (random change channel)

R1 - random time

R2 - random amplitude

PRJ file:

http://dropmefiles.com/uFaSe

  • 6 months later...

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...