POV-Ray : Newsgroups : povray.beta-test : [Linux] RC3 Doesn't recognise ppm format. : [Linux] RC3 Doesn't recognise ppm format. Server Time
29 Jul 2024 12:25:32 EDT (-0400)
  [Linux] RC3 Doesn't recognise ppm format.  
From: Steve
Date: 6 May 2002 18:06:57
Message: <slrnaddvgu.gb7.steve@zeropps.org.uk>
POV-Ray 3.5 RC3 Linux RH6.2 320M RAM PII 266. 

I'm rendering my way through some of the example files that come with POV
and when rendering crater.pov in scenes/objects I find that it can't read
its own output PPM files.   Yes I have rendered crater_dat.pov to 
crater_dat.ppm and pov is finding it because I get a different error
message if I move crater_dat.ppm. 

This is the error message:

height_field {


  "crater_dat" <----ERROR


Parse Error: File is not in PPM format.

When I try to open the ppm file in ImageMagic I get a Segmentation fault.

I render a tga image and tell crater.pov what to look for and it renders
fine with the tga as height_field. 

Then I open the tga file in ImageMagic and save it to ppm format and 
then try to render again and get this:

height_field {


  "crater_dat" <----ERROR


Parse Error: Unsupported number of colors (0) in PPM image.

When I open the tga file in gimp and save it to ppm format I get:

height_field {


  "crater_dat" <----ERROR


Parse Error: Invalid width or height read from PPM image.

-- 
sphere{z*5,1pigment{rgb.5}finish{reflection.3specular.5}}box{<-50,-3,-50>
<50,-2,50>pigment{checker/*\__\\__/  * \_\\__*/scale 2}finish{ambient.7}}
light_source/*__\\__\\__\\__\\__\(    ~ )\__\\__\\__\\__\\*/{<2,5,1>*4,1} 
/*\\__\\__\\__\\__\\__\\__\\__\\__\~  -/__\\__\\__\\__\\__\\*//* Steve */


Post a reply to this message

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