POV-Ray : Newsgroups : povray.binaries.images : WIP lamp for a sauna (92kb) : Re: WIP lamp for a sauna (92kb) Server Time
14 Aug 2024 20:23:13 EDT (-0400)
  Re: WIP lamp for a sauna (92kb)  
From: Ib Rasmussen
Date: 14 Sep 2002 05:20:17
Message: <3D82FF3E.9030507@ibras.dk>
Sir Charles W. Shults III wrote:

>     Here is a fast little blob bases light bulb- it was a bug light, hence the
> yellow color.  This will give you an idea of how good it can look with almost no
> effort.  now if I could only find the original source code.


And here's a CSG one, made like this:

#declare LightBulb=merge{
    sphere { <0, 0, 0>, 3 }
    cone { <0, 1.4553, 0>, 2.6234, <0, 2.8474, 0>, 1.8511 }
    difference {
       cylinder { <0, 2.8473, 0>, <0, 3.8176, 0>, 1.8511 }
       torus {3.6, 2 translate <0, 3.8176, 0> }
    }
    cylinder { <0, 3.8176, 0>, <0, 4.6, 0>, 1.6 }
    torus { 1.2, 0.4 translate <0, 4.6, 0> }
  // Set ambient to 1 to "turn it on", and put a light source inside it
    texture { pigment { White } finish { ambient 0.0 }  }
    no_shadow
}

/Ib


Post a reply to this message


Attachments:
Download 'testbulb.jpg' (5 KB)

Preview of image 'testbulb.jpg'
testbulb.jpg


 

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