|
![](/i/fill.gif) |
Nieminen Mika <war### [at] cc tut fi> writes:
> Roland Mas <rol### [at] casimir rezel enst fr> wrote:
> : [0/256 1/256 colour rgb 0 colour rgb <0,0,1>]
> : [1/256 2/256 colour rgb <0,1/255,0> colour rgb <0,1/255,1>]
> : [2/256 3/256 colour rgb <0,2/255,0> colour rgb <0,2/255,1>]
> : ...
> : [255/256 256/256 colour rgb <0,255/255,0> colour rgb <0,255/255,1>]
>
> Perhaps you could generate this automatically with #while-loops.
Yeah, sure. That was just to show the point (it's more explicit to
show the result of the parsing of the loop than to show the loop).
Anyway, I would not do it with a #while loop, rather with a Perl
program. If I ever need to write such a program, I guess it could
easily be made universal enough so that it be able to take any POV-Ray
scene file (with the textures and all) and change everything to the
convenient z-buffer texture. No need to make it by hand!
Roland.
--
Roland Mas
Sauvez les castors, plantez des arbres.
Post a reply to this message
|
![](/i/fill.gif) |