![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Rune" <run### [at] mobilixnet dk> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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](/povray.binaries.animations/attachment/%3C3B181199.60BA5D%40chorus.net%3E/graph.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |