POV-Ray : Newsgroups : povray.general : Inverse Kinematics Neck Include File out now ! Server Time
10 Aug 2024 13:23:17 EDT (-0400)
  Inverse Kinematics Neck Include File out now ! (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Rune
Subject: Re: Inverse Kinematics Neck Include File out now !
Date: 26 Jan 2000 16:28:20
Message: <388f66f4@news.povray.org>
TonyB wrote:
>>When you have had a closer look at it, let me
>>know what you find good and bad about it! :-)
>
>OK. I was trying it out, and found that the
>second example file won't finish parsing, but
>rather reports the following:
>
>o Calculating transformations...
>ikn.inc:237: warning Illegal matrix column: Scale by 0.0. Changed to 1.0.
>         ikn_x[_c].x,ikn_x[_c].y,ikn_x[_c].z,
>         ikn_y[_c].x,ikn_y[_c].y,ikn_y[_c].z,
>         ikn_z[_c].x,ikn_z[_c].y,ikn_z[_c].z,
>         ikn_p[_c].x,ikn_p[_c].y,ikn_p[_c].z
>      > <----ERROR
>
>ikn.inc:237: error: Singular matrix in MInvers.
>
>
>Was it something I did or am doing wrong?

If you simply ran the sample file without having
changed anything, you couldn't have done anything wrong.

I don't know what causes the problem, and I can't
reproduce it myself. :-(

Which version and system of POV-Ray are you using?
(Though, I don't know what difference it should make.)

Have anybody else had the same problem?

>Thanks in advance, Rune. Great
>work. Now I'm going to make my own test files. My head is bubbling with
>ideas. :)

Ok! I look forward to hearing more from you!

Greetings,

Rune

---
Updated January 24: 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

From: TonyB
Subject: Re: Inverse Kinematics Neck Include File out now !
Date: 26 Jan 2000 22:32:55
Message: <388fbc67@news.povray.org>
>Which version and system of POV-Ray are you using?
>(Though, I don't know what difference it should make.)


Windows. I tried every version of POV that I have, from Official to Super to
UVPOV to MegaPOV, none of them worked. :( All reported the same error.


Post a reply to this message

From: TonyB
Subject: Re: Inverse Kinematics Neck Include File out now !
Date: 26 Jan 2000 23:00:25
Message: <388fc2d9@news.povray.org>
I was just making another test scene of my own and also ran into the
inconvenience I explained, so this is a serious problem, at least on my
machine, that impedes me from using your wonderful include file fully. I'll
post the example in .binaries.scene-files.


Post a reply to this message

From: Rune
Subject: Re: Inverse Kinematics Neck Include File out now !
Date: 27 Jan 2000 17:08:20
Message: <3890c1d4@news.povray.org>
TonyB wrote:
>I was just making another test scene of my
>own and also ran into the inconvenience I
>explained, so this is a serious problem, at
>least on my machine,

I got the errors too when I ran your scene.
I have found the problem:
The lacking IKN documentation (my fault).

Here's an attempted explanation:

The neck is basically just a spline.
If the endpoints and forward vectors all
lie on the same one-dimensional line in
space, the INC doesn't know how to bend the
neck because it can only work within that
one-dimensional line. Am I making sense?

>#declare ikn_z2=z; // anything but z or -z works

Exactly. You can change ikn_z2 from z to z+0.1*x,
and the neck will work, though it will bend
in an unnatural way. Change it even more, and
it will look more natural, but then it isn't
anymore what you were trying to achieve in
the first place...

>that impedes me from using your wonderful
>include file fully.

I'm afraid you'll never be able to use to
"fully" then. There just are certain
limitations. Hope you can live with it :-)

I still don't know though, why one of the
sample scenes (nr. 2?) included in the IKN
package generates an error on your computer.

Keep the feedback coming! :-)

Greetings,

Rune

---
Updated January 24: 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

<<< Previous 10 Messages Goto Initial 10 Messages

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