POV-Ray : Newsgroups : povray.advanced-users : Finding Pigment / color of an object : Re: Finding Pigment / color of an object Server Time
3 Jul 2024 06:04:39 EDT (-0400)
  Re: Finding Pigment / color of an object  
From: user
Date: 1 Mar 2009 12:07:40
Message: <49aac0dc@news.povray.org>


> 
>> Hi,
>> 1) How can I know the pigment/color of a given object ?
>> 2) What is the format of a pigment variable ? How can I extract each 
>> component ?
>>
>>     Regards
> 
> thanks you all for all your answers.
> I might have been more precise in my question.
> Given an object, how can I know its color at a given point ?
> I was thinking of a function getColor(obj,position), something like 
> min_extent(obj), for example.
> 
>     
the problem, is that, as the object is passed as an argument to a macro, 
I have no a priori idea of its color...


Post a reply to this message

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