POV-Ray : Newsgroups : povray.newusers : Glow effect problem : Re: Glow effect problem Server Time
29 Jul 2024 08:14:56 EDT (-0400)
  Re: Glow effect problem  
From: Tim Attwood
Date: 8 Feb 2007 15:01:30
Message: <45cb819a@news.povray.org>
With media you are modeling a sphere
that is filled with a gas that varies in
color...
The final color depends on the background,
for example a red glow will appear purple
against a blue sky.
You can keep tweaking the size of the
sphere and the color map until you get
somewhat what you'd like.

In the real world, bright spots come from
a lens distortion effect at your eye.

Chris Colefax's include file models this by
placing a 2 dimensional disc with an
appropriate semi-transparent texture
near the camera. Some values are passed
by #declare to set the apparent location
of the glow, etc. In general for the type
of situation you are describing it would
be the better approach.
http://www.geocities.com/ccolefax/lenseffects.html

There's nothing keeping you from modeling
both the gas and the lens effect.


Post a reply to this message

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