POV-Ray : Newsgroups : povray.general : animation cross post : Re: animation cross post Server Time
1 Aug 2024 08:19:53 EDT (-0400)
  Re: animation cross post  
From: Alain
Date: 6 Jan 2006 12:17:15
Message: <43bea61b$1@news.povray.org>
sully323 nous apporta ses lumieres en ce 2006-01-05 21:13:
> Sorry to cross post, but this question is "broader"  than just amimation...
> 
> I just read the post about animating POSER figures posted
> 8/1/2004(in the poser topics... )
> 
>   I was wondering if anything has changed since then?  Also...a long while
> ago, someone explained to me how to write a command SORT of like this
> (???);
> 
> 
> 
> 
>    #declare My_OBJECT=object { "MY_POSER_FIGURE" concat "frame_number"}
>        object{ My-OBJECT  }
> 
> 
> so as to automatically render each of the differently posed  object files
> from POSER & POSERAY.  Any help?????
>   (it's the "CONCAT" thing...???)
> 
> 
The concat format is wrong. Use:
#include concat("MY_POSER_FIGURE",str(frame_number,-2,0),".EXTENTION")
where "MY_POSER_FIGURE" is a string of the constant part of the file name and
"EXTENTION" is the 
actual extention of the file to include. You need str to convert the variable
"frame_number" into a 
string, the -2 is to left pad with zeros and using at least 2 digits. (use -3 if you
have from 10 to 
999 frames)

Alain


Post a reply to this message

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