POV-Ray : Newsgroups : povray.newusers : Adding one or more light_sources and finding the middle of a wall Server Time
4 Nov 2024 23:16:28 EST (-0500)
  Adding one or more light_sources and finding the middle of a wall (Message 1 to 2 of 2)  
From: Wade
Subject: Adding one or more light_sources and finding the middle of a wall
Date: 13 Sep 2001 17:18:39
Message: <3ba122af@news.povray.org>
Can I add one or more light_sources?  If so, how can I do that?  I want a
faint light in the 'hall' or a night light in the hall.  Also, I want some
moonlight coming through a small window.  How can I find the center of the
back wall?

Wade


Post a reply to this message

From: Josh English
Subject: Re: Adding one or more light_sources and finding the middle of a wall
Date: 13 Sep 2001 20:27:59
Message: <3BA14E7F.7AC86F76@spiritone.com>
Wade wrote:

> Can I add one or more light_sources?  If so, how can I do that?  I want a
> faint light in the 'hall' or a night light in the hall.  Also, I want some
> moonlight coming through a small window.  How can I find the center of the
> back wall?
>
> Wade

You can have multiple light sources. I find that having two or three don't
slow down rendering too much, but there is a slow down.
If you are using MegaPov or 3.5 beta you can use light groups, but I don't
know if this cuts rendering time down or not.

Just add the extra light source code wherever you want in your scene.

If your wall is formed by a box, you can take the average of the points you
used to define the box and that will be the center of the box


--
Josh English
eng### [at] spiritonecom
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/


Post a reply to this message

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