POV-Ray : Newsgroups : povray.general : Media confusion : Re: Media confusion Server Time
13 Aug 2024 19:20:36 EDT (-0400)
  Re: Media confusion  
From: Nathan Kopp
Date: 8 Jul 1998 02:54:03
Message: <35A3186B.E2FCE36C@ltu.edu>
Dan Connelly wrote:
> 
> Consider such things as "density"; the "sphere", "box", etc
> functions, density maps, color maps (in density statement),
> and the rather promising voxel files.
> 
> All the old stuff is still there (plus more).... it's
> just been reorganized.
> 
> Dan

Actually, that's not completely true.  Quite a bit has been
re-written, but the concept is the same.  One big difference
is that media IGNORES the transparant & filter channels of
its color maps.

To make a good looking flame you will probably want to use
two overlapping media.  The emitting one would contain a
color map that fades to black (black doesn't emit any light).
The second media would be absorbing and the color map colors
should probably be the compliments of the colors in the
emitting media (but still needs to fade to black).  The reason
that you'd use compliments is that you'd want to absorb the
colors other than the ones you are emitting.

I hope this helps.  The key is that you need to do a fade to
black instead of a fade to transparent (since transparency is
ignored).

-Nathan Kopp


Post a reply to this message

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