Lighting a night time scene in POVRay.


RE: Lighting a night time scene in POVRay. Making the lamps glow.
#4
Could I please ask one more question to the forum members?

In the rendered image I would like the lamps on the platform to glow so that the light does not appear to come from nowhere.

Looking at the POVRay documentation, I have been trying to create a lightsource and use the looks_like keyword to achieve this effect, as described here: Assigning an Object to a Light Source. The object I want to assign to the lightsource is 3941.dat. As far as I understand the .pov file, this gets changed into an object entitled sf_3941_dot_dat. So I basically tried to add the following lines into the .pov file, having added a declaration at the beginning of the file stating #declare Lightbulb=sf_3941_dot_dat.

Code:
light_source {
    <820,-192,-140>
    color srgb <1,1,1>
    looks_like { Lightbulb }
  }   //illuminate the light itself. This is the left platform light.

Please excuse my lack of programming know-how. I am really just making a wild guess how to achieve the result!

Either I am on the wrong track or I am doing something wrong, as the file is parsed without errors, but nothing seems to change in the image. 

Any advice, please? Many thanks.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Lighting a night time scene in POVRay. Making the lamps glow. - by Hughes - Yesterday, 21:05

Forum Jump:


Users browsing this thread: Orion Pobursky, 1 Invisible User(s), 2 Guest(s)