|
![](/i/fill.gif) |
Tyler Eaves <tyl### [at] nospamml1 net> wrote:
> > Have a look at the transforms.inc, Spline_Trans() macro.
> I tried that in the past, and found it very lacking performance wise. I'm
> going to be building a *lot* of geometry along this spline...
You can gain some performance by copying the macro in question (and
if it uses any other macro, those too) to your scene file. This is due
to how the SDL parser works.
Of course it still isn't as fast as it could be, but something is
better than nothing.
--
#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) |