|
|
"David Kraics" <bar### [at] aolcom> wrote:
>
> While an image-map is good for a single
> side, the sides that are 90 degrees to it look like streaks.
> Is there a way to place a different image-map on the sides?
>
You could also try this simple 'three nested boxes' idea. The trick is that each
box is *very slightly* larger or smaller, so that the image_map applied to each
one appears only on the desired surfaces. Any 'streaking' is actually hidden
inside the slightly larger boxes.
// all three boxes centered on origin:
union{
box{0,1 // for FRONT and REAR
pigment{image_map{jpeg "MY_IMAGE_1.jpg" interpolate 2}}
translate <-.5,0,-.5>
}
box{0,1 // for TWO SIDES
scale <.999,.999,1.001>
pigment{image_map{jpeg "MY_IMAGE_2.jpg" interpolate 2}}
translate <-.5*.999,0,-.5*1.001>
rotate 90*y
}
box{0,1 // for TOP
scale <.998,1.001,.998>
pigment{bumps scale .01}
translate <-.5*.998,0,-.5*.998>
}
}
Post a reply to this message
Attachments:
Download 'simple_building.jpg' (56 KB)
Preview of image 'simple_building.jpg'
|
|