POV-Ray : Newsgroups : povray.general : image sequence : Re: image sequence Server Time
19 Nov 2024 15:35:54 EST (-0500)
  Re: image sequence  
From: Dennis Milller
Date: 6 Feb 2002 16:52:38
Message: <3c61a5a6$1@news.povray.org>
Yes, I'm sorry, I just don't know quite how to apply it to the HF:
This doesn't work:

height_field {
 tga concat("fig", str(clock*100,-2,0), ".tga")
 smooth
 scale <1,-1,1>
 translate y
}

nor does this:
height_field {
concat("fig", str(clock*100,-2,0), ".tga")
 smooth
 scale <1,-1,1>
 translate y
}

Could you show me the line in this context?

thanks again,
Dennis
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3c6199a8@news.povray.org...
> Dennis Milller <dhm### [at] mediaonenet> wrote:
> : I'd like to read in a different targa file for every frame of an
animation
> : and use it in a height field. Can someone tell me the syntax for reading
a
> : sequence starting with, say, fig001.tga?
>
>   You should read the documentation about string functions, specially
> concat() and str().
>
>   What you want is something like
> concat("fig", str(frame_number,-3,0), ".tga")
>
> --
> #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.