Less suscinct
but also possible:
plane {
z 1
texture {
pigment_pattern {
object { T
pigment {rgb 0 }
pigment {rgb 1 }
}
}
texture_map {
[0 pigment {rgb Cyan }]
[1 pigment {rgb Red }]
}
}
}
OR
#declare Fn_O =
function {
pigment {
object { T
pigment {rgb 0 }
pigment {rgb 1 }
}
}
};
plane {
z 1
texture {
function { Fn_O (x,y,z).gray }
texture_map {
[0 pigment {rgb Cyan }]
[1 pigment {rgb Red }]
}
}
}
Post a reply to this message
|