POV-Ray : Newsgroups : povray.newusers : Media, radiosity, and coffee : Re: Media, radiosity, and coffee Server Time
30 Jul 2024 14:22:10 EDT (-0400)
  Re: Media, radiosity, and coffee  
From: Mike Raiford
Date: 5 Feb 2004 08:20:28
Message: <4022431c$1@news.povray.org>
"Matthew Pace" <mat### [at] earthlinknet> wrote in message
news:matthewpace-9E3040.22433104022004@news.povray.org...

> Things I have checked:
>    Sphere is within camera view
>    Media is on
>    Radiosity is effected by media

Ahh, but you didn't check that the sphere containing the media was hollow ;)

after messing with your scene a bit, I would suggest simply using small
cubes with an orange light source inside (maybe emitting media in the
cracks) to get the effect you're looking for.  It doesn't look like
Radiosity + high ambient will create the "light" to be scattered. You need a
true light source for this.

Example:

sphere
{
   <1.5,1.5,1.5> 8 hollow  // Must be hollow for media
   pigment
   {
      color rgbf 1
   }
   interior
   {
      media
      {
         //absorption .5
         //emission <.2,.2,.05>
         scattering
         {
            3
            color rgb .1
            extinction 0.0
         }
         /*density
         {
            bozo
               color_map
               {
                  [0 color rgb 0]
                  [.5 color rgb 0]
                  [1 color rgb 1]
               }
         } */
      }
   }
}


Post a reply to this message

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