Previous:Image Maps Main Index Next:Normal

#### Quick Color

When developing POV-Ray scenes its often useful to do low quality test runs that render faster. The `+Q` command line switch or `Quality` INI option can be used to turn off some time consuming color pattern and lighting calculations to speed things up. See "Quality Settings" for details. However all settings of `+Q5` or `Quality=5` or lower turns off pigment calculations and creates gray objects.

By adding a `quick_color` to a pigment you tell POV-Ray what solid color to use for quick renders instead of a patterned pigment. For example:

      pigment {

        gradient x

        color_map{

          [0.0 color Yellow]

          [0.3 color Cyan]

          [0.6 color Magenta]

          [1.0 color Cyan]

        }

        turbulence 0.5

        lambda 1.5

        omega 0.75

        octaves 8

        quick_color Neon_Pink

      }

This tells POV-Ray to use solid `Neon_Pink` for test runs at quality `+Q5` or lower but to use the turbulent gradient pattern for rendering at `+Q6` and higher.

Note that solid color pigments such as

      pigment {color Magenta}

automatically set the `quick_color` to that value. You may override this if you want. Suppose you have 10 spheres on the screen and all are yellow. If you want to identify them individually you could give each a different `quick_color` like this:

      sphere {

        <1,2,3>,4

        pigment { color Yellow  quick_color Red }

      }

      sphere {

        <-1,-2,-3>,4

        pigment { color Yellow  quick_color Blue }

      }

and so on. At `+Q6` or higher they will all be yellow but at `+Q5` or lower each would be different colors so you could identify them.

The alternate spelling `quick_colour` is also supported.

Previous:Image Maps Main Index Next:Normal