|
|
I was trying to create a cylindrical pigment pattern with a color map, and use
that inside of a hexagon pigment pattern.
Does the center of the cylindrical pattern not start at the center of each
hexagon?
This seems like odd and unexpected behaviour to me.
But it's late and it was a long day, so maybe I'm botching something that's
otherwise simple.
#version 3.71;
global_settings {
assumed_gamma 1.0
}
#declare Aspect = image_width/image_height;
camera {
location <0, 5, -5>
right x*Aspect
look_at <0, 0, 0>
}
#include "colors.inc"
light_source {<0, 50, 0> 1}
#declare Hole =
pigment {
cylindrical
color_map {
[0.0 White]
[0.5 White]
[0.5 Black]
[1.0 Black]
}
}
plane {y, 0
pigment {
hexagon
pigment {Hole},
pigment {Hole},
pigment {Hole}
}
}
Post a reply to this message
|
|