POV-Ray : Newsgroups : povray.general : convert from halo to interior Server Time
5 Nov 2024 15:55:43 EST (-0500)
  convert from halo to interior (Message 1 to 1 of 1)  
From: digger vermont
Subject: convert from halo to interior
Date: 4 Sep 1998 16:39:08
Message: <35F07A42.13B39051@netaxsNOSPAMNO.com>
Hello,
	So far, my conversions from halos to interiors are not that great. The
interiors don't have the smoothness that I had with the halos. Any
suggestions? Here's a simple comparision:


Thanks, 

digger 

/////////////////////////////
// pov 3.02


camera {
    location <0, 0.25, -1.25>
    look_at <0, 0, 0>
  }

sphere { 0, 1
    pigment { color rgbf <1, 1, 1, 1> }
    halo {
        emitting
        spherical_mapping
        linear
        color_map {
            [ 0.0 rgbt <0,0,0,0> ]
            [ 0.01 rgbt <1, 0, 0,  1> ]
            [ 0.75 rgbt <1, 1, 0, -1> ]
            [ 0.98 rgbt <1, 0, 0,  1> ]
            [ 1.0 rgbt <0,0,0,0> ]
        }
        frequency 0.5
        scale 0.25
        samples 20
	}
	hollow
    scale 2
}
////////////////////////////////

/////////////////////////////////
// pov 3.1b6b


camera {
    location <0, 0.25, -1.25>
    look_at <0, 0, 0>
  }

sphere { 0, 1
    pigment { color rgbf <1, 1, 1, 1> }
    interior {
        media {
            emission 1.0
            density {
                spherical
                color_map {
                    [ 0.0 rgbt <0,0,0,0> ]
                    [ 0.01 rgbt <1, 0, 0,  1> ]
                    [ 0.75 rgbt <1, 1, 0, -1> ]
                    [ 0.98 rgbt <1, 0, 0,  1> ]
                    [ 1.0 rgbt <0,0,0,0> ]
                }
                frequency 0.5
                scale 0.25
            }
            samples 1, 20
        }
	}
	hollow
    scale 2
}

//////////////////////////////////////////


Post a reply to this message

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