POV-Ray : Newsgroups : povray.newusers : Image map on paper : Re: Image map on paper Server Time
6 Sep 2024 02:19:37 EDT (-0400)
  Re: Image map on paper  
From: Leroy Whetstone
Date: 22 Oct 1999 15:49:09
Message: <3810DB3D.5463A702@janics.com>
Saadat Saeed wrote:

> I have created a paper on PovRay and have mapped a scanned newspaper onto
> it. Now, the scanned newpaper appears on both sides on the newspaper.
> Oneside is what I want and the other side is in reverse. I'd like to keep
> the other side blank AND/OR and different image map on the other side. Can
> anyone guide me to the two different possibilities?
>
> BR/Saadat Saeed

  I just downloaded the g version for MS-dos, so I don't know if this will
work in all versions.

#declare Box=box{<0,0,1>,<4,4,0>
 texture {pigment{image_map { tga "Image.tga"
 map_type 0 interpolate 2} }
 scale<2,4,1> }}

#declare Box2=box{<0,0,0>,<2,10,.1>
 texture {pigment{image_map { tga "Image2.tga"
 map_type 0 interpolate 2} }
 scale<2,4,1> }}

// white back side of paper
#declare Pg=intersection{
 object{Box}
 box{<0,0,0>,<2,10,.1> pigment{White}}
}

// Image2 on back side of paper
#declare Pg=intersection{
 object{Box}
 object{Box2}
}


You can also use the Height_field this way too.
Late but, Hope this helps.


Post a reply to this message


Attachments:
Download 'us-ascii' (2 KB)

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