|
|
Mike Williams wrote:
>
> It says that you can use a PPM file as a 16-bit height field, but you
> have to use a PGM file (and the syntax is "height_field pgm filename").
You can use a PPM file in a height_field,
height_field {
ppm "test.ppm"
}
works for any valid PPM - of course not for a PGM.
> It says that +fp outputs a PPM file, but if hf_gray_16 is active the
> output is a PGM file with an incorrect extension.
That's right.
> I don't think that there's any way that someone could guess the correct
> way to use PGM hf_gray_16 files by reading the documentation.
What's unclear about the use of PGMs? - you can use them in
heightfields, image maps and elsewhere just like any other image file
format supported.
Christoph
--
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 01 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/
Post a reply to this message
|
|