POV-Ray : Newsgroups : povray.binaries.programming : ppm.cpp patch : ppm.cpp patch Server Time
7 Dec 2022 09:36:56 EST (-0500)
  ppm.cpp patch  
From: PoD
Date: 25 Jan 2003 07:19:04
Message: <3e3280b8@news.povray.org>
As reported in p.g, POV-Ray 3.5 does not read PPM files properly.
The proper format is
width height

The POV reader expects the max_value on the same line as the width and 
height.  If you don't want to patch POV-Ray, you can edit the PPM files 
to make them work in POV.

Here's a patch to fix it. I only spent a short time on this, so it's 
probably still broken but it loads the files that I've tried.


Post a reply to this message

Download 'us-ascii' (2 KB)

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