POV-Ray : Newsgroups : povray.unofficial.patches : Isosurface feature request : Re: Isosurface feature request Server Time
2 Nov 2024 07:25:37 EDT (-0400)
  Re: Isosurface feature request  
From: mr art
Date: 31 Dec 1999 11:03:37
Message: <386CD3C2.BEF15D5C@gci.net>
You could try this code segment.
#declare P=6; /* this is the number of decimal Places to display*/
#declare CapColor= color <1,.9999999,.2222222,0,0>;
#warning "Vector <"     #warning str(CapColor.red     ,0,P)
#warning ", "           #warning str(CapColor.green   ,0,P)
#warning ", "           #warning str(CapColor.blue    ,0,P)
#warning ", "           #warning str(CapColor.filter  ,0,P)
#warning ", "           #warning str(CapColor.transmit,0,P)
#warning "> "

This gives some fun results if you dont use the key word "color"

Chris Huff wrote:
> 
> I don't know. Which is why I didn't state it as a fact. :-)
> I know they are limited to 255 entries, but I don't know how much
> precision a float value derived from a color_map would have. I haven't
> taken a close look at that part of the code. But the patterns can return
> double precision values, and they don't have to interpret a color_map to
> do so. This makes slightly less flexibility, you can't alter the
> waveform with a color_map, but could be a lot faster.
> 
> --
> Chris Huff
> e-mail: chr### [at] yahoocom
> Web page: http://chrishuff.dhs.org/


Post a reply to this message

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