POV-Ray : Newsgroups : povray.advanced-users : Creating Circular walls (using prisms ?) : Re: Creating Circular walls (using prisms ?) Server Time
29 Jun 2024 01:46:35 EDT (-0400)
  Re: Creating Circular walls (using prisms ?)  
From: Kene
Date: 17 Sep 2010 19:05:00
Message: <web.4c93f3474a0086d4531cc5f00@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

> > Alain<aze### [at] qwertyorg>  wrote:

>
> Quick and dirty:
> - Remove the call to the other macro.
> - Start your prism.
> - Call the macro twice: once with the inside radius of your wall and
> travel it to create the iner part of the prism. (use a loop)
> - SAVE the first point!
> - Call the macro a second time with the outside radius and travel the
> spline backward to create the outside of the prism.
> - Close the prism by adding the last point equal to the first one.
> - Add any needed transformation and texturing.
> - Finish the prism.
>
> That's for a prism using a linear_spline interpolation.
> If you want to use a cubic_spline interpolation, then the last TWO
> points must repeat the first two points. The first and last points are
> controls, the second and secont to last are real points.
>
>
> Alain

Interesting! This is what I am looking for. Let me see if I can get it to work.
Thanks...


Post a reply to this message

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