POV-Ray : Newsgroups : povray.general : cropping or cutting output : Re: cropping or cutting output Server Time
31 Jul 2024 18:15:18 EDT (-0400)
  Re: cropping or cutting output  
From: Chris B
Date: 28 Nov 2006 17:48:33
Message: <456cbcc1$1@news.povray.org>
"Olaf Doschke" <b2x### [at] t-onlinede> 
wrote in message news:456cb8af$1@news.povray.org...
>> object {IconObject scale <1,-1,1> pigment {color rgbt <1,1,0,0.3>}}
>
> And of course I could use a gradient for the pigment, true.
>
> I'll see. I think all those different solutions have their pros and cons.
>
> In this case, as a complexer object could have many pigments
> itself, I wonder how to have a modifying pigment just influencing
> the transmission part of rgbt.
>
> color*<1,1,1,factor> ?
>
> Bye, Olaf.

One way would be to define the object along with its many pigments inside a 
macro.
You could then use a variable for the transmission component of the colour.
Run the macro once with transmission = 0.
For the 'reflection' run the macro a second time with transmission = 0.5 and 
scale by <1,-1,1>.

Regarsd,
Chris B.


Post a reply to this message

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