POV-Ray : Newsgroups : povray.newusers : Image map on paper Server Time
6 Sep 2024 00:20:05 EDT (-0400)
  Image map on paper (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Chris Huff
Subject: Re: Image map on paper
Date: 13 Sep 1999 16:47:57
Message: <37DD634D.2433C746@compuserve.com>
Yes, I had to work around that for my reflectivity patch. An annoying
little bit of code...


Post a reply to this message

From: Leroy Whetstone
Subject: Re: Image map on paper
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)

From: Josh English
Subject: Re: Image map on paper
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

<<< Previous 10 Messages Goto Initial 10 Messages

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