POV-Ray : Newsgroups : povray.newusers : Using an image file : Re: Using an image file Server Time
19 Apr 2024 03:35:16 EDT (-0400)
  Re: Using an image file  
From: omniverse
Date: 10 Jul 2017 00:40:01
Message: <web.59630422bbe238b1865ad31e0@news.povray.org>
"Sublyminal" <nomail@nomail> wrote:
> Hey everyone, I'm new to povray, I am trying to use an image in my project and
> then working within the confines of this image to complete the project. How
> would I go about importing or using an image within povray?

plane {z,3 //higher number moves away
pigment {
image_map {
jpeg "file name" //or use any valid type like png
}
translate -0.5 //centers unit square
scale <width,height,1>
//set this to resolution or same ratio as image file
}
finish {diffuse 0 ambient 0 emission 1}
}

 Best advice would be to use the help search and look up image_map  but you
might be able to get something rendered using that above.


Post a reply to this message

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