POV-Ray : Newsgroups : povray.general : Colour from single trace : Re: Colour from single trace Server Time
17 Jun 2024 08:54:45 EDT (-0400)
  Re: Colour from single trace  
From: Thomas de Groot
Date: 11 Nov 2018 07:20:30
Message: <5be81e8e$1@news.povray.org>
On 27-10-2018 13:16, Paul Bourke wrote:
> I am aware of the trace macro that returns the intersection point and normal at
> that point on a object given a ray (point and direction). But is there a way to
> get the colour?
> 
> 

That would be nice to have. IT can of course be done now with a 
combination of (1) the trace macro, and (2) the eval_pigment() function.

-- 
Thomas


Post a reply to this message

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