POV-Ray : Newsgroups : povray.binaries.images : Releasing kobldes v0.59-2a: second example image : Re: Releasing kobldes v0.59-2a: second example image Server Time
31 Jul 2024 00:25:00 EDT (-0400)
  Re: Releasing kobldes v0.59-2a: second example image  
From: Kene
Date: 14 Oct 2010 15:50:01
Message: <web.4cb75e8551d9757a1dec65700@news.povray.org>
> prism{...[start of your prism]
>
> #local Angle = Out_Start_Angle; #local To_Radiant = 1/pi/2;
> #while(Angle < Out_End_Angle)
>  <sin(Angle*To_Radiant), cos(Angle*To_Radiant)>*Out_Radius,
>  #local Angle = Angle + Step;
> #end
> #local Angle = In_Start_Angle; #local To_Radiant = 1/pi/2;
> #while(Angle > In_End_Angle)
>  <sin(Angle*To_Radiant), cos(Angle*To_Radiant)>*In_Radius,
>  #local Angle = Angle - Step;
> #end
>
> [rest of your prism]
> }
>

Thanks for this solution. It certainly works in combination with cleaning the
ends using CSG as well. Looks like I have options now.


Post a reply to this message

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