![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I really agree with you, and it works far better twith filter than with
transmit in a gray/white or a colour mixture other than solid colours.
but, I used red, since I had a red colour_map ready, and because I like
the colour.
//Spider
"Lars W." wrote:
>
> Hi
>
> I think it the Ken Map would work better if you are not just fading from red to
> transparent red.
> Try to fade to transparent White.
>
> I mean the following
>
> color_map {
> [0 color rgbf <1,0,0,0>]
> ... <- i still don't know why it is
> nesscesary to make multiple entrys ?
> [1 color rgbf <1,1,1,1>]
> }
The multiple entries in the beginning are made so that it will be solid
at a certain area, Therby preventing a transparenccy in the top, and
colour in the bottom. I still don't understand why mr Tyler did the
multiple entries, but I am sure he had a very good reason to do it.
//Spider
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Marc Schimmler wrote:
>
> Hi Warp1
>
> Thank you for your answer!
>
> I checked your solution and changed it in two ways.
>
> First a height of 1 for the cylinder leads to the repeating of the
> gradient so that both ends are opaque. By using y*0.999 I avoided this.
play some with the waveforms here. scallop_wave and sine_wave are nice.
> Second, the effect I was looking for is more the solution spider had
> given using the rgbt instead of the rgbf.
>
//Spider
--
#declare life = rand(seed(42))*sqrt(-1);
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Ken wrote:
> // #Ken = 1
> // #indenting = 0
>
> cylinder{<0,-1,0>,<0,1,0>,1
> pigment{gradient y color_map{
> [0.1 rgbf<1,1,1,1.0>]
> [0.1 rgbf<1,1,1,1.0>]
> [0.2 rgbf<1,1,1,0.9>]
> [0.3 rgbf<1,1,1,0.8>]
> [0.4 rgbf<1,1,1,0.7>]
> [0.5 rgbf<1,1,1,0.6>]
> [0.6 rgbf<1,1,1,0.5>]
> [0.7 rgbf<1,1,1,0.4>]
> [0.8 rgbf<1,1,1,0.3>]
> [0.9 rgbf<1,1,1,0.2>]
> [1.0 rgbf<1,1,1,0.0>]}
> translate -.5 scale 2}
> scale<1,2,1>}
Sorry, you didn't start in column 7.
--
Bob & Kelly Crispen
cri### [at] hiwaay net
"Verbosity leads to unclear, inarticulate things."
-- Vice President Dan Quayle, 11/30/88
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Guess any veteran pover will know you typo'd the 1.8 in there. But for
any newbies coming across this thread, 0.8 is correct for the value in
the next to the last bracket.
Extreme indenting, btw, Ken. Your spaces must be enormous in that font
<sarcasm>.
Ken wrote:
>
> An untested example:
>
> cylinder{
> <0,-1,0>,
> <0,1,0>,
> 1
> pigment{
> gradient y
> color_map{
> [0.0 rgbf<1,1,1,1.0>]
> [0.0 rgbf<1,1,1,1.0>]
> [0.2 rgbf<1,1,1,0.8>]
> [0.2 rgbf<1,1,1,0.8>]
> [0.4 rgbf<1,1,1,0.6>]
> [0.4 rgbf<1,1,1,0.6>]
> [0.6 rgbf<1,1,1,0.4>]
> [0.6 rgbf<1,1,1,0.4>]
> [0.8 rgbf<1,1,1,0.2>]
> [1.8 rgbf<1,1,1,0.2>]
> [1.0 rgbf<1,1,1,0.0>]
> }
> translate -.5
> }
> }
>
> How is my indenting now people ?
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/POVring.htm
mailto:inv### [at] aol com?PoV
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
There's also the more usual method of specifying a greater than 1 (ie.
1.01) for the final color_map entry to keep from having a repeat at the
pov unit.
Marc Schimmler wrote:
>
> Hi Warp1
>
> Thank you for your answer!
>
> I checked your solution and changed it in two ways.
>
> First a height of 1 for the cylinder leads to the repeating of the
> gradient so that both ends are opaque. By using y*0.999 I avoided this.
>
> Second, the effect I was looking for is more the solution spider had
> given using the rgbt instead of the rgbf.
>
> I will post at binaries.images two cylinders that show the difference.
>
> Again, thank you
>
> Marc
> --
> Marc Schimmler
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/POVring.htm
mailto:inv### [at] aol com?PoV
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |