POV-Ray : Newsgroups : povray.beta-test : Tiff-Bug (Heigth-Field & image map) : Tiff-Bug (Heigth-Field & image map) Server Time
30 Jul 2024 16:26:54 EDT (-0400)
  Tiff-Bug (Heigth-Field & image map)  
From: SciBorg
Date: 18 Oct 2001 06:13:49
Message: <3BCEAB5A.19409DE5@irrwerk.de>
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

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