|
|
I created a heightfield that renders just fine. I then took the (windows
bmp) height map and colorized it in an attempt to show altitude (very low
altitude values blue like water, higher values green tones and the highest
values more yellow).
When I look at the colorized version in a paint program, the pattern of the
colors visually matches the visual (black & white) pattern of the height
field exactly.
When I set up a POV scene and place the camera above the height field
looking down, the wrong values are taken for coloration - the yellow values
appear to be used for middle-height altitudes, rather than, as I expect,
for texturing whatever "pixel" happens to be under that color on the height
map.
Am I missing something here?
Images and code snippet are posted at http://www.johannsen.us/pov
Post a reply to this message
|
|