POV-Ray : Newsgroups : povray.binaries.images : ORCA (still wip) : Re: ORCA (still wip) Server Time
16 Aug 2024 08:13:41 EDT (-0400)
  Re: ORCA (still wip)  
From: Hugo
Date: 1 Mar 2002 04:39:52
Message: <3c7f4c68$1@news.povray.org>
Things are moving forwards!  :o)  I just wonder why you're using media
(probably as an "atmosphere") instead of fog + spheres of media around bulps
.... it would save you many hours rendering! Here's a quick code for media
bulps, written by Warp.

Regards
Hugo

#macro Glow(GlowColor, Scale)
  sphere
  { 0, 1 hollow no_shadow
    pigment { rgbt 1 }
    interior
    { media
      { emission 1/Scale
        density
        { spherical density_map
          { [0 rgb 0][.5 rgb GlowColor*.5][1 rgb 1]
          }
        }
        samples 1,1 intervals 1 confidence .1 // quite fast settings
        method 3
      }
    }
    scale Scale
  }
#end

camera { location -z*10 look_at 0 angle 35 }
plane { y,-2 pigment { checker rgb 1, rgb .5 } }

light_source
{ <-1.5,1,0>, <1,.5,0>
  looks_like { Glow(<1,.5,0>, .5) }
}
light_source
{ <2,.5,0>, <0,.5,1>
  looks_like { Glow(<0,.5,1>, 1) }
}


Post a reply to this message

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