prev index next |
Rendering
and Output
|
POV-Ray Tips,
Tricks, and Techniques |
Greyscale
Image?
|
Robert Dawson asks for another feature in POV-Ray: | A 'monochrome' command that forces POV to render in black
and white (or interpolating between two optional color arguments to allow
(eg) sepia print effects). This *can* be done by postprocessing or by defining
all the colors to be gray.
|
|
Andreas Dilger has this advice:
|
This can easily be done by specifying a -DG option on the
command-line to display in a grayscale palette. This doesn't, however,
save the image in grayscale, but it should be enough to use for a preview,
and then you can do the conversion afterwards once you are happy.
To save a gray image, you can use the heightfield rendering option with
PNG to output a grayscale image. This works because PNG heightfields
are stored as 16-bit grayscale, while TGA and other formats are stored
as funky red-green images.
|
|