POV-Ray : Newsgroups : povray.newusers : height_field ? : Re: height_field ? Server Time
5 Sep 2024 20:21:15 EDT (-0400)
  Re: height_field ?  
From: Ken
Date: 5 Sep 1999 03:04:07
Message: <37D21592.B0872408@pacbell.net>
Ian Burgmyer wrote:
> 
> Yes, and also don't confuse it for an image_map.  A heightfield takes the
> color brightness (I think) and assigns everything a height.  It doesn't
> display a texture on an image.
> 
> If I'm wrong, please beat me up, run me over, and post a message correcting
> me (Don't even think about doing the first two things ;)
> 
> -Ian

Actually it takes the color itself. From a pallet of 256 for an 8 bit image
black would be zero height and 255 would be a height of one. With 16 bit
image as input you get 65k differnt values of height between zero and one.
You are correct however when you say that the color of the image used to
create the height field is not automaticaly applied to the HF when it is
created. The HF still needs a standard pigment statment as do all objects
in a Pov scene.

-- 
Ken Tyler

See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

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