  | 
  | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
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?
-- 
-Nekar Xenos-
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
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 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
"Nekar Xenos" <nek### [at] gmail com> wrote:
> 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?
Try eval_pigment() in functions.inc.
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On Wed, 10 Apr 2013 18:31:45 +0200, clipka <ano### [at] anonymous org> wrote:
> 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.
>
Thanks.
-- 
-Nekar Xenos-
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On Wed, 10 Apr 2013 18:35:28 +0200, Cousin Ricky <rickysttATyahooDOTcom>  
wrote:
> "Nekar Xenos" <nek### [at] gmail com> wrote:
>> 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?
>
> Try eval_pigment() in functions.inc.
>
Hhmm.... After closer inspection it seems I'm going to have a hard time  
trying to evaluate a pigment on a uv-mapped mesh...
-- 
-Nekar Xenos-
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Am 10.04.2013 22:25, schrieb Nekar Xenos:
> On Wed, 10 Apr 2013 18:35:28 +0200, Cousin Ricky <rickysttATyahooDOTcom>
> wrote:
>
>> "Nekar Xenos" <nek### [at] gmail com> wrote:
>>> 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?
>>
>> Try eval_pigment() in functions.inc.
>>
> Hhmm.... After closer inspection it seems I'm going to have a hard time
> trying to evaluate a pigment on a uv-mapped mesh...
Whoops - yes, that's a problem indeed.
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   |