POV-Ray : Newsgroups : povray.general : Suggestion for new object : Re: Suggestion for new object Server Time
14 Aug 2024 01:24:34 EDT (-0400)
  Re: Suggestion for new object  
From: Dylan Beattie
Date: 16 Jul 1998 12:24:24
Message: <35AE1B27.17A81DF0@ecs.soton.ac.uk-NOSPAM>
Mikael Gustafsson wrote:
> 
> Sorry for a second post but the last sentence was a bit confusing.
> 
> With POV-Ray 3.1 I think it would be possible to incorporate a new object.
> Well, here's my two cents on the subject. The current box is probably one of
> the most used objects in POV, but it has some drawbacks. The current syntax
> only allows boxes with 90 degree corners. But if POV inwoked a new object
> that lets the user define all eight corners of the box, it would among other
> things help creating #while loops that have flat areas as complex matrix
> transformations that are required with the current boxes coule be avoided.
> 
> Mikael Gustafsson
> mik### [at] nettifi

I've always thought when making 'warped' boxes that if you could define
a plane in terms of three points that lie *on* the plane and one that
lies outside it, it would be a lot easier to use CSG's of six planes or
more to create complex solid shapes. Calculating normals or using
rotations is time-consuming and it makes my brain hurt after a while -
with a 3+1 point plane, you'd just give the locations of three corners
of each side, and another point to indicate which side is the inside and
which is the outside. The eight-point metabox would probably be easier,
but the 3+1 plane would possibly be more versatile. Opinions?

Cheers,

Dylan

---------------------------------------------------------
Dylan Beattie               dmb### [at] ecssotonacuk-nospam
Electronics & Computer Science, University of Southampton
---------------------------------------------------------


Post a reply to this message

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