POV-Ray : Newsgroups : povray.windows : Prism : Re: Prism Server Time
28 Jul 2024 20:28:09 EDT (-0400)
  Re: Prism  
From: Jon S  Berndt
Date: 3 Jan 1998 07:50:57
Message: <34AE3431.9E553539@hal-pc.org>
Jon S. Berndt wrote:

> Am I doing something wrong, or what?
>
> I have included the prism statement generated by the editor in POV-Ray
>
> for Windows. It looks like this:
>
> prism {
>   linear_sweep // or conic_sweep for tapering to a point
>   cubic_spline // linear_spline | quadratic_spline | cubic_spline
>   -0.5,        // height 1
>    0.5,        // height 2
>   10,          // number of points
>   // the <u,v> points
>   < 0.2, -1.0>, < 0.2,  0.2>, < 1.0, -0.2>, < 1.0,  0.2>, < 0.2,
> 1.0>,
>   <-0.2,  1.0>, <-1.0,  0.2>, <-1.0, -0.2>, <-0.2,  0.2>, <-0.2, -1.0>
>
>   // [open]
>   // [sturm]
> }
>
> When I try and compile this, I get:
>
> "Returned from renderer (non-zero return value)?."

Actually, it says: "Too few points in prism".

Jon


Post a reply to this message

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