 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Yes, I had to work around that for my reflectivity patch. An annoying
little bit of code...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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] spiritone com
icq 1946299
"Stress is when you wake up screaming and realize you haven't fallen
asleep yet."
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |