POV-Ray : Newsgroups : povray.general : 3d math question : Re: 3d math question Server Time
5 Aug 2024 12:21:29 EDT (-0400)
  Re: 3d math question  
From: James Taylor
Date: 20 Sep 2002 18:05:14
Message: <3d8b9b9a@news.povray.org>
"ABX" <abx### [at] abxartpl> wrote in message
news:ev5nou0gse9a1dbjmiggri6mll1tkfjnqq@4ax.com...
> On Fri, 20 Sep 2002 22:46:44 +0100, "James Taylor"
> <jim### [at] blueyondercouk> wrote:
> > Hi all,
> >
> > If I have a set of 3d points which lay on a plane and a defined
direction
> > vector, what's the simplest way of rotating the points such that the
normal
> > of the plane points the same of the direction vector. I have a feeling
this
> > will be soooo simple but as always with this sort of thing, need a nudge
in
> > the right direction...
>
> 1. Get normal of plane as cross product of vectors on plane.
> 2. Use Reorient_Trans macro from "transforms.inc".
>
> Is this sufficient ?


unfortunately not, maybe I've got the wrong end of the stick, but I need to
know the new positions of the set of 3d points which lay on the plane.

jim


Post a reply to this message

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