POV-Ray : Newsgroups : povray.binaries.animations : ik walk Server Time
20 Jul 2024 13:22:38 EDT (-0400)
  ik walk (Message 21 to 23 of 23)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Bill DeWitt
Subject: Re: ik walk
Date: 31 May 2001 23:35:53
Message: <3b170d99@news.povray.org>
"Rune" <run### [at] mobilixnetdk> wrote in message
news:3b16d070@news.povray.org...
> "Reusser" wrote:
> > I noticed that the hips were swaying the wrong way,
> > so I just switched the sway to a negative value and
> > added in a checkered floor (shudder) for reference.
> > Hope this looks more realistic.
>
> Sure does! :)
>
> I just wish I could get my QuickTime player to loop... :(

    I just wish that I didn't have to uninstall my quicktime in a rage when
it usurped all my animation format associations without asking and then
wouldn't play them anyway. "MPG: Unable to recognize format"... then why did
it steal the association?

    Razzerfrattermezzelplatz


Post a reply to this message

From: Rune
Subject: Re: ik walk
Date: 1 Jun 2001 09:14:30
Message: <3b179536@news.povray.org>
"Reusser" wrote:
> In the file I posted, I altered the knee macro so that
> it would point the limb in the direction of the ankle
> if the points are too far apart.

In my system if one of the hip points are too far away from the ankle I move
the hips closer.

> I also added in a feature so you can set a certain
> amount of resistance so the knees don't snap when they
> fully extend.

Resistance sounds like a good idea. I'll have to look into that.

What I'm thinking about doing is simply to move the hip closer to the ankle
so the distance is, say 95% of the length of the leg. (The actual percentage
would be a variable controlled by the user.) Is that what you're doing too
or is your method more sophisticated? I didn't quite understand your
explanation.

BTW, I'm working on my own IK system in these days, so I might post
something in a few days. :)

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated May 10)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: Reusser
Subject: Re: ik walk
Date: 1 Jun 2001 18:06:24
Message: <3B181199.60BA5D@chorus.net>
Rune wrote:

> Is that what you're doing too
> or is your method more sophisticated? I didn't quite understand your
> explanation.

Actually, I spliced three graphs together so the output length follows the red
line simply using #if( ) statements (yes, I know a switch staement would be
much easier).  The graph shows the length between the hip and ankle points on
the x-axis and the adjusted length of the limb on the y-axis.

The equation for the parabola is just:
y =  maximum length  - 1/4  *  1 / cushion  * ( x  -  cushion  -  maximum
length ) ^ 2

This allowed me to set a specific zone where the limb would resist full
extension.  It works pretty well based on my experiments.  In one example I
tried, I just bounced the hip point straight up and down and the legs followed
the jump without snapping at all.

 - Rico


Post a reply to this message


Attachments:
Download 'graph.jpg' (19 KB)

Preview of image 'graph.jpg'
graph.jpg


 

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.