POV-Ray : Newsgroups : povray.beta-test : Problems with height_field Server Time
4 Nov 2024 17:30:11 EST (-0500)
  Problems with height_field (Message 1 to 2 of 2)  
From: Bonsai
Subject: Problems with height_field
Date: 24 Sep 2001 18:55:32
Message: <3BAFBA26.BCB2C094@b0n541.net>
Hm, it's not my day I think. O.k. let's start:

My machine is still a Athlon 1 GHz, 396 MB RAM, Win98 SE, POV-Ray 3.5
Beta 4.

At first I tried to render a grey scale image for a height field. I
copied the source code from the help section 3.4.3  Height Field Object:

//-- Start of code --//
#include "colors.inc"
global_settings
        {
        assumed_gamma 2.2
        hf_gray_16
        }

camera { location <0, 0, -10> look_at 0}

light_source { <0, 20, -100> color White }

plane { z, 10
        pigment {wrinkles
                color_map
                        {
                        [0 0.3*White]
                        [1 White]
                        }
                }
        }
//-- End of code --//

This gives the error: File Init Error: Cannot open output file

This error occurs with all file types POV-Ray can do. After commenting
out the "hf_gray_16" in the global_settings it renders fine.


Second thing:

POV-Ray does not accept PNG-Files as input file for a height_field. It
gives the error: Parse Error: Unknown image type in image_height_at.

This has also an effect on the rerendering of the insert menu images.
The image for the height_field+image_map in Menu Insert/Shapes. This
doesn't render too.

So, I go to bed now, before I find more worse things ;-)

By,

Bonsai


Post a reply to this message

From: Ron Parker
Subject: Re: Problems with height_field
Date: 24 Sep 2001 22:25:59
Message: <slrn9qvqpq.f7.ron.parker@fwi.com>
On Tue, 25 Sep 2001 00:56:38 +0200, Bonsai wrote:
>This gives the error: File Init Error: Cannot open output file
>
>This error occurs with all file types POV-Ray can do. After commenting
>out the "hf_gray_16" in the global_settings it renders fine.

See the thread titled "hf_gray_16" in this newsgroup for more information.

>Second thing:
>
>POV-Ray does not accept PNG-Files as input file for a height_field. It
>gives the error: Parse Error: Unknown image type in image_height_at.
>
>This has also an effect on the rerendering of the insert menu images.
>The image for the height_field+image_map in Menu Insert/Shapes. This
>doesn't render too.

This is broken for TIFF, too.  It should be fixed in the next beta.

-- 
#local R=<7084844682857967,0787982,826975826580>;#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's


Post a reply to this message

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