|
|
Nicolas Alvarez wrote:
> Dennis Miller escribió:
>> 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.
>>
>> and I am getting a Parse Error that says: Cannot open TGA image.
>> thanks much for any help.
>
> This won't solve the problem, but will help you find out why it's not
> working:
>
> #declare ImageName = concat("D:\\sketches\\follow", str(clock*600,-4,0),
> ".tga");
> #debug concat("Attempting to load ", ImageName, "\n")
>
> image_map {
> tga ImageName
> //...
> }
Ah, great minds work alike, I see! ;)
--Sherry Shaw
--
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}// TenMoons
Post a reply to this message
|
|