POV-Ray : Newsgroups : moray.win : A light bulb : Re: A light bulb Server Time
18 May 2024 05:36:36 EDT (-0400)
  Re: A light bulb  
From: alanr
Date: 21 Feb 2011 08:40:00
Message: <web.4d626a3394c155b61d72ddf90@news.povray.org>
Stephen <mcavoys_at@aoldotcom> wrote:
> On 21/02/2011 1:22 AM, alanr wrote:
> > Is setting the scene ambient to 1 the only way to get the sphere to "glow" or
> > have I missed something?
> What I think you are looking for is projected_through to allow light
> through an object without the object casting a shadow. Or looks_like to
> make a light source have the appearance of an object. Neither of which
> seem to be available in Moray. I stopped using Moray a few years ago and
> now use Bishop3D as is still being developed and works with PovRay 3.7.

> Firstly create a material called Material1 with direct code texture.

> Then create a union of a sphere and point light. Assign Material1 to the
> sphere. You can change how translucent the sphere is by changing the
> diffuse value of interior_texture and change the ambient in the

> the code.
> Code below (watch out for line breaks):
> code removed to save space>
> --
> Regards
>      Stephen

Thanks for your speedy reply Stephen - but I followed your guidance to the
letter and got a reasonable result, especially when I cranked up the ambient to
1,1,1 and diffuse to 1.  Not sure I fully understand the detail of the code but
thats why I use Moray.

But your solution works which is what matters, and for that I'm grateful.

Now going to post another very fundamental question on reflection.

Post a reply to this message

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