POV-Ray : Newsgroups : povray.binaries.images : Inverse Kinematic Neck Server Time
3 Oct 2024 19:19:16 EDT (-0400)
  Inverse Kinematic Neck (Message 1 to 3 of 3)  
From: Rune
Subject: Inverse Kinematic Neck
Date: 2 Jan 2000 17:09:41
Message: <386fcca5@news.povray.org>
I've been working on an Inverse Kinematics Neck for a while and the
development is going well.

This image shows a "neck" from two different angles.

I only give the coordinates of the 2 end points, and the tangent vectors and
the up vectors at these two points. Then the include file does the rest.

First it finds the spline of the right length. This is done by adjusting the
tangent vectors until the length is right.

Then the points are evenly distributed along the spline. This is basically
done by calculating many times the number of points needed, then walk down
the spline looking for the gap where the next required point fits.

Lastly, the up, right, and forward vectors are calculated for each point.
This is done in a way so that if there's any twisting of the neck, the
twisting is distributed evenly along the neck (this involves first
calculating how the neck would be without twisting at all). Now a matrix
transformation can easily be created for each point.

The whole process is rather quick. A neck with 1000 "links" takes only 2
minutes of parsing on my slow P150. The attached image took only 3 sec. of
parsing.

Thanks to all who have come with suggestions!

I'll keep you informed on the further development.

Greetings,

Rune

---
Updated December 22: http://rsj.mobilixnet.dk
Containing 3D images, stereograms, tutorials,
The POV Desktop Theme, 350+ raytracing jokes,
miscellaneous other things, and a lot of fun!


Post a reply to this message


Attachments:
Download 'ikn.jpg' (11 KB)

Preview of image 'ikn.jpg'
ikn.jpg


 

From: Kevin Wampler
Subject: Re: Inverse Kinematic Neck
Date: 2 Jan 2000 20:27:18
Message: <386FFAFD.42FC204C@tapestry.tucson.az.us>
Now this is something which I could definitely use, make sure that you post the
source when you feel that it is complete enough.


Post a reply to this message

From: TonyB
Subject: Re: Inverse Kinematic Neck
Date: 2 Jan 2000 22:30:25
Message: <387017d1@news.povray.org>
What can I say, except "Great work, Rune!" Please put this include file out
soon. I really like it. =)


Post a reply to this message

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