From Schmid.wiki
Jump to: navigation, search

References

Compiling POV-Ray on MSYS / MinGW

  1. Download 'Unix / Linux / Generic Source Code' from http://povray.org/download/ .
  2. Delete /usr/local/bin/povray (we should use povray.exe, not povray which is an ELF file)
  3. Configure library paths in $HOMEPATH\.povray\VERSION\povray.ini, something like this:
Library_Path="c:\msys\1.0\local\share\povray-3.6"
Library_Path="c:\msys\1.0\local\share\povray-3.6\ini"
Library_Path="c:\msys\1.0\local\share\povray-3.6\include"

Color Maps

Example

pigment {
    bozo
    colour_map {
        [0.1  color <.50,.55,.57>]
        [0.3  color <.57,.53,.50>]
        [0.6  color <.53,.59,.57>]
        [0.8  color <.55,.53,.55>]
    }
}

Pigment Functions

Example

pigment {
    function { sin(x*10)/sin(y*10)*0.7 }
    colour_map {
        [0.0 rgb <1,0,0>]
        [0.5 rgb <1,1,0>]
        [1.0 rgb <1,0,0>]
    }
}