POV-Ray : Newsgroups : povray.general : reading images : Re: reading images Server Time
31 Jul 2024 06:25:33 EDT (-0400)
  Re: reading images  
From: M a r c
Date: 30 Sep 2007 03:02:07
Message: <46ff49ef@news.povray.org>

46fefc76$1@news.povray.org...
>>
> Use an image_map OK
> Use eval_pigment OK
> Scale the image_map useless.
> If you have a 100x160 pixel image maped to a 1x1 image_map, then location 
> <0.03, 0.825> will give you the value of pixel 3,132.
>
> -- 
> Alain

Right but it's easier for my non mathematician brain to scale <160,100,1> 
and use actual pixel values :-)

Marc


Post a reply to this message

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