POV-Ray : Newsgroups : povray.general : How to simulate a phenomenon : Re: How to simulate a phenomenon Server Time
31 Jul 2024 08:25:00 EDT (-0400)
  Re: How to simulate a phenomenon  
From: SharkD
Date: 16 Jun 2007 17:45:02
Message: <web.467459a9e9b9c822343487a30@news.povray.org>
"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

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