POV-Ray : Newsgroups : povray.object-collection : SphereSweep 1.2, with Bezier splines : Re: SphereSweep 1.2, with Bezier splines Server Time
24 Apr 2024 09:06:38 EDT (-0400)
  Re: SphereSweep 1.2, with Bezier splines  
From: Cousin Ricky
Date: 12 Sep 2015 08:15:01
Message: <web.55f416c3b134517fdb6413070@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> In the Blender it is possible to scale only control points.
> At you
> #declare Arm_def = array[4][3]
> #declare Arm_rs = array[12]
> Unclear, as to control it.

Arm_def is not used as-is by Bezier algorithms.  It describes Bezier curves in a
format that I find easier to control.  The format is described in the user
manual.

The macro SSwp_Bezier() converts Arm_def to Arm_pts.  Arm_pts is the
one-dimensional array of control points that is in the form expected by Bezier
algorithms.  If you look at the message window from a spheresweep_cockpit.pov
render, you will see the Arm_pts array in its final form.

Arm_rs is the array of the radii that correspond to the control points.


Post a reply to this message

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