POV-Ray : Newsgroups : povray.general : Linear Sweeps : Re: Linear Sweeps Server Time
12 Aug 2024 13:15:28 EDT (-0400)
  Re: Linear Sweeps  
From: Ron Parker
Date: 2 Feb 1999 08:26:58
Message: <36b6fd22.0@news.povray.org>
On Tue, 2 Feb 1999 02:38:03 -0500, Mike Metheny <lon### [at] vtedu> wrote:
>Is there a way to control the angle of a linear_sweep in a prism object?  in
>AutoCAD this would be equivalent to an extrusion angle, where a 2-d group of
>joined lines is extruded outward or inward according to a certain angle. .
>.I feel sure POV has some way to accomodate this but I can't figure out how,
>from the docs.

There is no such thing available directly, but you can roll your own
by using a normal linear_sweep and transforming it by a shear matrix.
I'll leave the calculation of the requisite matrix to someone else,
though.  It's too early in the morning and I haven't had my caffeine
yet. :)


Post a reply to this message

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