POV-Ray : Newsgroups : povray.windows : Parse Error: Cannot read color depth from PPM image : Parse Error: Cannot read color depth from PPM image Server Time
2 Jun 2024 08:26:14 EDT (-0400)
  Parse Error: Cannot read color depth from PPM image  
From: John
Date: 15 Sep 2005 11:30:00
Message: <web.4329930a83e0eaf5e660e66a0@news.povray.org>
Hello,

I was wondering if someone could help me? I have searched for an answer for
the last two days and thought perhaps it would be easier if I ask this
quesiton. I am a novice to POV but can see it's a great application so
please bear with me.

I am trying to use a file from a program called Castle Builder and when I go
to render the file (or almost any file which uses a PPM) I receice the
error:

"Parse Error: Cannot read color depth from PPM image"

The issue always seems to occur at the filename line (or at least that's the
line the editor highlights). I have an example below and was hoping someone
could help me, or perhaps even point me in the right direction?

height_field {
   ppm "C:/POV-Ray3.6/testcastle_hf.ppm"
   texture { ground_tx }
   scale <256,25,256>
   translate -1.5*y }

Is there something I'm missing or something I've set-up incorrectly? Would
anyone happen to know of a building/castle generator which works better
with POV than Castle Builder?

If you need any other information please let me know as I would very much
like to be able to merge terragen terrain files with buildings.

I appreciate any help that anyone can give and apologize if this issue has
been addressed elsewhere.

Thanks in advance,
John


Post a reply to this message

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