POV-Ray : Newsgroups : povray.general : Luminous plasma ideas sought! : Re: Luminous plasma ideas sought! Server Time
11 Aug 2024 09:21:59 EDT (-0400)
  Re: Luminous plasma ideas sought!  
From: Bill DeWitt
Date: 12 Aug 1999 15:43:43
Message: <37b323ef@news.povray.org>
Matt Giwer <mgi### [at] giwersworldorg> wrote in message
news:37B01438.4138700C@giwersworld.org...
> Matt wrote:
>
> > I want to create a glowing multilayered torus of plasma to play with.
> > Can anyone suggest how  to get started with such light emitting foggy
> > things please?
>

In my continuing attempts to make an Aurora, I have been working with this
(below) but I have yet to make a multi-layered one. Nor am I able to get an
outward curving slice of this one...

//////////////////////
#macro Funct1(Increment)
       sin((Increment)*(pi))
  #end
//////////////////////

sphere{ 0,2
                hollow
                pigment { rgbt 1 }

erior{ 
                          
    media {
                samples 10, 30 
                emission  rgb < 0.0, 0.0, 2.0 > 
         
     density { cylindrical//atmosphere
               color_map{
               
                         #declare I = 0;
                         #while ( I < 1 )
                           [I rgb Funct1(I) ]
                         #declare I = I + 0.2;
                         #end 
                        
                        }
                        scale 2    

              } // end den 
        
 
               
     density { gradient y file://atmosphere 
               color_map{
               
                         [ 0.0 rgb 1 ]
                         [ 1.0 rgb 0 ] 
                        
                        }
                      
                        scale     < 1.0, 2.0, 1.0 > 
                                   
               } // end den                
              } file://end media     
             } file://end sphere
                scale     < 1.0, 0.333, 1.0 >
            } file://end object SkySphere01


Post a reply to this message

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