|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I played a bit with height-fields and it seems that imports of Tiff
files in Heightfield and ImageMap doesn't propper.
I tried:
height_field {
tiff "landscape.tif"
texture {
pigment {
image_map { png "landscapepaint.png" map_type 0 interpolate 2 once
}
rotate x*90 // lay X-Y image map down onto X-Z height field plane
}
}
scale ....
}
landscapepaint.png is just a painted version of landscape.tif but the
imagemap appeared mirrored on the heightfield.
rotate x*270
didn't work. some strange residual pixels appeared where my Landscape
should be.
Exchanging image formats to png,tga,sys gave following picture.
png , tga, sys as heightfield and as imagemap give the expected
orientation
tiff as heightfield and as imagemap give the expected orientation
tiff as heightfield and png , tga, sys as imagemap give mirrored
orientation
png , tga, sys as heightfield and tiff as imagemap give mirrored
orientation
It seems that the importfunction of tiff has a problem.
Another question: 16bit-greyscale tiffs do not work. Is this true in
general or is it depending on the Image creating program (Corel10).
Continue the great work and Thanks
SciBorg
---------------------------------------------------------------------------------------------------------------------------
athlon 800 / 256MByte RAM / W98 / POV3.5 beta 6
athlon 1400 / 256MByte RAM / NT4.0 / POV3.5 beta 6
Post a reply to this message
|
|
| |
| |
|
|
From: Thorsten Froehlich
Subject: Re: Tiff-Bug (Heigth-Field & image map)
Date: 18 Oct 2001 06:20:53
Message: <3bcead05@news.povray.org>
|
|
|
| |
| |
|
|
In article <3BCEAB5A.19409DE5@irrwerk.de> , SciBorg <tck### [at] irrwerkde> wrote:
> It seems that the importfunction of tiff has a problem.
No, but some programs save tiff files mirrored or rotated or both. POV-Ray
doesn't (yet) use these flag to reverse this (nonsense) and thus some tiff
images are mirroed or rotated or both :-(
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks for the fast answer !
And sorry about the rotation "problem"
If I rotate x*270 or x*-90 I have to translate +z the image.
Sorry :-)
SciBorg
(Which 16bit image formats are supported ?)
Post a reply to this message
|
|
| |
| |
|
|
From: Christoph Hormann
Subject: Re: Tiff-Bug (Heigth-Field & image map)
Date: 18 Oct 2001 07:29:36
Message: <3BCEBD2F.9F6C03C8@gmx.de>
|
|
|
| |
| |
|
|
SciBorg wrote:
>
> (Which 16bit image formats are supported ?)
PNG, PGM, POT (special fractint gif type) and TGA (with the red/green
channel trick)
To Ingo: I just read the corresponding part of the docs and found that
usually names of mentioned programs (fractint, gforge) are formatted with
<code> but not always.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |