operaguy opened this issue on Oct 11, 2007 · 8 posts
operaguy posted Thu, 11 October 2007 at 8:45 AM
Attached Link: Animation, 15MB Quicktime, right click and download
Click on image to see full size.Ockham's scripts....what can you say. Study them! Use them!
This is his model of a piano. Pretty cool looking!
But guess what? It's alive!
Ockham wrote a Python Script that makes this thing
play. That's right, the Ockham Acme Player Pianer.
You have to have a midi file, one dedicated to piano/keyboard.
You have to have a .wav matched to it.
Then, you just load this great prop in your poser
and run the script. I asks you to find the two files, then it
does its thing. It's pretty fast, about 20 frames PER SECOND.
Here is the result....a quick and dirty animation at low visual resolution
just so I could show the results. The timing is off just slightly, that is
correctable, I just don't have time this morning. BTW, notice that the
pedals move as well as the keys!
It's Chopin's Revolutionary Etude.
Here is a link to Ockham's latest thread...follow the link in the
first post to find his models and scripts.
http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2715845
Deep appreciation, Ockham. It is cool
::::: Opera :::::
ockham posted Thu, 11 October 2007 at 9:59 AM
Always happy to see my stuff used! One thing I wanted to add, but
never quite finished, was an approximate hand-guider for the piano
and calliope.
Exact fingering is impossible, because it's idiosyncratic;
but it is possible to get the hands close enough to the
right keys for distance shots.
operaguy posted Thu, 11 October 2007 at 10:14 AM
The guider would be very useful.
I intend to use this model in an actual film....I have to animate the pianist. This was going to be my plan:
Place a camera over my piano pointing straight down, and another to the right on the x-axis. Turn on the video recording and play the piece. Rotoscope. That would give me gross body and arm movement, plus hand placement. I would leave finger animation alone until my final virtual camera movements were in place, then animate the fingers only where actually noticable.
::::: Opera :::::
pakled posted Thu, 11 October 2007 at 9:10 PM
cool...but I liked his Razor better...;)
having the actual keyboards, it's too lazy for me...I do applaud the coding that goes into this...never got the hang of midi, Cakewalk notwithstanding..;)
I wish I'd said that.. The Staircase Wit
anahl nathrak uth vas betude doth yel dyenvey..;)
ockham posted Thu, 11 October 2007 at 10:56 PM
Okay, that's what I was waiting for ... some evidence of genuine serious usage!
I'll find the hand-approx code, dust it off, and get it fully working.
As I recall - from three years ago - it was a couple of ball props that move
where the palm of each hand should be for each note.
You'd then set each hand to point-at the appropriate ball.
It seemed to work fairly well as long as the bass clef and treble clef
stayed in their proper zones and didn't overlap too much.... in other words,
it was OK for hymns but wouldn't handle Scarlatti.
operaguy posted Fri, 12 October 2007 at 12:23 AM
well that would certainly put the hands grossly where they belong. WIth IK it would possibly pull the arms, shoulders, body around in a useful way. a tremendous help.
the staff crossing though.......this may be a challenge! my character (Georg) is a classical composer and while the hands do not cross, they both move seriously from the bottom of the keyboard to the top and back many times. Have a listen....
http://thepreludes.com/prelude1-fd.mp3
wait for it....9MB mp3
in the film he plays at least four pieces like this.
Not that I want to discourage the development of the hand movement feature of the piano!
splash page for the film
http://thepreludes.com/
::::: Opera :::::
skee posted Tue, 16 October 2007 at 7:28 AM
bookmark
NOTE: No trees were killed in the sending of this message, but a
large
number of electrons were terribly inconvenienced.
Tiny posted Tue, 16 October 2007 at 7:33 AM
BM