画像を円柱へバンプマップにより、平面マップとして貼り付けています。
//**********************************************************************************
cylinder { -0.5*y, 0.5*y, 0.7
texture {
pigment { gradient x
color_map { [ 0/3 rgb < 1 , 0 , 1> ]
[ 1/3 rgb < 1 , 1 , 0> ]
[ 2/3 rgb < 0 , 1 , 1> ]
[ 3/3 rgb < 1 , 0 , 1> ] } scale 1.2 }
normal { bump_map { png "habotan.png" bump_size 5 once }
translate < -1/2, -1/2, 0 > scale < 559/381, 1, 1 > }
finish { reflection 0.5 specular 0.65 }
}
scale 80 }
//**********************************************************************************