POV-Ray : Newsgroups : povray.animations : scene language question : Re: scene language question Server Time
26 Jun 2024 14:36:37 EDT (-0400)
  Re: scene language question  
From: Mike Williams
Date: 31 Jan 2004 02:24:14
Message: <x7l0yIAMf1GAFw+e@econym.demon.co.uk>
Wasn't it Warp who wrote:
>  You either put all the #declared mesh identifiers in an array and
>you index that array with your frame number, or you can write the
>meshes directly in the include files (and not as #declared identifiers)
>and then #include that include file directly (perhaps inside an
>object {} block if you want to eg. transform it).

Or you could be more clumsy and use Parse_String.

#include "strings.inc"
#declare OBJECTNAME = concat("MYMESH",str(frame_number,0,0))
object { Parse_String(OBJECTNAME) 
 ...
}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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