|
|
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
|
|
|
|
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
|
|