|
|
Hello
I have a Problem reading some density files in a while loop.
The povray script should do following:
1. read a density file (e.g. tempn1.df3) and render a pictures, which is
stored as a tga or so.
2. read the next density file (e.g. tempn2.df3) adn do the same as before
3. loop it
I don't know how you can give a loopvariable in while for a filename.
....
density {
density_file df3 "test1.df3"
interpolate 1
color_map {
[0.00 rgb <0,0,0>]
[0.40 rgb <0 0 1>]
[0.50 rgb <0,1,0>]
[0.60 rgb <1,0,0>]
[1.00 rgb <1,0,0>]
}
}
....
How can I make test1.df3 to testx.df3, whereas x means x=1...n
Thank you very much for Your apprecaited help.
Wolfgang
Post a reply to this message
|
|