POV-Ray : Newsgroups : povray.newusers : Smoke Server Time
4 Nov 2024 17:31:46 EST (-0500)
  Smoke (Message 1 to 2 of 2)  
From: SYLVAIN LESEUR
Subject: Smoke
Date: 12 Apr 2003 13:49:53
Message: <3e9851c1@news.povray.org>
Hello.
Create smoke or flamme  is not easy and to much hard for
a thing so simple. But it's easy to create a disc with
a texture like smoke or flamme
The trouble is: the disc must be in front of the camera.
How can i do that?
A macros ? A .inc ? A code who do that.
Who say to the disc. Hello disc, you must rotate! The
camera translating.
Friendly.
Sylvain.


Post a reply to this message

From: Christopher James Huff
Subject: Re: Smoke
Date: 12 Apr 2003 15:39:50
Message: <cjameshuff-32CC25.15395112042003@netplex.aussie.org>
In article <3e9851c1@news.povray.org>,
 "SYLVAIN LESEUR" <sle### [at] freefr> wrote:

> Create smoke or flamme  is not easy and to much hard for
> a thing so simple.

Appearances are deceptive...the reason they are hard is that they are 
*not* simple.


> But it's easy to create a disc with a texture like smoke or flamme
> The trouble is: the disc must be in front of the camera.
> How can i do that?
> A macros ? A .inc ? A code who do that.
> Who say to the disc. Hello disc, you must rotate! The
> camera translating.

To specify a disc, you give a center and a normal direction. Just set 
the normal to camera location - disc center to point it at the camera.

There are fairly obvious problems with this method: reflections, 
refractions, shadows, etc. will simply look wrong, and you could end up 
with an obvious disc shape visible. This trick is usually only used in 
games and other places where you need real-time rendering, or in places 
where there isn't enough detail to notice the flaws.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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