POV-Ray : Newsgroups : povray.advanced-users : Re: More trouble with media : Re: More trouble with media Server Time
29 Jul 2024 20:27:08 EDT (-0400)
  Re: More trouble with media  
From: Bryan Valencia
Date: 12 Jan 2001 17:34:10
Message: <3A5F873A.45A13B3D@209software.com>
by the way, I found out what my problem was... I didn't use "hollow".

Tom Melly wrote:

> >
> > > I want a unit sphere that looks like a glowing ball of yellow or green
> > > gas.  Once again, I can't get it to show up at all.  it's always
> > > completely invisible.
> >
>
> // try something like this (note the comments about megapov)
> #version unofficial MegaPov 0.5; // remove this line if not using megapov
>
> #include "colors.inc"
> light_source{<0,0,0> White translate <-20, 20, -20>}
> camera{location  <0,0,-50> look_at <0,0,0>}
>
> sphere{0, 20
>   pigment{rgbf 1}
>   finish{reflection 0.1 specular 0.5 roughness 0.001}
>   hollow on
>   interior{
>     ior 1.6
>
>     media{
>       method 3 // replace this line with "intervals 50" if not using megapov
>       emission rgb<0.5,0.5,1>*0.125
>       absorption rgb<1,1,0.5>*0.125
>       density{
>         agate scale 10
>         density_map{
>           [0.99 Black]
>           [0.99 White]
>         }
>       }
>     }
>
>     media{
>       method 3 // replace this line with "intervals 50" if not using megapov
>       emission rgb<1,0.5,1>*.25
>       absorption rgb<0.5,1,0.5>*.25
>       density{
>         spherical scale 10
>         density_map{
>           [0.0 Black]
>           // [0.1 Black]
>           [1.0 wrinkles scale 5]
>         }
>       }
>     }
>
>   }
> }

--
Bryan Valencia
Software Services - Making Windows Scream
http://www.209software.com
mailto:bry### [at] 209softwarecom


Post a reply to this message

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