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
25 Apr 2024 16:46:47 EDT (-0400)
  Re: How to put an image on ONE side of a box  
From: Dick Balaska
Date: 19 Feb 2020 13:15:22
Message: <5e4d7b3a$1@news.povray.org>
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-2023 Persistence of Vision Raytracer Pty. Ltd.