POV-Ray : Newsgroups : povray.binaries.programming : ppm.cpp patch : Re: ppm.cpp patch Server Time
28 Mar 2024 09:31:24 EDT (-0400)
  Re: ppm.cpp patch  
From: PoD
Date: 25 Jan 2003 08:43:45
Message: <pan.2003.01.25.13.43.44.95289@internode.on.net>
On Sat, 25 Jan 2003 13:30:59 +0100, Christoph Hormann wrote:

> 
> 
> PoD wrote:
>> 
>> As reported in p.g, POV-Ray 3.5 does not read PPM files properly. The
>> proper format is
>> P6
>> width height
>> max_value
>> data
>> 
>> 
> Just for the record, the only rule for spacing in the header of a ppm is
> that between the values there is one or more whitespace (before the data
> in binary ppm's only one whitespace is allowed).

But most if not all PPMs use the above format, possibly with comments as
well.

> 
> Concerning your patch - i have not tested it but i never had problems
> reading ppm's with POV-Ray.
> 

That's odd because the ppm code in 3.5a does not read normal PPM files.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.