|
|
I couldn't find any report on this one, so here it goes. My installation
of POV-Ray 3.5 beta 4 does is unable to read most of the image formats
when using them in height fields. For example using png's makes POV
report a parse error "Unknown image type in image_height_at". Using
GIF's works ok. Could this have something to do with GIF being indexed
image while PNG is not?
The code below makes this problem occur on my machine.
Windows 2000 Prof. SP2, 2*Celeron 400 on Abit BP6, 512Mb of memory.
-----------------------------------------------------------
#version 3.5;
global_settings {
assumed_gamma 1.0
}
// ----------------------------------------
camera {
location <0.0, 0.5, -4.0>
direction 1.5*z
right x*image_width/image_height
look_at <0.0, 0.0, 0.0>
}
sky_sphere {
pigment {
gradient y
color_map {
[0.0 rgb <0.6,0.7,1.0>]
[0.7 rgb <0.0,0.1,0.8>]
}
}
}
light_source {
<0, 0, 0> // light's position (translated below)
color rgb <1, 1, 1> // light's color
translate <-30, 30, -30>
}
// ----------------------------------------
plane {
y, -1
pigment { color rgb <0.7,0.5,0.3> }
}
height_field
{
png // the file type to read (tga/pot/pgm/ppm/png/sys)
"blue_ball0.png" // the file name to read
}
Post a reply to this message
|
|
|
|
In article <3BBBC477.C28BCD28@iki.fi> , Jari Juslin <zds### [at] ikifi> wrote:
> I couldn't find any report on this one, so here it goes. My installation
From: "Marc-Hendrik Bremer" <Mar### [at] t-onlinede>
Newsgroups: povray.beta-test
Subject: "Unknown image type" using png's in height-field
Date: Sun, 30 Sep 2001 13:17:32 +0200
Message-ID: <3bb6ff7b@news.povray.org>
See replies there.
____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|