POV-Ray : Newsgroups : povray.binaries.images : How to put an image on ONE side of a box : Re: How to put an image on ONE side of a box Server Time: 8 Mar 2021 13:11:12 GMT
  Re: How to put an image on ONE side of a box  
From: Dick Balaska
Date: 19 Feb 2020 18:15:22
Am 2/19/20 11:47 AM, also sprach Wijnand:
> Who can help me to put an image on ONE side of a box.
> 
> #declare Tegel_1 =
> box { <100, -9, 100>, <-100, 0, -100>
>    pigment {
>      image_map {
>        gif "vintage-40-vloertegel.gif"
>        map_type 1
>        once
>      }
>      scale 1
>    }
> }
> 
> The image is: vintage-40-vloertegel.gif
> The result is: test_01.png

union {
	box { <0, 0, 0.01>, 1 texture {pigment {White}}}
	box { 0, <1, 1, 0.011>
		pigment {
			image_map {gif "vintage-40-vloertegel.gif"}
		}
	}
}

-- 
dik
Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)


Post a reply to this message


Attachments:
Download 't2.png' (26 KB)

Preview of image 't2.png'
t2.png


 

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