POV-Ray : Newsgroups : povray.beta-test : [Linux] RC3 Doesn't recognise ppm format. Server Time
29 Jul 2024 14:18:59 EDT (-0400)
  [Linux] RC3 Doesn't recognise ppm format. (Message 1 to 3 of 3)  
From: Steve
Subject: [Linux] RC3 Doesn't recognise ppm format.
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

From: Steve
Subject: Re: [Linux] RC3 Doesn't recognise ppm format.
Date: 6 May 2002 19:42:10
Message: <slrnade565.gru.steve@zeropps.org.uk>
On 6 May 2002 18:06:57 -0400, Steve wrote:
> 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. 

There's something very strange going on here, the output ppm from 
crater_dat.pov causes a segmentation fault and dumps core with 
ImageMagic,  but ImageMaic has no problem opening other ppm files that
I create with POV 3.5 RC3, I'm not including any different command line
options or anything. 

I buess it's something to do with the hf_gray_16 in global settings. 

Yes commenting out hf_gray_16 before rendering allows ImageMagic to open
the file, but when rendering crater.pov POV now says: 

height_field {


  "crater_dat" <----ERROR


Parse Error: Unsupported number of colors (0) in 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

From: Felix Wiemann
Subject: Re: [Linux] RC3 Doesn't recognise ppm format.
Date: 7 May 2002 09:25:39
Message: <3cd7d5d3@news.povray.org>
RC3, SuSE Linux 7.3

I can confirm that crater_dat.pov creates a broken PPM file (not 
readable with POV-Ray or any other program), but crater.pov doesn't 
make any problems.
-- 
Felix Wiemann


Post a reply to this message

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