POV-Ray : Newsgroups : povray.unofficial.patches : Announce: SkyPOV 0.1 : Re: color definition (Re: Announce: SkyPOV 0.1) Server Time
30 Jul 2024 22:25:05 EDT (-0400)
  Re: color definition (Re: Announce: SkyPOV 0.1)  
From: Vahur Krouverk
Date: 13 Nov 2000 05:09:02
Message: <3A0FBE25.A71EEB8A@aetec.ee>
Peter Popov wrote:
> 
> On Fri, 10 Nov 2000 17:25:04 -0500, Chris Huff <chr### [at] maccom>
> wrote:
> 
> >How about this: when you specify a color in a pigment or something, it
> >is converted to rgb for internal use, but color variables store the
> >color space as well as the components.
> 
> This seems overkill.
> 
> <snip>
> 
> I think it should be enough if colors are kept the way they are and
> there are introduced parser functions to convert a 3D vector to and
> from hsb and rgb. This will keep backwards compatibility and will
> offer the user more power. I am not sure how useful this will be,
> though, as everything here mentioned can be done with simple macros.
> 
Seems reasonable. RenderMan Shading Language supports various color
spaces and conversion functions between them, but it is totally up to
coder to ensure, that correct color space is used. If this solution is
usable in "real CGI" world, then it could be used in "amateur league" as
well?
As Einstein said:
Keep it as simple as possible, but no simpler.


Post a reply to this message

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