POV-Ray : Newsgroups : povray.general : -x on Lathe Points Server Time
7 Nov 2024 09:25:50 EST (-0500)
  -x on Lathe Points (Message 1 to 1 of 1)  
From: Lieut Data
Subject: -x on Lathe Points
Date: 28 Mar 2002 08:44:43
Message: <3ca31e4b$1@news.povray.org>
I have been studying lathes/prisms/sors recently, and have come across an
inconsistency.

For Quadratic and Cubic splines, I have discovered that the only points that
are allowed to have -x values are the control points. That makes sense!

But for the bezier spline, while I cannot make the control points negative,
I CAN make the non-control points negative... why the inconsistency?
Shouldn't the points that are actually on the spline not be allowed -x
values, and the control points to be allowed -x values?

Ex. (Doesn't generate error)
lathe {
   bezier_spline
   4
   <-27.5,77.5>,
   <.5,30.5>, //Control Point!
   <.5,-65.5>, //Control Point!
   <-25.5,-79.5>
    sturm
   pigment {color rgb<1, 0, 0>}
 }

Ex. 2 (Does generate error)

lathe {
   bezier_spline
   4
   <27.5,77.5>,
   <-.5,30.5>, //Control Point!
   <-.5,-65.5>, //Control Point!
   <25.5,-79.5>
    sturm
   pigment {color rgb<1, 0, 0>}
 }


I dont belive I have my control points mixed up: (Povray Help)

    The bezier_spline is an alternate kind of cubic spline. Points 1 and 4
specify the end points of a segment and points 2 and 3 are control points
which specify the slope at the endpoints. Points 2 and 3 do not actually lie
on the spline.

By the way, this isnt an error report, but im using Beta 14 :-)


Post a reply to this message

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