|
![](/i/fill.gif) |
"Maurya" <mau### [at] hotmail com> wrote in message
news:web.3f46c6586888b68bc22240400@news.povray.org...
> Actually I need to add the temperature tag because I dont want to
> use the linear interpolation in the color map. However I have changed the
> code and added my temperature tag to it that uses the temperature_file tag
> to read data and uses the blackbody radiation to compute the color!
> Thanks,
> Maurya
You could still do it by generating a color map of 256 entries, spaced as
you desire (and the linear interpolation would only be used between them,
making it much more accurate). Something like lookup tables for sin, cos,
sqrt, etc. Populate it with accurate values, and interpolate between them.
...Chambers
Post a reply to this message
|
![](/i/fill.gif) |