POV-Ray : Newsgroups : povray.advanced-users : Creating Circular walls (using prisms ?) : Re: Creating Circular walls (using prisms ?) Server Time
28 Sep 2024 18:53:29 EDT (-0400)
  Re: Creating Circular walls (using prisms ?)  
From: Kene
Date: 17 Sep 2010 17:20:00
Message: <web.4c93da964a0086d41dec65700@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

>
> That macro is not self contained.
> First : It create a spline that follows a circular path. For that, it
> use an externaly created variable: Blockwall_Radius.
> It also use 2 passed parameters: A value in degrees and a reference
> value defining what kind of blocks to use.
>
> Then, once the spline is constructed, it use another macro
> (Blockwall_FollowSpline) to place blocks along that spline, surely
> binded in an union so that you can place the result anywhere you need it.
>
> What this macro _DON'T DO_: Create a prism.
> It /DOES/ use CSG as an union of numerous blocks.
>
>
>
> Alain

I suspected that. OK, is there a way to create a spline path that can be used to
draw a prism of a particular radius or diameter. I can do trial and error and
end up with an approximation but I was wondering if there is a way to get a
mathematically precise method that can generate values for any radius or
diameter.


Post a reply to this message

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