POV-Ray : Newsgroups : povray.newusers : Glow effect problem : Re: Glow effect problem Server Time
29 Jul 2024 02:31:46 EDT (-0400)
  Re: Glow effect problem  
From: Tim Attwood
Date: 5 Feb 2007 03:43:33
Message: <45c6ee35$1@news.povray.org>
> At the very center, there is a white sphere. Everywhere else, there is
> either a blue glow (the first rgb value) or nothing, depending on what I
> input for the first rgb set. The code in the test scene and the main scene
> is identical. What's going on? Thanks,

Color maps fade from 0 to 1 linearly, but the spherical pattern
is going along a curve. You can tweak the location and color
to suit what you want in the color map. The colors are added
to the background color, white tends to saturate...

However, the spherical pattern is located at the origin, to move
it you need to define it at the origin, and then translate it.
You won't see the spherical pattern if you just place the container
object elsewhere.

This is correct:
sphere {<0,0,0>,1 hollow material{glow} translate <0,1,0>}

This is wrong:
sphere {<0,1,0>,1 hollow material{glow} }


Post a reply to this message

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