POV-Ray : Newsgroups : povray.general : df3 and color-maps : Re: df3 and color-maps Server Time
30 Jul 2024 20:20:37 EDT (-0400)
  Re: df3 and color-maps  
From: Warp
Date: 28 May 2008 04:18:24
Message: <483d1550@news.povray.org>
minzi0815 <mar### [at] eumetsatint> wrote:
> I want to display a df3 - file that holds 16 Bit measuring values that range
> from 0 to 65535. I want povray to display each value in a different color. How
> is that possible to do ? Do I need a color map at all ?

color_map
{ [0/255 color1]
  [1/255 color2]
  [2/255 color3]
  [3/255 color4]
  ...
  [255/255 color256]
}

  If all the 256 colors defined on the right-hand side are distinct and
properly selected, the entire image map can be used to get 65536 different
colors. (It might be difficult to avoid having some interpolated colors
being the same, though. That's why the colors have to be properly selected.)

-- 
                                                          - Warp


Post a reply to this message

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