POV-Ray : Newsgroups : povray.general : How would I do this? : Re: How would I do this? Server Time
3 Aug 2024 08:08:29 EDT (-0400)
  Re: How would I do this?  
From: Warp
Date: 24 Mar 2004 05:35:32
Message: <40616474@news.povray.org>
Tyler Eaves <tyl### [at] nospamml1net> 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

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