 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Dave Dunn wrote:
>
>
>The keyword "color" is an
> artifact of an earlier version of POV-Ray.
How this?
I wouldn't define the keyword "color" an artifact. The problem here is
simply that color 1= color rgbft 1 so that the object is completely
transparent.
--
Jonathan.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
JRG wrote:
> How this?
> I wouldn't define the keyword "color" an artifact. The problem here is
> simply that color 1= color rgbft 1 so that the object is completely
> transparent.
Allow me to clarify my remarks. Up until POV-Ray 2.2, I believe, the
"color" keyword was required when creating a color definition. Since this
is no longer the case, the keyword, in povese, has been deprecated.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Are you saying that every time I wrote #declare gold = color rgb <1,.6,.2>;
I was wasting my time? Oh my god... and I'm still alive?
;-)
Yet I wouldn't define it an *artifact*. Obsolete syntax is a better
definition IMO.
--
Jonathan.
"Dave Dunn" <poi### [at] aol com> ha scritto nel messaggio
news:3BC20A9D.1D678E1C@aol.com...
>
>
> JRG wrote:
>
> > How this?
> > I wouldn't define the keyword "color" an artifact. The problem here is
> > simply that color 1= color rgbft 1 so that the object is completely
> > transparent.
>
> Allow me to clarify my remarks. Up until POV-Ray 2.2, I believe, the
> "color" keyword was required when creating a color definition. Since this
> is no longer the case, the keyword, in povese, has been deprecated.
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"JRG" <jrg### [at] hotmail com> wrote :
>
> Are you saying that every time I wrote #declare gold = color rgb
<1,.6,.2>;
> I was wasting my time?
Only in that <1,.6,.2> is a horrid gold.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Dave Dunn wrote:
>
> Allow me to clarify my remarks. Up until POV-Ray 2.2, I believe, the
> "color" keyword was required when creating a color definition. Since this
> is no longer the case, the keyword, in povese, has been deprecated.
But bear in mind the following thing:
pigment { color rgb 1 }
pigment { rgb 1 }
pigment { color 1 }
all work (although differ), but
pigment { 1 }
does not.
So you can't really say the 'color' keyword is no more required in all
cases.
Also it isn't deprecated since that would mean it is suggested to no more
use it.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
This is not true with the right finish.
In fact most of my gold textures use this pigment.
"Bill DeWitt" <bde### [at] cfl rr com> ha scritto nel messaggio
news:3bc210d6@news.povray.org...
>
> "JRG" <jrg### [at] hotmail com> wrote :
> >
> > Are you saying that every time I wrote #declare gold = color rgb
> <1,.6,.2>;
> > I was wasting my time?
>
> Only in that <1,.6,.2> is a horrid gold.
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Mon, 08 Oct 2001 16:20:45 -0400, Dave Dunn wrote:
>
>
>JRG wrote:
>
>> How this?
>> I wouldn't define the keyword "color" an artifact. The problem here is
>> simply that color 1= color rgbft 1 so that the object is completely
>> transparent.
>
>Allow me to clarify my remarks. Up until POV-Ray 2.2, I believe, the
>"color" keyword was required when creating a color definition. Since this
>is no longer the case, the keyword, in povese, has been deprecated.
Not true. See what happens when you try skipping it in a colour_map.
(though it's true that it's an artifact of some sort: everyone knows that
the proper way to spell it is with the U, as it's spelled in the POV source.)
--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"JRG" <jrg### [at] hotmail com> wrote in message
news:3bc21193@news.povray.org...
> This is not true with the right finish.
> In fact most of my gold textures use this pigment.
If I label my jokes no one falls for them.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Mon, 8 Oct 2001 16:58:58 -0400, Bill DeWitt wrote:
>
>"JRG" <jrg### [at] hotmail com> wrote in message
>news:3bc21193@news.povray.org...
>> This is not true with the right finish.
>> In fact most of my gold textures use this pigment.
>
> If I label my jokes no one falls for them.
Indeed.
--
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
news:3bc0e12a$1@news.povray.org...
> I might be tempted by a color select box on the tool bar of the
editor.
> Something that if you clicked on the one out of 16 or somewhere on the
> rainbow box it would then type in "rgb <n.nn, n.nn, n.nn >. But anything
> else is just too time consuming for the value returned. I dont' even use
the
> insert menu pigments becuas it takes longer than typing a rgb value.
You can try DotColor3.0 (it's freeware) in colour mixer mode to get the
exact colour with the exact rgb values .
Maybe you can find it useful.
this is the link:
http://www.inetis.com/freeware.asp
--
Txemi Jendrix
tji### [at] euskalnet net
http://www.geocities.com/txemijendrix
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |