POV-Ray : Newsgroups : povray.advanced-users : Locating an Object : Re: Locating an Object Server Time
30 Jul 2024 04:11:51 EDT (-0400)
  Re: Locating an Object  
From: Greg M  Johnson
Date: 5 Apr 2000 09:08:06
Message: <38EB39AB.5A59BDC6@my-dejanews.com>
wicked.

Margus Ramst wrote:

> min/max_extent only give the limits of the object's bounding box, and thus are
> not foolproof with complex CSG either, most notably intersection.
> Vector functions are the surest way to go, since every object transformation can
> be represented with a vector function.
> Furthermore, in MegaPov there is now a vtransform() function, the vector
> equivalent of transform. This makes the required operation easy:
>
> #declare T=transform{rotate ... translate ... etc}
> #declare Object=sphere{<0,1,0>,1 transform T}
> #declare Location=vtransform(<0,1,0>, T);
>
> --
> Margus Ramst
>
> Personal e-mail: mar### [at] peakeduee
> TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

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