POV-Ray : Newsgroups : povray.beta-test : 16-bit PGM pigment and height field problems : Re: 16-bit PGM pigment and height field problems Server Time
4 Nov 2024 21:20:43 EST (-0500)
  Re: 16-bit PGM pigment and height field problems  
From: Ron Parker
Date: 1 Oct 2001 23:51:58
Message: <slrn9rief2.cmg.ron.parker@fwi.com>
On Thu, 20 Sep 2001 02:31:02 -0500, Mike Hough wrote:
>This scene renders a height_field using a 16-bit PGM file in POV 3.1G while
>the same scene in 3.5 looks scrambled.  Does this have something to do with
>the new PPM libraries?  I'll try uploading the file for this scene to the
>binaries group but I suspect it may be too big...

Mike, your PGM file has a couple of problems.  First, xv thinks it's
truncated (and pgmtoppm spins forever trying to read it, which backs up
xv's assertion.)  Second, the lines are too long: the pgm spec says lines
must be 70 characters or less.  I don't know if either of these is what
causes POV to choke on the file, but none of my other tools want to work
with it either.

-- 
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker


Post a reply to this message

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