|
|
"folkert" <fol### [at] vanheusdencom> wrote:
> Hi,
>
> I would like to render a plane through 4 3D points.
> How can I do so?
> E.g. a plane but, as it are 3D points, it should bend where required.
>
>
> regards
Well, you can "easily" create a plane that passes through 3 points.
http://news.povray.org/povray.binaries.images/message/%3Cweb.5880fc4d1652a4dcc437ac910%40news.povray.org%3E/#%3Cweb.588
0fc4d1652a4dcc437ac910%40news.povray.org%3E
If you want a curved sheet that passes through 4 points, then you'd have to
specify how that curved sheet passes through them. any one of the 4 points
could be the "odd one out" - which then specifies the direction of the curving.
I guess with some vector math you could do something along the lines of
projecting that point onto the plane defined by the other 3 points, find one of
the 3 different centers of the triangle defined by those 3 points, and use the
center, the projected point, and the odd point out to define a spline / curve.
I just did a huge amount of work a while back to get multiple bezier patches
that pass through defined points - so that's what I'm thinking is a way.
Maybe there's a way to do it with a function / isosurface or parametric.
Actually, I was just playing with making a sheet with a prism, and found that
you can make "linear" prisms that will give you that.
So maybe a prism would be simplest.
Post a reply to this message
|
|