|
|
Martin Thoma wrote:
>
> Hello!
>
> I have connected 2 points in space with a cylinder, which works fine:
>
> [...]
>
> What I now need is to replace the cylinder with a box. The box sould be
> a kind of a thin plate, lets say width=2, depth=0.5, and it should be
> rotated that it start-point is <xv1, yv1, zv1> and its end-point is
> <xv2, yv2, zv2>. This points should be centered in width and depth.
>
> Any idea, how I can calculate the 2 points of a box out of this
> information?
>
Check the 'Reorient_Trans()' macro in Povray 3.5.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|