POV-Ray : Newsgroups : povray.general : Forgot to mention, faricy.net is back up : Re: Forgot to mention, faricy.net is back up Server Time
8 Aug 2024 16:22:07 EDT (-0400)
  Re: Forgot to mention, faricy.net is back up  
From: Pabs
Date: 20 Nov 2000 00:48:01
Message: <3A18BB61.CC7DFA7E@hotmail.com>
David Fontaine wrote:

> Pabs wrote:
> > Also do you have a method for shearing along a plane defined by two axes
> > in 3D space?
> > eg
> > normal in same plane
> > ^    axis 2
> > |    ^
> > |   /
> > |  /
> > | /  sheared by this angle
> > |/------------------------------------> axis 1
>
> Hmm... that might be my next macro then. :)
> Axis 3 is perpendicular to both axis 1 and whatever axis is perpendicular to
> 1 and 2...
> I orient axis 3 along z and axis 1 along x...

and y along the normal

> Then I shear z for x by a factor of tan(angle between 1 and 2)...
> Then I reorient. :)

Sounds about right :)

--
Bye
Pabs


Post a reply to this message

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