|
|
On 2 Jun 2000 04:54:24 -0400, Warp wrote:
>Ron Parker <ron### [at] povrayorg> wrote:
>: red 1 green .7 blue .1 green 1
>
>: If the latter followed "checker", where would you expect to find the comma?
>
> Well, that's why I think comma should be required. That is, support for
>a checker statement with only one parameter instead of two should be
>removed. It will only do good.
I suggested a transparent (i.e. doesn't break most existing scenes) workaround
in .bugreports when I originally posted the problem:
|Unfortunately, you can also say "color Red Green" and get green. This
|is not documented, and is probably a bug (the docs do say COLOUR_IDs
|should come first.) Parse_Colour should probably UNGET and EXIT when
|it gets a second instance of any of COLOUR_ID, rgb, rgbt, rgbf, rgbft,
|or a bare vector expression. This would make rgb 1 red 0 legal as a
|shortcut for cyan, but make rgb 1 rgb 0 become two separate colors,
|suitable for use in checkers or bricks or hexagons.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
|