POV-Ray : Newsgroups : povray.newusers : HeightMap Problems : Re: HeightMap Problems Server Time
6 Sep 2024 04:23:22 EDT (-0400)
  Re: HeightMap Problems  
From: Phoenix
Date: 11 Feb 1999 08:09:28
Message: <MPG.112cf54b80c5cb48989684@news.povray.org>
'T was on Thu, 11 Feb 1999 04:43:50 -0600,
that Bob Hughes wrote:
> Basicly, a heightfield is very unlike an image_map in that the palette
> index numbers don't matter for a HF, yet they do for image_maps where
> the colors don't follow the index neccessarily.

This is not true. The docs make it very clear that the index numbers are 
used in for instance a .gif file.

Quote:
    "The color of the palette entry does not affect the height of the
     pixel. Color entry 0 could be red, blue, black or orange but the 
     height of any pixel that uses color entry 0 will always be 0. Color
     entry 255 could be indigo, hot pink, white or sky blue but the 
     height of any pixel that uses color entry 255 will always be 1."

Phoenix

-- 
eag### [at] telekabelnl                       http://users.telekabel.nl/eagle
------------------------------------------------------------------------
The POV-Ray VFAQ: http://iki.fi/warp/povVFAQ.html


Post a reply to this message

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