POV-Ray : Newsgroups : povray.general : trace question : Re: trace question Server Time
19 Apr 2024 03:53:13 EDT (-0400)
  Re: trace question  
From: Stephen
Date: 11 Sep 2017 03:11:38
Message: <59b6372a$1@news.povray.org>
On 10/09/2017 14:27, clipka wrote:
> Am 10.09.2017 um 15:13 schrieb Stephen:
>> If I trace an object. How can I get the colour of the intersection of
>> the ray and object. As far as I can see trace() only returns the normal.
> 
> You'll need to know the pigment of the object, and invoke `eval_pigment`
> on the intersection point you get...
> 

Follow up question.

How would you use eval_pigment if you were tracing a CSG?
Is it possible?

-- 

Regards
     Stephen


Post a reply to this message

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