|
|
Dennis Miller nous apporta ses lumieres en ce 2008/03/01 12:33:
> I am trying to load a long sequence of TGA files into this image map:
> image_map { tga concat("D:\\sketches\\follow", str(clock*600,-4,0), ".tga")
>
> in the folder Sketches folder on my D drive there are 1800 files starting
> with
> follow0000.tga
> to
> follow1800.tga
>
> Can someone see a problem with the string here? I want to read in only the
> first 600 while the clock moves from 0.1 to 1.
> The whole code segment is:
> #local D=
> pigment{
> image_map { tga concat("D:\\sketches\\follow", str(clock*600,-4,0),
> ".tga") //group.tga is excellent 1352
> map_type 2 interpolate 2 once } translate <0, 0,0> scale 1 + clock*2 }
>
> and I am getting a Parse Error that says: Cannot open TGA image.
> thanks much for any help.
> d
>
I'd use frame_number instead of clock like this:
image_map { tga concat("D:\\sketches\\follow",str(frame_number,-4,0),".tga")
Do you have read permission for that folder? If you don't have read permission,
you can't access the files if the I/O restrictions are active.
You may need to add a line like this to the "pvengine.ini" file from the \ini
folder:
in the section [Permitted Input Paths]
3=D:\sketches
The number is to follow the last number in that section.
--
Alain
-------------------------------------------------
I drive way too fast to worry about cholesterol.
Post a reply to this message
|
|