|
|
In article <web.47329d00a9b2848111481b6d0@news.povray.org>,
"Numsgil" <Num### [at] yahoocom> wrote:
> What I'm trying to do now is change the texture being used so I can create a
> batch file. Ideally, I'd like something like this to work:
>
> povray MyIni.ini TextureA.png
> povray MyIni.ini TextureB.png
> povray MyIni.ini TextureC.png
> povray MyIni.ini TextureD.png
> povray MyIni.ini TextureE.png
>
> So I could pass parameters in to my ini, and have it change parameters in the
> ..pov file. However, if there's a way to do this, I don't see it. Can anyone
> point me in the right direction?
just use an array of png files :
#declare textureArry[5] {"TextureA.png","TextureB.png",... }
then :
texture {
pigment {
image_map {
png textureArry[frame_number]
...
--
klp
Post a reply to this message
|
|