POV-Ray : Newsgroups : povray.windows : MUST, be very simple: Win bmp as texture on objects : Re: MUST, be very simple: Win bmp as texture on objects Server Time
25 Apr 2024 03:23:07 EDT (-0400)
  Re: MUST, be very simple: Win bmp as texture on objects  
From: syntotic
Date: 2 Jan 2011 13:25:01
Message: <web.4d20c0d55827f18fb4cddd650@news.povray.org>
"Kenneth" <kdw### [at] earthlinknet> wrote:
> camera {
>  location  <0, 0, 0>
>  look_at   <0, 0, 300> // or just use look_at z
> }
>
> plane{z,300 // a vertical 'wall' 300 units into the far distance
>      texture{
>           pigment{
>             image_map{sys "your_image.bmp" interpolate 2} // vertical by default
>             translate <-.5,-.5,0> // optional, just to shift the 1 X 1
>                                   // default-size image so that camera at
>                                   // <0,0,0> can see *all* of it after the
>                                   // scaling below
>             scale 300 // or whatever will show the *full* image to the camera
>                  }
>           finish{ambient 1 diffuse 0}
>             }
>     }

Like magic, right? It produces an amplification from the original picture
without apparent loss of quality. Needs more tweaking to show it up as in a
simple visor, same picture size. Seems it was the interpolate 2 indication what
was missing.


Post a reply to this message

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