POV-Ray : Newsgroups : povray.windows : trying to make black hole. Server Time
28 Jul 2024 18:19:43 EDT (-0400)
  trying to make black hole. (Message 1 to 2 of 2)  
From: Bloomquist Family
Subject: trying to make black hole.
Date: 23 Aug 1998 22:19:25
Message: <35e0bf9d.0@news.povray.org>
I'm trying to make a black hole. any pov files would be appriciated.


Post a reply to this message

From: Chris Colefax
Subject: Re: trying to make black hole.
Date: 26 Aug 1998 20:22:10
Message: <35E348CD.9F7C1CAE@geocities.com>
Bloomquist Family wrote:
> 
> I'm trying to make a black hole. any pov files would be appriciated.

Here's one I prepared earlier (very much earlier, in fact, just after
the spiral pattern was introduced in POV-Ray 3.0; now that you can
also use spirals in media, you could even look at converting the
pigments to densities...):

#declare LightCone = cone {<0, 0, 0>, 0, <0, 0, 4>, 1 scale <1, .2, 1>
   pigment {wood color_map {[0 rgbt <1, 1, 1, .5>] [.5 rgbt <0, .3, 1, .9>] [.8 rgbt
<0, 0, 0, 1>]}
   turbulence .01 octaves 4 lambda 4
   rotate x*90 scale <1.5, 1, 13> translate z}
   finish {ambient 1 diffuse 0}}

#declare BlackHole = union {
   sphere {0, 1 scale <1, 1, .05>
   pigment {wood pigment_map {
      [.4 spiral1 2 color_map {[0 rgbt <0, 0, 0, 1>] [.3 rgbt <0, .3, 1, .7>] [.8 rgbt
<1, 1, 1, .2>]} turbulence .1 octaves 4 lambda 4 scale .2]
      [.9 rgbt <0, .3, 1, 1>]} scale 2.2 turbulence .01 octaves 4 lambda 4}
      finish {ambient 1 diffuse 0}}
   sphere {0, .15 pigment {rgb 1}
      finish {ambient 1 diffuse 0}}

   object {LightCone} object {LightCone scale <1, 1, -1>}}

camera {location -z * 3}
object {BlackHole rotate <60, 0, -30>}


Post a reply to this message

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