|
|
Hello, here is a short example file :
camera{ location z*50 look_at <0,0,0> }
light_source{ <20,20,50> rgb <1,1,1> }
#declare Name = concat("\"FR",str(11,0,0),".tga\"") // this should
be "FR11.tga"
sphere {0, 10
pigment {image_map {tga "FR11.tga" map_type 1 interpolate 2 transmit
255, 1.0}}
// pigment {image_map {tga Name map_type 1 interpolate 2 transmit 255,
1.0}} //That's what I wanna write!
finish {ambient 0.3 diffuse .8} }
/* Hello,
please have a look at this very short pov.file
I'm working with Megapov and I'm wondering about strings:
Why can't I write Name instead of "FR11.tga" inside the image
map.
I like to change the number of the picture (11 to 12 to 13 etc.)
for loading different pics during an animation !!
How can I do this ?
Can I do something similar ?
Thank You for thinking it over.
Best wishes
Luck and Blessing
Ruediger Geisler
*/
Post a reply to this message
|
|