POV-Ray : Newsgroups : povray.general : Spline object: what is it? : Re: Spline object: what is it? Server Time
5 Aug 2024 18:19:48 EDT (-0400)
  Re: Spline object: what is it?  
From: Warp
Date: 18 Sep 2002 10:24:36
Message: <3d888ca4@news.povray.org>
Greg M. Johnson <gregj:-)565### [at] aolcom> wrote:
>  In order to be 10 times faster, would you have to "store" the coordinates
> of the mesh first as an INC or would I lose speed if it were "calculated"
> anew for each frame of an animation?

  I'm talking about render time, not parse time.

  If you need to create the mesh for each frame separately (eg. because it
changes shape) then parsing can be slowish. However, if you need to create
it just once, then saving it in a file in mesh2 format should make parsing
quite fast as well.

-- 
#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.