POV-Ray : Newsgroups : povray.binaries.images : Secret Passage WIP (TINA CHeP) : Re: Secret Passage WIP (TINA CHeP) Server Time
6 Oct 2024 06:01:30 EDT (-0400)
  Re: Secret Passage WIP (TINA CHeP)  
From: Bald Eagle
Date: 5 Nov 2014 10:25:01
Message: <web.545a40f7cbb3d8155e7df57c0@news.povray.org>
"s.day" <s.d### [at] uelacuk> wrote:
> Had a quick look at your light bulb source file

Thanks!
I made a new include file to construct a bare white room, the 2 ceiling
fixtures, and the lightbulbs.

> 1) remove the screw part of the lightbulb as it seems to be casting the shadow.

It's not, as I had the screwbase commented out.
(I'm sure it DOES cast _A_ shadow - but not the one that's slaughtering my
scene.)

> 2) use an area_light for your bulb as below:

> Both seem to work with the simple demo file I created.

Delving into the simplified scene, I noticed that I probably thought that
declaring the light source at the origin and using a 3D filament that was
translated y*3.5 would give me some sort of light source that emanates from the
actual surface of the filament.

This is clearly not the case, and not the way looks_like works.

Declaring the light_source at <0, 3.5, 0>, as the point light sources originally
were, fixed the problem of blotting out the entire lower part of the scene, and
makes sense given the light sources' proximity to the supporting half-spheres of
the fixture.

I think that since the lights were positioned _just_ above the fixture, what
spreading them out to an area light did was move the edges of the light source
over the edge and allowed them to illuminate underneath.

I've just gotten the fixtures and a sphere to look reasonably like what I want,
so I'm going to play around with that for a while.


Post a reply to this message


Attachments:
Download 'ceilinglamps.inc.txt' (12 KB)

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