POV-Ray : Newsgroups : povray.binaries.images : Anybody Know How To Make Smoke? <34k jpg> Server Time
3 Oct 2024 19:18:35 EDT (-0400)
  Anybody Know How To Make Smoke? <34k jpg> (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Chris Huff
Subject: Re: Anybody Know How To Make Smoke? <34k jpg>
Date: 7 Jan 2000 09:54:05
Message: <chrishuff_99-71593F.09541407012000@news.povray.org>
In article <3875f3e3@news.povray.org>, "Gail Shaw" 
<gsh### [at] monotixcoza> wrote:

> Do you have an example handy? I tried that yesterday and my entire 
> container
> was filled with media, instead if the spiral that the function describes.

Here is a simple function that I came up with, it should be a good start 
for the density function.
The media itself needs a lot of work, though.

box {<-4, 0,-4>, < 4, 10, 4>
   pigment {color White filter 1}
   hollow
   interior {
      media {
         scattering {1, color White*10 extinction 0.15}
         intervals 1 samples 20, 20
         variance 1/128 confidence 0.99
         method 3
         density {
            function {
               max(0,min(1,
                  (y*0.25+noise3d(x,y,z))-
                  (
                     sqr(x+noise3d(x,y,z))+
                     sqr(z+noise3d(x,y,z))
                  )
               ))
            }
            color_map {
               [0 color Black]
               [1 color White]
            }
         }
      }
   }
}

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Gail Shaw
Subject: Re: Anybody Know How To Make Smoke? <34k jpg>
Date: 10 Jan 2000 03:22:43
Message: <387996d3@news.povray.org>
Chris Huff wrote in message ...
>In article <3875f3e3@news.povray.org>, "Gail Shaw"
><gsh### [at] monotixcoza> wrote:
>
>> Do you have an example handy? I tried that yesterday and my entire
>> container
>> was filled with media, instead if the spiral that the function describes.
>
>Here is a simple function that I came up with, it should be a good start
>for the density function.
>The media itself needs a lot of work, though.
>


Thanks, I'll try that this evenng.

Gail
*******************************************************************
* gsh### [at] monotixcoza              * ERROR: COFFEE.COM not found  *
* http://www.rucus.ru.ac.za/~gail/ * Insert cup and press any key *
*******************************************************************
* Definition of an upgrade: Take the old bugs out, put new ones in*
*******************************************************************


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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