I'm having trouble mapping an image to a torus. The patter seems to be mirrored
above and below the torus's "equator". Is there a way to get this to stop?
-Mike
torus
{
#local Width = 64;
#local Height = 64;
#local Radius = Width/2/acos(pi/4);
Width, Radius
// clipped_by {cylinder {0,y*Height,Width}}
texture
{
pigment
{
image_map {png "texture_bowels_test.png"}
warp
{
toroidal
orientation y
dist_exp 0
major_radius Width
}
}
scale Width
}
translate y*Height/2
translate Left_Vector*+1/2
}
Post a reply to this message
|