POV-Ray : Newsgroups : povray.binaries.images : Anybody Know How To Make Smoke? <34k jpg> Server Time
3 Oct 2024 19:19:29 EDT (-0400)
  Anybody Know How To Make Smoke? <34k jpg> (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Ken
Subject: Re: Anybody Know How To Make Smoke? <34k jpg>
Date: 6 Jan 2000 13:09:31
Message: <3874D79A.183DE1E5@pacbell.net>
Eric Freeman wrote:
> 
> Hey all,
> 
> Here's my latest creation (it's going in my stereo image).  The problem is I
> have no clue how to make smoke... haven't really messed with media much.
> Clues?  Hints? Big chunks of code?

How about a smoke generating include file ?

http://www.studenter.hb.se/~arch/smokegen/smokegen.htm

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Sigmund Kyrre Aas
Subject: Re: Anybody Know How To Make Smoke? <34k jpg>
Date: 6 Jan 2000 16:13:11
Message: <38750562.83ECFD22@stud.ntnu.no>
Light something up? huhu, not funny. Actually I can't see your image
because the transfer was interrupted after 10 lines.
Anyone know a way of refreshing the post using Netscape newsreader?

As for smoke, there is a file in the Povray distribution by Dan Farmer
named smoke.pov. Somehow I couldn't parse it now (returned undeclared
identifier 'halo') but if memory serves me it was a rather slow scene
with a glass ashtray and very good looking smoke.

sig.

Eric Freeman wrote:
> 
> Hey all,
> 
> Here's my latest creation (it's going in my stereo image).  The problem is I
> have no clue how to make smoke... haven't really messed with media much.
> Clues?  Hints? Big chunks of code?
> 
> Eric
> 
> ---------------
> "A wise and frugal government, which shall restrain men from injuring one
> another, which shall leave them otherwise free to regulate their own
> pursuits of industry and improvement, and shall not take from the mouth of
> labor the bread it has earned.  This is the sum of good government."
>      - Thomas Jefferson
>      - First inaugural address, 1801
> ---------------
> http://www.ametro.net/~ericfree
> 
>  [Image]


Post a reply to this message

From: Chris Huff
Subject: Re: Anybody Know How To Make Smoke? <34k jpg>
Date: 6 Jan 2000 16:28:21
Message: <chrishuff_99-07E894.16241206012000@news.povray.org>
In article <38750562.83ECFD22@stud.ntnu.no>, Sigmund Kyrre Aas 
<as### [at] studntnuno> wrote:

> As for smoke, there is a file in the Povray distribution by Dan Farmer
> named smoke.pov. Somehow I couldn't parse it now (returned undeclared
> identifier 'halo') but if memory serves me it was a rather slow scene
> with a glass ashtray and very good looking smoke.

Halo was a feature in the 3.0 versions which was replaced with media in 
3.1.

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


Post a reply to this message

From: Eric Freeman
Subject: Re: Anybody Know How To Make Smoke? <34k jpg>
Date: 6 Jan 2000 17:05:08
Message: <38751194@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote in message
news:3874D79A.183DE1E5@pacbell.net...
>
> How about a smoke generating include file ?
>
> http://www.studenter.hb.se/~arch/smokegen/smokegen.htm

Thanx... this looks like it has promise.

Eric
---------------
"A wise and frugal government, which shall restrain men from injuring one
another, which shall leave them otherwise free to regulate their own
pursuits of industry and improvement, and shall not take from the mouth of
labor the bread it has earned.  This is the sum of good government."
     - Thomas Jefferson
     - First inaugural address, 1801
---------------
http://www.ametro.net/~ericfree


Post a reply to this message

From: Sigmund Kyrre Aas
Subject: Re: Anybody Know How To Make Smoke? <34k jpg>
Date: 6 Jan 2000 17:12:45
Message: <3875135B.AF135422@stud.ntnu.no>
Too bad #version 3.0 doesn't work.

sig.

Chris Huff wrote:
> 
> In article <38750562.83ECFD22@stud.ntnu.no>, Sigmund Kyrre Aas
> <as### [at] studntnuno> wrote:
> 
> > As for smoke, there is a file in the Povray distribution by Dan Farmer
> > named smoke.pov. Somehow I couldn't parse it now (returned undeclared
> > identifier 'halo') but if memory serves me it was a rather slow scene
> > with a glass ashtray and very good looking smoke.
> 
> Halo was a feature in the 3.0 versions which was replaced with media in
> 3.1.
> 
> --
> Chris Huff
> e-mail: chr### [at] yahoocom
> Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Chris Huff
Subject: Re: Anybody Know How To Make Smoke? <34k jpg>
Date: 6 Jan 2000 17:30:34
Message: <chrishuff_99-E20FDD.17304306012000@news.povray.org>
In article <3875135B.AF135422@stud.ntnu.no>, Sigmund Kyrre Aas 
<as### [at] studntnuno> wrote:

> Too bad #version 3.0 doesn't work.

The "halo" and "atmosphere" features were dropped completely when media 
was added. You have to find an old version and use it to render the 
file...or replace the halo statements with media. Unfortunately there 
isn't any straightforward way of converting halo to media.
But once you learn the way media works, there isn't much of a problem.

-- 
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: 7 Jan 2000 09:10:43
Message: <3875f3e3@news.povray.org>
Chris Huff wrote in message ...
>Well, one good way is to use an isosurface density function with media.
>I think someone else did something like that a while ago.


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.

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

From: Ron Parker
Subject: Re: Anybody Know How To Make Smoke? <34k jpg>
Date: 7 Jan 2000 09:29:31
Message: <3875f84b@news.povray.org>
On Fri, 7 Jan 2000 16:06:14 +0200, Gail Shaw wrote:
>
>Chris Huff wrote in message ...
>>Well, one good way is to use an isosurface density function with media.
>>I think someone else did something like that a while ago.
>
>
>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.

Go see this message:

From: par### [at] fwicom (Ron Parker)
Newsgroups: povray.text.scene-files
Subject: A little scene to get your wheels turning
Message-ID: <376186b8@news.povray.org>
Date: 11 Jun 1999 17:59:20 -0400

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

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 2 Messages Goto Initial 10 Messages

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