|
|
On Thu, 19 Jun 2008 11:30:15 EDT, "BentLarsen" <nomail@nomail> wrote:
>
>Or is there an easy way by using the clock variable?
Hi Bent,
You need to have your image maps numbered sequentially, tied to the
frame numbers of your animation. Then use frame_number, something like
(Note it is not tested)
height_field{png "heightField_1.png" smooth
texture{
pigment{
image_map{
png concat("teture",
str(frame_number,-1,0),".png")
}
rotate x*90 // lay X-Y image map down onto X-Z
height
}
}
}
You should read the help 3.2.1.7.3 String Functions
To get the correct values for the string padding.
Also for fault finding add a #debug statement like (Not Tested)
#debug concat("frame_number = ",frame_number, "/t", "Image =
",str("teture", str(frame_number,-1,0),".png"), "/n")
Read 3.2.2.7.1 Text Message Streams
--
Regards
Stephen
Post a reply to this message
|
|