On 7/12/2024 1:53 AM, kurtz le pirate wrote:
>
> Hello,
>
> I'm now looking at splines and trying to understand how POVRay treats
> this object.
>
Your understanding is correct. Here's an example with:
a) simpler coordinates
b) an array for tracking the indices.
It ain't pretty, but it works.
The points 0, 3, 6, and 9 are points on the curve.
Point 0 has control points 11 and 1
Point 3 has control points 2 and 4
Point 6 has control points 5 and 7
Point 9 has control points 8 and 10
Josh
Post a reply to this message
Attachments:
Download 'spline_question_answer.pov.txt' (2 KB)
Download 'spline_question_answer.png' (8 KB)
Preview of image 'spline_question_answer.png'
|