|
![](/i/fill.gif) |
"SharkD" <nomail@nomail> wrote:
> I've tried specifying iors that are less than one but get very different
> results. The cones are now striped. It doesn't look very good at all.
Nevermind. I had set the ior to -1.01 instead of 0.99.
I've tried nesting cones with increasing ior as follows. However there are a
lot of shadow-like artifacts introduced which I don't know how to get rid
of.
#declare Increment1 = 0.1;
#declare Increment2 = 0.01;
#declare Exhaust_Plume = union
{
#declare Count1 = 0;
#while (Count1 < 1)
#declare InvCount1 = 1 - Count1;
#declare Count2 = 0;
#while (Count2 < 1)
intersection
{
cone
{
<0,Count2 * -128,0,>, 6 + Count2 * Count1 * 26, <0,(Count2 +
Increment2) * -128,0,>, 6 + (Count2 + Increment2) * Count1 * 26
open
}
material
{
texture
{
pigment {color rgbt 1}
}
interior
{
ior ((1 - InvCount1 * 0.1) + Count2 * InvCount1 * 0.1)
}
}
}
#declare Count2 = Count2 + Increment2;
#end
#declare Count1 = Count1 + Increment1;
#end
}
Post a reply to this message
|
![](/i/fill.gif) |