POV-Ray : Newsgroups : povray.newusers : splines of variable length : splines of variable length Server Time
30 Jul 2024 14:20:12 EDT (-0400)
  splines of variable length  
From: bongotastic
Date: 21 Feb 2004 14:16:34
Message: <4037ae92$1@news.povray.org>
Hi,

    I would like to display sphere_sweep(s) of a variable length. Here is
approximatively what I want to do:

#while(some_condition)
#declare n = Rand_Poisson(10,myseed);
// generate an array of n points according to some process
{...}
// Draw a sphere_sweep such that
sphere_sweep{
    cubic_spline
    n,
    // My n points here
    ...
    texture{...}
}
#end // end while loop

    I can't find any example doing something similar. Is it possible or must
all spline length must be hard coded?

    Thanks in advance


Post a reply to this message

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