POV-Ray : Newsgroups : povray.advanced-users : Tricky object alignment problem : Re: Tricky object alignment problem Server Time
28 Jul 2024 10:31:35 EDT (-0400)
  Re: Tricky object alignment problem  
From: Warp
Date: 26 May 2006 17:33:21
Message: <44777420@news.povray.org>
Orchid XP v2 <voi### [at] devnull> wrote:
> Assuming that all 4 points are actually co-plannar, what would the *the 
> simplest* way to fit a box{} object into the middle of the thing?

  Actually it's not enough for the points to be coplanar, they must also
form a perfect parallelogram or else 1 box will not do. If the shape is
not a perfect parallelogram then you'll have to use at least the difference
of two or three boxes.

  Of course you could go the easy way and close that object with
polygons or even triangles, unless you really want it to be solid,
in which case you'll have to either go with the boxes or use eg.
planes.

-- 
                                                          - Warp


Post a reply to this message

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