Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Lit interiors at night

Holocluck Henly
Holographic Clucktor
Join date: 11 Apr 2008
Posts: 552
09-02-2008 00:15
What ll variable is used to specify a change in light settings at midnight?

Does "if else" ensure it resets on sunrise?

Actually what if you want it lit for Midnight and Sunrise, then turn off when it's bright enough? Is there such a thing? Maybe set it so it starts when the stars come out instead of at full midnight...?

Last but not least, is it just a matter of setting the affected prims to full bright? That would be the walls, furniture, and an outdoor sign.

Thanks!
_____________________

Photostream: www.flickr.com/photos/holocluck
Holocluck's Henhouse: New Eyes on the Grid: holocluck@blogspot
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
09-02-2008 00:29
llGetSunDirection() is, I think, what you are asking for?

hth
/esc
_____________________
http://slurl.com/secondlife/Together
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
09-02-2008 00:40
From: Holocluck Henly
What ll variable is used to specify a change in light settings at midnight?
llGetSunDirection() is very handy for that
See: http://www.lslwiki.net/lslwiki/wakka.php?wakka=llGetSunDirection
From: Holocluck Henly

Last but not least, is it just a matter of setting the affected prims to full bright? That would be the walls, furniture, and an outdoor sign.
Thanks!

Full bright is good.
Point light makes a prim emit light, it becomes a light source.
And Glow makes a prim glow. It may imitate a light bulb or another light source.
You should play with these parameters to get what you like.
See: http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetPrimitiveParams
for more on all the three parameters
_____________________
From Studio Dora
Dumisani Ah
Pass me the hammer
Join date: 2 Dec 2006
Posts: 95
09-02-2008 14:35
From: Dora Gustafson

Point light makes a prim emit light, it becomes a light source.


With point light, is there still a limitation on the number of light sources within a specific area? I thought I remembered reading that the viewer would only ever show the nearest 3 sources at any one time.
_____________________
Screwdrivers are so 90's...
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
09-02-2008 16:29
From: Dumisani Ah
Screwdrivers are so 90's...

Well I still drink them :)
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
09-03-2008 05:20
From: Dumisani Ah
With point light, is there still a limitation on the number of light sources within a specific area? I thought I remembered reading that the viewer would only ever show the nearest 3 sources at any one time.

Six, plus sun or moon. http://www.lslwiki.net/lslwiki/wakka.php?wakka=lighting It's the light from the source that you may or may not see, of course, rather than the source itself, and I just don't know how the viewer determines which to show when there are more the 6 possibilities. It's important to remember that SL light penetrates walls and also that the light radius has nothing to do with the brightness of the light -- it's perfectly possible, as I discovered the other day when trying to help a friend work out why her lights were acting strangely -- for a small and apparently not very bright light in another room to disrupt things by throwing out light over 15 or 20 metres.

Going to tools/show light radius for selection (or whatever it's called) is a quick and effective way of checking what light sources are actually doing.
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
09-03-2008 06:02
From: Innula Zenovka
It's important to remember that SL light penetrates walls and also that the light radius has nothing to do with the brightness of the light -- it's perfectly possible, for a small and apparently not very bright light in another room to disrupt things by throwing out light over 15 or 20 metres.

That is so true! Furthermore: if you make a point light flash on and off, even a small one will disturb the entire scenery badly! and it may do it even if it is hidden behind walls 20 or 50m away.
_____________________
From Studio Dora
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
09-03-2008 07:08
From: Dora Gustafson
That is so true! Furthermore: if you make a point light flash on and off, even a small one will disturb the entire scenery badly! and it may do it even if it is hidden behind walls 20 or 50m away.
Or if, god forbid, an avatar with a facelight walks between your agent location and that sixth-distant point light. (And just to make it especially unintuitive, note that it's the agent location, not the cam location. :rolleyes: )