|
![](/i/fill.gif) |
Wasn't it Bob Armstrong who wrote:
> I want to make a plane of one unit checkers each of which is made up of
> 1 / 12 scale checkers .
>
>How do I do that ?
>
>Got lots to learn . Amazing program .
With plain coloured pigments:
#include "functions.inc"
pigment {
function {0.5*f_checker(x,y,z)+0.25*f_checker(x*12,y*12,z*12)}
colour_map {
[0 rgb 0]
[0.25 rgb x]
[0.5 rgb y]
[0.75 rgb z]
}
}
With complete textures
#include "functions.inc"
texture {
function {0.5*f_checker(x,y,z)+0.25*f_checker(x*12,y*12,z*12)}
texture_map {
[0 T_Stone1]
[0.25 T_Stone10]
[0.5 T_Stone2]
[0.75 T_Stone6]
}
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |