Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Glow Script?

Heathur Spaight
Registered User
Join date: 18 May 2005
Posts: 257
10-14-2006 13:53
Is there any script out there to make an object glow...like if you were making lanterns or the smiliar and the sides (textures) would illuminate a little brighter. I know how to do full bright but wondered if there was something out there. Thanks for your time!
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
10-15-2006 00:44
No.

There are building and texturing and scripting cheats for it though. Some work better than others....

You can try and build a particle system to give you that glow. It's very tricky since the particles will always be normal to the viewpoint of the user and the particles will penetrate the prims.

The commonest building and texturing cheat... you build a prim that's a bit bigger than the lamp that's cut out the right way, make it fullbright, but apply a "noisy" alpha with an intermediate (say 50% grey - black) texture in the right sort of colour for your light source. Takes an extra prim or several depending on the complexity of your lantern (you can do extra layers too) but does work well. I've used it on fluorescent tubes occasionally with a lot of success.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog
Heathur Spaight
Registered User
Join date: 18 May 2005
Posts: 257
10-17-2006 13:03
Thank you so much Eloise for taking the time to tell me.
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
10-18-2006 16:55
From: Heathur Spaight
Is there any script out there to make an object glow...
Are you wanting your object to actually illuminate nearby objects?
ArchTx Edo
Mystic/Artist/Architect
Join date: 13 Feb 2005
Posts: 1,993
10-18-2006 17:33
You can use a script to turn on/off all of the following effects that enhance or simulate light:

Full Bright
Change color: black to white
Change texture to fire
change the visibility of a light cone
hardware lighting
particles - to create a halo glow around the light source
_____________________

VRchitecture Model Homes at http://slurl.com/secondlife/Shona/60/220/30
http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=2240
http://shop.onrez.com/Archtx_Edo
Jopsy Pendragon
Perpetual Outsider
Join date: 15 Jan 2004
Posts: 1,906
10-18-2006 17:45
A very simple "particle glow" can be accomplished with this script:

CODE

default {
state_entry() {
// turn particles off by using empty []'s in llParticleSystem();
// deleting this script will not stop particles! :)
llParticleSystem( [
PSYS_PART_START_SCALE, <0.1, 0.1, 0.0>,
PSYS_PART_END_SCALE, <1.5 1.5 0.0>,
PSYS_PART_START_ALPHA, 0.9,
PSYS_PART_END_ALPHA, 0.0,
PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_DROP,
PSYS_PART_FLAGS, ( PSYS_PART_EMISSIVE_MASK |
PSYS_PART_INTERP_COLOR_MASK |
PSYS_PART_INTERP_SCALE_MASK |
PSYS_PART_FOLLOW_SRC_MASK )
] );
}
}

// Std disclaimer: This was written on the fly and may contain
// simple syntax errors or enormous gaffs that could cause the
// end of all universes. No warrantee is expressed or implied.
// Your Milage May Vary.
_____________________
* The Particle Laboratory * - One of SecondLife's Oldest Learning Resources.
Free particle, control and targetting scripts. Numerous in-depth visual demonstrations, and multiple sandbox areas.
-
Stop by and try out Jopsy's new "Porgan 1800" an advanced steampunk styled 'particle organ' and the new particle texture store!