POV-Ray : Newsgroups : povray.general : QUESTION: include :kolors.inc": processing this file : QUESTION: include :kolors.inc": processing this file Server Time
29 Jul 2024 00:31:10 EDT (-0400)
  QUESTION: include :kolors.inc": processing this file  
From: Sven Littkowski
Date: 13 Sep 2013 03:10:06
Message: <5232ba4e@news.povray.org>
I have the wonderful "kolors.inc" but would like to see each of the 677
colors it contains. Each useful line begins with "#declare". Two examples:
  #declare OrangeRed            =  rgb <1.0000, 0.2800,0.0000>;
  #declare OrangeRed1           =  rgb <1.0000, 0.2695,0.0000>;


My idea is, to read each line of that file, and transform each line from
a definition to a cylinder showing the color specified in this line's
declaration.

But I don't know which scene commands I have to use, to achieve that.
Please help me. Thanks.

Sven


Post a reply to this message

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