POV-Ray : Newsgroups : povray.newusers : Image map on paper : Re: Image map on paper Server Time
6 Sep 2024 02:22:59 EDT (-0400)
  Re: Image map on paper  
From: Josh English
Date: 22 Oct 1999 18:47:24
Message: <3810E978.927D803@spiritone.com>
There is also a neat solution at

http://www.spiritone.com/~english/cyclopedia/index.html#coins0


Leroy Whetstone wrote:

>  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.

--

Josh English
eng### [at] spiritonecom
icq 1946299
"Stress is when you wake up screaming and realize you haven't fallen
asleep yet."


Post a reply to this message

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