|
|
Le 25/07/2011 14:20, Warp nous fit lire :
> Could you explain what's happening here, because I can't see what's so
> special about the image.
Just that no DF3 file was used.
#macro zorglub(bron,vect,rad)
object {
test_object
texture {
proximity { test_object } radius rad
texture_map {
#if( bron = true )
[ 0.45 shiny_brass ]
[ 0.55 dull_brass ]
[ 0.65 dull_brass ]
[ 0.7 corroded_brass]
#else
[ 0.0 pigment { rgb <0,169,224>/255 } ]
[ 0.2 pigment { rgb <50,52,144>/255 } ]
[ 0.4 pigment { rgb <234,22,136>/255 } ]
[ 0.6 pigment { rgb <235,46,46>/255 } ]
[ 0.8 pigment { rgb <253,233,45>/255 } ]
[ 1.0 pigment { rgb <0,158,84>/255 } ]
#end
}
}
translate vect
}
#end
zorglub(true,0,20)
zorglub(false,200*x+600*z,20)
zorglub(true,-200*x+600*z,1)
zorglub(false,100*x+1100*z,1)
zorglub(false,-100*x+1100*z,10)
Post a reply to this message
|
|