POV-Ray : Newsgroups : povray.newusers : Can't get VAngleD() to work Server Time
4 Nov 2024 23:18:47 EST (-0500)
  Can't get VAngleD() to work (Message 1 to 3 of 3)  
From: Fingolfin
Subject: Can't get VAngleD() to work
Date: 28 Mar 2003 08:08:09
Message: <3e844939@news.povray.org>
I am trying to use the VAngleD() macro from "math.inc" to work. I want to
use it to make an object face a point, sort of like you can make the camera
face a certain point. However, I can't get it to do what I want to. An
example of how to use VAngleD() or another way to make an object turn toward
a point would be great.
Thanks,
Fingolfin.


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Can't get VAngleD() to work
Date: 28 Mar 2003 08:21:02
Message: <Xns934C922BE5356torolavkhotmailcom@204.213.191.226>
"Fingolfin" <til### [at] hotmailcom> wrote in
news:3e844939@news.povray.org: 

> I am trying to use the VAngleD() macro from "math.inc" to work. I want
> to use it to make an object face a point, sort of like you can make
> the camera face a certain point. However, I can't get it to do what I
> want to. An example of how to use VAngleD() or another way to make an
> object turn toward a point would be great.

You can look for information about the
Reorient_Trans() macro in the documentation:

http://www.povray.org/documentation/view/281/#reorient_trans


Tor Olav


Post a reply to this message

From: Fingolfin
Subject: Re: Can't get VAngleD() to work
Date: 28 Mar 2003 09:43:36
Message: <3e845f98$1@news.povray.org>
Tor, thanks for the help. I saw the Point_At_Trans macro by the one you
suggested, and that one seems to be working great.
Thanks,
Fingolfin


Post a reply to this message

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