POV-Ray : Newsgroups : povray.newusers : Image function : Re: Image function Server Time
14 Apr 2024 03:20:01 EDT (-0400)
  Re: Image function  
From: Thomas de Groot
Date: 29 May 2023 02:30:33
Message: <64744689$1@news.povray.org>
Op 28/05/2023 om 17:22 schreef Thomas de Groot:
> Op 28-5-2023 om 16:49 schreef kurtz le pirate:
>> Hello,
>>
>>
>> I'm racking my brain over this problem :
>> I'd like to have a function that can give me the color of a pixel in an
>> image (the equivalent of "eval_pigment") to fill a plane.
>>
> Why not use eval_pigment? See:
> 
>
https://news.povray.org/povray.binaries.images/thread/%3Cweb.52ede41cd6fcc84f7a3e03fe0%40news.povray.org%3E/?mtop=395729
> 
> I must have the macro somewhere... I shall send it tomorrow from my 
> other machine.
> 

I don't know if this is what you want to do, but provide an image map 
and play with this test scene...


-- 
Thomas


Post a reply to this message


Attachments:
Download 'eval_pigmenttest_carpet.pov.txt' (5 KB)

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