|
![](/i/fill.gif) |
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] netti fi
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] ecs soton ac uk-nospam
Electronics & Computer Science, University of Southampton
---------------------------------------------------------
Post a reply to this message
|
![](/i/fill.gif) |