|
![](/i/fill.gif) |
Warp <war### [at] tag povray org> wrote:
> clipka <nomail@nomail> wrote:
> > > mesh00000.inc
> > > mesh00001.inc
> > > mesh00002.inc
>
> > #local MyFrameNumberStr = substr(str(100000+frame_number,0,0),2,5);
>
> That's a rather contrived way of doing it. There's a simpler way:
>
> #include concat("mesh", str(frame_number, -5, 0), ".inc")
Revoco!
You're perfectly right. Looks like I browsed the str() documentation too
superficially.
But it's always good to know that in POV-Ray there's typically plenty of ways to
skin a cat :)
Post a reply to this message
|
![](/i/fill.gif) |