POV-Ray : Newsgroups : povray.binaries.images : Lathe. Bezier_spline. Problem : Re: Lathe. Bezier_spline. Problem Server Time
7 Nov 2024 09:25:14 EST (-0500)
  Re: Lathe. Bezier_spline. Problem  
From: LanuHum
Date: 2 May 2016 13:30:01
Message: <web.57278e889e3d3d247a3e03fe0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

>
> Can the on-curve points simply be redefined to be positive?
> on_curve[n] = abs(original_curve[n]) ?

No,no.
In bezier only 4 control points (P0,P1,P2,P3)
P0,P3 belong a curve, P1 of P2 don't belong a curve.
If P1 = (-2,2), they won't be replaced by a point (2,2).
Other curve will turn out absolutely.
In order that all points of a curve were in positive coordinates, not
necessarily that P1 and P2 also were in positive coordinates.
In the case provided by me the ideal surface of revolution shall turn out.
Restriction from povray is unjustified.


Post a reply to this message

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