|
|
Thats the obvious fault, I'd got it into my head that RGB were between 1 &
255, rather than 0 and 1. This is how the system is done for the net and
PSP etc, I obviously, assumed without checking and assumed wrong, thanks,
oops (yet again)
P3TE
Nieminen Juha <war### [at] cctutfi> wrote in message
news:37ccf099@news.povray.org...
> Peter Cracknell <pc### [at] lineonenet> wrote:
> : And so if multiplied by 255, should give the colours?
>
> Where did you get that number 255? Not from the povray documentation,
that's
> sure.
> Povray uses colors from 0 to 1. 0 is completely dark and 1 is completely
> lit.
> That 255 makes no sense. Some image formats (for example png) can use,
> for example, 65536 values per color component.
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|