POV-Ray : Newsgroups : povray.general : Tracing colour : Re: Tracing colour Server Time
29 Jul 2024 04:28:07 EDT (-0400)
  Re: Tracing colour  
From: clipka
Date: 10 Apr 2013 12:31:50
Message: <516593f6$1@news.povray.org>
Am 10.04.2013 18:21, schrieb Nekar Xenos:
> I'm working on a paint macro that uses trace(). I need to know the
> pigment colour at the trace co-ordinate. Is this possible?

Basically, yes. eval_pigment() is the feature you're looking for. Note 
however that you need keep track yourself of all transformations applied 
to the object (and/or the texture) you assigned that pigment to.


Post a reply to this message

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