|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Perhaps subject and some words are not the best - it's my English ...
I want achive color (1-Color) in this script :
#macro NegativeTexture(Color)
texture{pigment{color rgb (1-Color)}}
#end
#declare Color=color rgb 1;
background{color Color}
object{MyObject NegativeTexture(Color)
and this cause MyObject invisible
and cause warning: Suspicious expression after rgb.
But after changing inside macro :
#macro NegativeTexture(Color)
#local MaxColor=color rgb 1;
texture{pigment{color rgb (MaxColor-Color)}}
#end
rendering is fine but still with the same warning.
Is there any way to remove this warning ?
Is there any other proper way to calculate "negation" of color ?
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3aa4e095@news.povray.org>, "Wlodzimierz ABX Skiba"
<abx### [at] abxartpl> wrote:
> rendering is fine but still with the same warning.
> Is there any way to remove this warning ?
Try:
#macro NegativeTexture(Color)
texture{pigment{color rgb < 1, 1, 1> - Color}}
#end
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wlodzimierz ABX Skiba wrote:
>
>[...]
>
> rendering is fine but still with the same warning.
> Is there any way to remove this warning ?
> Is there any other proper way to calculate "negation" of color ?
>
I also often stumble over that warning and find it quite senseless. It
also occurs with simple addition of colors and other stuff.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 6 Mar 2001 14:05:23 +0100, Wlodzimierz ABX Skiba wrote:
>Is there any other proper way to calculate "negation" of color ?
You could say rgb <1-Color.red, 1-Color.blue, 1-Color-green>
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ron Parker wrote in message ...
> >Is there any other proper way to calculate "negation" of color ?
>
> You could say rgb <1-Color.red, 1-Color.blue, 1-Color-green>
thanks for answers
it seems first version my modelling environment is ready
see at p.b.i and p.b.u
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |