random switching?

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

Moderators: Víctor Paredes, Belgarath, slowtiger

quatto
Posts: 4
Joined: Fri Jan 11, 2008 3:36 am
Location: Indiana
Contact:

random switching?

Post by quatto »

hey i was wondering if there's a trick to make a switch layer just switch randomly... reason being i dont want to go to the trouble of having to remember to make my characters eyelids blink all the time when it really (for the most part) doesn't have to be in sync with anything. i have enough trouble just trying to remember to get my own eyelids to blink after i've been staring at the computer screen for eight or nine hours.
User avatar
heyvern
Posts: 7035
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

No. No random switch. I thought maybe a "noisy" interpolation on a switch but that doesn't work.

This could be "scripted" but for now you will have to do it by hand OR set up a looping cycle that runs through the whole animation.

Just create that first blink cycle (including NOT blinking) and set the last key frame of that cycle to go back to the first part of that cycle. This will then make the blink repeat over and over through out the animation until you key the switch layer again.. I think blinks are about every 3 seconds? Maybe more? If the pattern is too "regular" you could make the cycle longer and have some variations.

-vern
User avatar
slowtiger
Posts: 6081
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

Don't do that, please.

Eye blinks tell as much story as the rest of the body. Don't waste that dimension by making it automatically.
User avatar
Víctor Paredes
Site Admin
Posts: 5660
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

i remember there was a random switch script somewhere.
i'll search.
User avatar
Víctor Paredes
Site Admin
Posts: 5660
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

ok, here is it
viewtopic.php?t=2356

i hope it still working.
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

selgin wrote:...
i hope it still working.
It is. But I'm not sure if it's a good idea to use it for blinking...
User avatar
Víctor Paredes
Site Admin
Posts: 5660
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

rylleman wrote:It is. But I'm not sure if it's a good idea to use it for blinking...
yeah, but however it's good to remember which scripts have been wrote so far.
(anyway, thank for your script, i will download them when i were in mi pc)

i don't think it's a good idea either. blinking is not so random as you can believe. there are a lot of emotion you can do just blinking,
quatto
Posts: 4
Joined: Fri Jan 11, 2008 3:36 am
Location: Indiana
Contact:

Post by quatto »

thanks for the script, i'm gonna give it a try. I am aware that blinking can be used to convey emotioion and expression, but if quality were job #1, i'd prolly be doing frame-by-frame instead of bone-based. Basically, what i'm going for with this project is more Williams Street than Don Bluth.

I'm putting together an animated series with limited resources, so anything i can use to reduce the time i spend on the tedious details is a boon. Think of it like this: in a twelve minute short, a character blinks about 240 times. with at least two characters on screen, that's gonna be over an hour of work to manually insert. If the random switching works even a little, i'll use it to lay down the filler, then go through and tweak it. Same concept as using fan bones, they keep my shoulders and elbows from going all cuckoo, but i still have to go in and manually tweak them sometimes.

in summary, i know it will look like poo, but i'm trying to tell stories, not create a visual orgy.[/i]
User avatar
mkelley
Posts: 1647
Joined: Fri Nov 02, 2007 5:29 pm
Location: Sunny Florida
Contact:

Post by mkelley »

If that script doesn't work for you it's a trivial matter to write something that will generate the file you need (as a .DAT file) in almost anything (Excel, VB, even batch DOS).
temujin143
Posts: 19
Joined: Fri Jun 29, 2007 5:55 am

Post by temujin143 »

quatto wrote: in summary, i know it will look like poo, but i'm trying to tell stories, not create a visual orgy
Just an opinion which you can just ignore of course.

Marketing people usual work hard to make very attractive graphic advertisements to make sure people passing by would stop and take a look at what they offer.

I believe it's the same with animated stories. A good visual would atleast ensure that people would stop and perhaps they would listen through the whole story.

That's just my opinion
quatto
Posts: 4
Joined: Fri Jan 11, 2008 3:36 am
Location: Indiana
Contact:

Post by quatto »

don't misunderstand me, temujin: I agree that if i weren't trying to convey a certain visual aesthetic then using animation instead of live action would be pretty pointless. I think catching the average person's attention has more to do with color and line and overall composition, and less with a subtle nuance like the timing of eye blinks.

I think the fact that this discussion is taking place on a bone-based animation program website and not on the Corel Painter website, most people here would agree that automating tasks doesn't necessarily make your product inferior.
User avatar
heyvern
Posts: 7035
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

If you want to get REALLY crazy, Pixar "offsets" each eye blink, the left and the right, by like a frame to make it not so mechanical looking I guess.

-vern
quatto
Posts: 4
Joined: Fri Jan 11, 2008 3:36 am
Location: Indiana
Contact:

Post by quatto »

in the past i've used a similar trick: both eyes close in unison, but open slightly out of sync.
User avatar
cableon
Posts: 155
Joined: Thu Jan 17, 2008 6:44 pm
Contact:

Post by cableon »

Would there by chance be a way to set a switch layer's own frame rate, other than moving every keyframe one by one in its sublayers ?

That is, for instance, in a project set to 12fps, have a switch layer displaying images at 7fps ?
User avatar
heyvern
Posts: 7035
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Currently the only way to do that would be to calculate the position of frames at 12fps that would be 7fps and put keys in the switch. According to my calculations the closest you could get to that would be every 2 frames. The exact number should be every 1.71 frames (12 fps / 7 fps).. but that's impossible. ;)

-vern
Post Reply