Mike Williams wrote:
>
> When I use POVRay to generate a hf_gray_16 TGA file, it works as a
> height_field.
>
> When I do exactly the same thing with a PPM file generated with
> hf_gray_16 and +fp. I get an error "Parse Error: File is not in PPM
> format (type 53)" when I try to use it as a height_field. (POVRay 3.6
> Windows 98se).
As said with hf_gray_16 POV-Ray generates PGM files - you have to
specify them as 'pgm' in the heightfield statement.
> Some image editors think that the hf_gray_16 PPM file has 8 bits per
> pixel (and don't display it correctly). Other image editors think that
> it's an 8-bit greyscale PGM file with an incorrect extension (and do
> display it correctly).
A lot of image editors don't read PPM/PGM files according to the specs.
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
|