POV-Ray : Newsgroups : povray.newusers : Prism problem : Re: Prism problem Server Time
6 Sep 2024 12:13:28 EDT (-0400)
  Re: Prism problem  
From: Nieminen Mika
Date: 25 May 1998 11:26:31
Message: <6kc2j7$5rs$2@oz.aussie.org>
Mike Faneros <fan### [at] whoduedu> wrote:
: Can anyone tell me what's wrong with this prism?  I've tried all I know
: how to fix it, but pov tells me "too few points."  Any help is
: appreciated - i'm still learning how to do these prism things...

: prism {
:   cubic_spline

  Section 7.5.2.8 of the povray documentation says:

In addition to the closed point sequence each cubic spline sub-prism needs
two control points to determine the slopes at the start and end of the curve.

:   0, .5, 14,
:   <.7, 1>, <.8, 1.1>, <1.15, 1.25>, <1.3, 1.1>, <1.3, .9>,
:   <1.29, .8>,  <1.95, 2.0>, <1.2, 2.4>,
:   <1.3, 2.3>, <1.2, 1.9>, <.9, 2.0>, <.8, 2.1>,
:   <1.0, 1.7>, <1.15, 1.25>, <.7, 1>

  You need a control point at the start and at the end of the point list.

-- 
                                                              - Warp. -


Post a reply to this message

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