Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Requesting help - Light Saber Glow

Lasivian Leandros
Hopelessly Obsessed
Join date: 11 Jul 2005
Posts: 238
07-12-2005 17:44
Trying to build a saber that reflects my style, the only thing I can't figure out is how to get it to actually glow.

Any help would be appreciated. Thanks
Zermes Vindaloo
Registered User
Join date: 30 Aug 2004
Posts: 14
07-12-2005 23:41
You would need to add a Particle script to the prim that will be glowing. It can be scripted to activate by command in chat or on a specified channel, or by clicking ((touching)) a trigger. There are many scripters out and about that can help you with that sort of scripting. I myself have dabbled a small about with that kind of Glow, send me an IM inworld when the chance arises and maybe assistance can be offered :)
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
07-12-2005 23:46
Actually, I would strongly suggest you do not use particles, unless you're going for a spark effect.

Typically, the glow of lightsabers is done in a twofold manner. First, you'll want to set the beam to be a "Light" prim. You can do this from the Object tab down at the bottom I believe.

As for the actual effect, the best way to do this is with an alpha gradient - basically, some flat prims around the beam that fade from visible to completely transparent. You should be able to do this fairly easily with programs like Photoshop, PSP, or the GIMP.

I have been told that there are also some "freebie" lightsaber objects you can dissect. Does anyone know where to find those?
_____________________
---
Zermes Vindaloo
Registered User
Join date: 30 Aug 2004
Posts: 14
07-13-2005 00:07
I have done a particle that "Glows" and has NO sparkle whatsoever. You can see one of the effects of it at Vindalese in Shiner, the original was used for a Green Lantern Lamp and it was a solid glow.

If there were an easier way to script lights, i'd LOVE to know about it, but so far modifying a sparkle script has been my only success.
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
07-13-2005 00:16
Remind me to show you the effect I have on my ion beam, then. It's pretty much what I'm suggesting here.

You'll be blown away... heh heh. :D
_____________________
---
Lasivian Leandros
Hopelessly Obsessed
Join date: 11 Jul 2005
Posts: 238
07-13-2005 09:27
From: Jeffrey Gomez
I have been told that there are also some "freebie" lightsaber objects you can dissect. Does anyone know where to find those?


Actually I did find one the other night that I could edit, realized the ONLY thing I was missing from the equation was the texture.

Building a new one now.
Reitsuki Kojima
Witchhunter
Join date: 27 Jan 2004
Posts: 5,328
07-13-2005 10:20
From: Jeffrey Gomez
Actually, I would strongly suggest you do not use particles, unless you're going for a spark effect.

Typically, the glow of lightsabers is done in a twofold manner. First, you'll want to set the beam to be a "Light" prim. You can do this from the Object tab down at the bottom I believe.

As for the actual effect, the best way to do this is with an alpha gradient - basically, some flat prims around the beam that fade from visible to completely transparent. You should be able to do this fairly easily with programs like Photoshop, PSP, or the GIMP.

I have been told that there are also some "freebie" lightsaber objects you can dissect. Does anyone know where to find those?


It can also be done with considerably less hassle using only four prims for the entire blade and no textures; granted, it produces a slightly more "animated" effect than "photorealistic", but I prefer that over the visual glitches that tend to acompany the alpha-texture method.
_____________________
I am myself indifferent honest; but yet I could accuse me of such things that it were better my mother had not borne me: I am very proud, revengeful, ambitious, with more offenses at my beck than I have thoughts to put them in, imagination to give them shape, or time to act them in. What should such fellows as I do crawling between earth and heaven? We are arrant knaves, all; believe none of us.
Darth Padar
Registered User
Join date: 23 May 2005
Posts: 4
07-13-2005 10:46
There are many fine examples of a solution to this problem at the Lightsaber Showroom.

Personally I use a white light cylinder topped with a white light sphere for the central part of the blade to give it a rounded shape at the end.

Intersecting the cylinder are two flattened, stretched cubes the same length as it at 90 degrees to each other. These are 0.5 alpha and the sides set to the colour you desire. The edges are set to an alpha texture.

Intersecting the sphere are two cut cylinders in the same style as the cubes above.

There are more elegant and elaborate blade designs around, but this suits my needs.

Attached are some pictures of Suffering, one of my custom lightsabers which uses this blade.
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
07-13-2005 13:56
From: Reitsuki Kojima
It can also be done with considerably less hassle using only four prims for the entire blade and no textures; granted, it produces a slightly more "animated" effect than "photorealistic", but I prefer that over the visual glitches that tend to acompany the alpha-texture method.

Depends. While a little more prim-intensive, I have yet to see what I use for my beam "glitch" in this manner. Mostly, because it's so subtle that if it did no one would notice.

Well, have a look.
_____________________
---