POV-Ray : Newsgroups : povray.general : making bricks : Re: making bricks Server Time
29 Nov 2023 20:48:28 EST (-0500)
  Re: making bricks  
From: Kenneth
Date: 10 Jan 2023 00:50:00
Message: <web.63bcfbcdd29945102eadabda6e066e29@news.povray.org>
"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:
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

Download 'simple_building.jpg' (56 KB)

Preview of image 'simple_building.jpg'


Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.