POV-Ray : Newsgroups : povray.advanced-users : Calculating an angle : Calculating an angle Server Time
28 Jul 2024 22:23:13 EDT (-0400)
  Calculating an angle  
From: Tim Nikias v2 0
Date: 22 Sep 2003 18:15:54
Message: <3f6f749a$1@news.povray.org>
What I'm trying to do for my Worm is the following:
I know the position of the neck, so to speak the
point where the head will be attached. I know the
distance between the neck and the eyes.
And finally, I know a position where the Worm
should look at.

What I'm trying to do is to calculate an angle for
neck, so that the eyes, when looking straight-forward,
will look at the focal-point.
I somehow can't manage to get my head around
the problem so that I actually get the correct
angle. I seem to end up with an angle which would
point eyes sitting the neck to the object, but eyes
sitting on the head will actually look too far below
or above the point.

And yes, I do know of the difference between
radians and degrees in POV-Rays functions,
so that's not the reason for looking at wrong
positions. Any clues? Preferrably with an explanation
of the approach?

Thanks in advance,
Tim

-- 
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: no_lights (@) digitaltwilight.de



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 19.09.2003


Post a reply to this message

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