|
![](/i/fill.gif) |
Rune <run### [at] mobilixnet dk> wrote:
> Do you mean evenly distributed T values or evenly distributed points of the
> spline.
I meant evenly distributed T values (ie. just interpolate them between
0 and 1).
(Of course a more advanced option could make the macro to interpolate
the T values non-linearly.)
As for evenly-distributed points along the spline, I think that the only
feasible way of doing that is to make a macro which returns points for the
given spline (in the same way as the Colefax include does). Of course this
will make it a bit slow (because it has to approximate by sampling points on
the spline).
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |