Difference between revisions of "User:Lum Pfohl/Build Goodies/Building Prim Skirts Using The Loop Rezzer"
m |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
;What is a Loop Rezzer (looprez)? | ;What is a Loop Rezzer (looprez)? | ||
A '''looprez''' is a script written by Second Life resident Ged Larsen in 2006. It is | A '''looprez''' is a script written by Second Life resident Ged Larsen in 2006. It is a tool originally designed to arrange prims for making Necklaces and other jewelry. The script is especially useful where prims had to be arranged not only in a circular fashion, but also facing "outwards." It was later adapted by Ged for making skirts, where each skirt panels had to be arranced in a circular fashion, with the prims oriented in the correct direction. | ||
[[Image:PrimTut-01-PrimSkirt.jpg|thumb|110px|right|<small>Click to enlarge</small>]] | [[Image:PrimTut-01-PrimSkirt.jpg|thumb|110px|right|<small>Click to enlarge</small>]] | ||
Line 30: | Line 30: | ||
;Obtaining the looprez script | ;Obtaining the looprez script | ||
The original '''looprez''' script is available from this page: [http://slged.blogspot.com/2006/12/looprez-v06.html looprez v0.6]. For the purposes of this tutorial, I have modified this script to automatically rez a "root prim," versus following the other tutorials and creating the root prim from the looprez object. I have often left the loop rez script inside, and sold dresses. | The original '''looprez''' script is available from this page: [http://slged.blogspot.com/2006/12/looprez-v06.html looprez v0.6]. For the purposes of this tutorial, [[User:Lum Pfohl/LSL Goodies/LoopRez v0.6 Lum Mods|I have modified this script]] to automatically rez a "root prim," versus following the other tutorials and creating the root prim from the looprez object. I have often left the loop rez script inside, and sold dresses. | ||
;Creating the Root Prim and the Loop Rezzer object (one time) | ;Creating the Root Prim and the Loop Rezzer object (one time) | ||
Move to a build-enabled location, such as the SL Volunteer HI Sandbox. We will construct a couple | Move to a build-enabled location, such as the SL Volunteer HI Sandbox. We will construct a couple of objects by hand. | ||
objects by hand. | |||
[[Image:PrimTut-02-RootPrim.jpg|thumb|110px|right|<small>Click to enlarge</small>]] | [[Image:PrimTut-02-RootPrim.jpg|thumb|110px|right|<small>Click to enlarge</small>]] | ||
Line 44: | Line 43: | ||
;*In the EDIT window, press the blue MORE button to expand the dialog | ;*In the EDIT window, press the blue MORE button to expand the dialog | ||
;*In the GENERAL tab, give the root prim the following name (type it exactly) '''Root Prim (Rename Me)''' | ;*In the GENERAL tab, give the root prim the following name (type it exactly) '''Root Prim (Rename Me)''' | ||
;*In the OBJECT tab, change the prim size in the SIZE(meters) section. X=0.050 Y=0.050 Z=0.050 | ;*In the OBJECT tab, change the prim size in the SIZE(meters) section. '''X = 0.050 Y = 0.050 Z = 0.050''' | ||
;*Ensure that the ROTATION(degrees) reads X = 0.00 Y=90.00 Z=0.00 (needed to ensure skirt will attach properly) | ;*Ensure that the ROTATION(degrees) reads '''X = 0.00 Y = 90.00 Z = 0.00''' (needed to ensure skirt will attach properly) | ||
;*In the TEXTURE tab, pick a random texture and change the TRANSPARENCY value to 50. The idea is to be able to see the Root Prim, but not have it get in your way. | ;*In the TEXTURE tab, pick a random texture and change the TRANSPARENCY value to '''50.''' The idea is to be able to see the Root Prim, but not have it get in your way. | ||
;*Right-click the object and select TAKE (or TAKE A COPY) from the PIE-MENU to take it into your inventory. | ;*Right-click the object and select TAKE (or TAKE A COPY) from the PIE-MENU to take it into your inventory. | ||
Line 56: | Line 55: | ||
;*Click the ground in front of you - a 0.500m x 0.500m x 0.500m SPHERE should appear, with Red/Green/Blue arrows | ;*Click the ground in front of you - a 0.500m x 0.500m x 0.500m SPHERE should appear, with Red/Green/Blue arrows | ||
;*On the GENERAL tab, give this a name such as '''MY LOOP REZZER''' | ;*On the GENERAL tab, give this a name such as '''MY LOOP REZZER''' | ||
;*On the OBJECT tab, change the TWIST BEGIN AND END values to B: -360 and E: 360 (minus 360 to plus 360) | ;*On the OBJECT tab, change the TWIST BEGIN AND END values to '''B: -360''' and '''E: 360''' (minus 360 to plus 360) | ||
;*Also on the OBJECT tab, change the HOLLOW value to 0.95 | ;*Also on the OBJECT tab, change the HOLLOW value to '''0.95''' | ||
;*On the TEXTURE tab, click the the box above the title TEXTURE (the one with the wooden texture). | ;*On the TEXTURE tab, click the the box above the title TEXTURE (the one with the wooden texture). | ||
;*On the popup TEXTURE window, press the BLANK button and press APPLY | ;*On the popup TEXTURE window, press the BLANK button and press APPLY | ||
Line 66: | Line 65: | ||
[[Image:PrimTut-03-CopyScriptIntoObject.jpg|thumb|110px|right|<small>Click to enlarge</small>]] | [[Image:PrimTut-03-CopyScriptIntoObject.jpg|thumb|110px|right|<small>Click to enlarge</small>]] | ||
:;Copying the Script and Root Prim into the Loop Rezzer | :;Copying the Script and Root Prim into the Loop Rezzer | ||
:*Right-click the nice Loop Rezzer object you made and select EDIT | :*Right-click the nice Loop Rezzer object you just made and select EDIT | ||
:*Select the CONTENT tab | :*Select the CONTENT tab | ||
:*Open your INVENTORY and locate the '''Root Prim (Rename Me)''' object | :*Open your INVENTORY and locate the '''Root Prim (Rename Me)''' object | ||
Line 76: | Line 75: | ||
</div> | </div> | ||
<div id="box"> | <div id="box"> | ||
==Building The Skirt== | ==Building The Skirt== | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
Line 111: | Line 111: | ||
:*With your EDIT-mode cursor, perform an AREA SELECT as shown in the illustration. The idea is to "draw" a yello box around the Skirt Prims and the Root Prim only. When you let go of the mouse, the entire set will be selected (thus, highlighted in yellow). | :*With your EDIT-mode cursor, perform an AREA SELECT as shown in the illustration. The idea is to "draw" a yello box around the Skirt Prims and the Root Prim only. When you let go of the mouse, the entire set will be selected (thus, highlighted in yellow). | ||
:*If you've selected the Loop Rezzer object as well, then redo the previous step, taking care not to select/highlight the Loop Rezzer. | :*If you've selected the Loop Rezzer object as well, then redo the previous step, taking care not to select/highlight the Loop Rezzer. | ||
:*Press and hold the SHIFT key. Carefully click the Root Prim once - it'll "darken" and no longer be highlighted. The Root Prim is now de-selected. Keeping the SHIFT key | :*Press and hold the SHIFT key. Carefully click the Root Prim once - it'll "darken" and no longer be highlighted. The Root Prim is now de-selected. Keeping the SHIFT key pressed, carefully click the Root Prim once more - it'll once again highlight. | ||
::This step is very important as we are telling Second Life WHICH prim will become the ROOT PRIM | ::This step is very important as we are telling Second Life WHICH prim will become the ROOT PRIM by making sure it is the ''LAST'' prim to be selected. | ||
:*With all of the Skirt Prims and Root Prim selected (and Root Prim was the last prim to be selected), press '''CTRL-L''' to ''Link'' the individual prims into a single object. | :*With all of the Skirt Prims and Root Prim selected (and Root Prim was the last prim to be selected), press '''CTRL-L''' to ''Link'' the individual prims into a single object. | ||
:*If linked correctly, the Skirt Prims should all turn blue, and the Root Prim should be yellow. If this is not the case, press SHIFT-CTRL-L to ''Unlink'' and deselect/reselect the Root Prim and attempt to link once more. | :*If linked correctly, the Skirt Prims should all turn blue, and the Root Prim should be yellow. If this is not the case, press SHIFT-CTRL-L to ''Unlink'' and deselect/reselect the Root Prim and attempt to link once more. | ||
Line 130: | Line 130: | ||
</div> | </div> | ||
<div id="box"> | <div id="box"> | ||
==Customizing The Skirt== | ==Customizing The Skirt== | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
Line 135: | Line 136: | ||
*'''Textures:''' As hard as you might look, there isn't a market for wooden skirts. This time, take the skirt prim from your inventory, and apply textures to it. Put that new, textured skirt prim into another copy of the Loop Rezzer and rez a spectacular skirt! | *'''Textures:''' As hard as you might look, there isn't a market for wooden skirts. This time, take the skirt prim from your inventory, and apply textures to it. Put that new, textured skirt prim into another copy of the Loop Rezzer and rez a spectacular skirt! | ||
*'''Different Skirt Prims:''' Try experimenting with different sizes, widths, lengths. Try creating cones (by setting PATH CUT to B: 0.00 and E: 1.00). Try a shorter prim (you'll need to adjust flareangle and xRadius, yRadius later - if you use different lengths) | *'''Different Skirt Prims:''' Try experimenting with different sizes, widths, lengths. Try creating cones (by setting PATH CUT to B: 0.00 and E: 1.00). Try a shorter prim (you'll need to adjust flareangle and xRadius, yRadius later - if you use different lengths) | ||
*'''Number of Prims:''' You'll need to open up and edit the '''LoopRez v0.6 - Lum Mods''' script, but the user-definable parameters are all near the beginning. Change the number of prims from 16 to 24 or even 36! See what that does. | *'''Number of Prims:''' You'll need to open up and edit the '''[[User:Lum Pfohl/LSL Goodies/LoopRez v0.6 Lum Mods|LoopRez v0.6 - Lum Mods]]''' script, but the user-definable parameters are all near the beginning. Change the number of prims from 16 to 24 or even 36! See what that does. | ||
*'''Different Poof:''' By changing a variable called '''flareangle''' from 65 degrees to something higher or lower, you will change the angle in which the skirt will tilt towards the center. A low flare angle would produce a "narrow" skirt (less poofy), while a higher flare angle would produce a "wider" skirt (more poofy). Experiment with the flare angles, but also note it does have an effect on the final diameter of the dress. | *'''Different Poof:''' By changing a variable called '''flareangle''' from 65 degrees to something higher or lower, you will change the angle in which the skirt will tilt towards the center. A low flare angle would produce a "narrow" skirt (less poofy), while a higher flare angle would produce a "wider" skirt (more poofy). Experiment with the flare angles, but also note it does have an effect on the final diameter of the dress. | ||
*'''Saddle Value:''' By changing the '''bendcoefficient''' value to something greater than zero, you will coax a saddle-shape into the prim layout. | *'''Saddle Value:''' By changing the '''bendcoefficient''' value to something greater than zero, you will coax a saddle-shape into the prim layout. |
Latest revision as of 21:28, 13 December 2007
Building Prim Skirts Using The Loop RezzerDescription: Upon successful completion of the tutorial, the attendee will be able to
Pre-Requisites: No knowledge of scripting or building necessary, but attendee must not be afraid to manipulate scripts and build. Course materials and scripts will be provided at the time of the class. Estimated Duration: 60 minutes Note: There are images provided below with the tutorial. For best results, right-click the images and select OPEN IN A NEW TAB or in a NEW BROWSER. Then while viewing the image, click on the FULL RESOLUTION link - so you can view the images at full resolution (particularly important when trying to read the values in the EDIT windows). Introduction
A looprez is a script written by Second Life resident Ged Larsen in 2006. It is a tool originally designed to arrange prims for making Necklaces and other jewelry. The script is especially useful where prims had to be arranged not only in a circular fashion, but also facing "outwards." It was later adapted by Ged for making skirts, where each skirt panels had to be arranced in a circular fashion, with the prims oriented in the correct direction.
A Prim Skirt differs from a "System Skirt" or "Second Life" skirt in that it is an attachment constructed of prims (primitives). The SL skirt is something that is "built-in" and is defined by a texture. While there are numerous controls available for determining the look of the SL skirt, it just isn't powerful enough. A prim skirt allows you to have beautifully shaped skirts that are flexible and have that "flair."
The original looprez script is available from this page: looprez v0.6. For the purposes of this tutorial, I have modified this script to automatically rez a "root prim," versus following the other tutorials and creating the root prim from the looprez object. I have often left the loop rez script inside, and sold dresses.
Move to a build-enabled location, such as the SL Volunteer HI Sandbox. We will construct a couple of objects by hand.
Congratulations, you now have a ready-to-customize Loop Rezzer! Building The SkirtNow that you have your fancy Loop Rezzer object, it still will not work as-is. Why? Because there isn't anything in there for the Loop Rezzer to rez! To do this, we must build a Skirt Prim which we will also put into the Loop Rezzer. The Loop Rezzer will rez your skirt prims and arrange them in a circle.
Congratulations! You are now the proud owner of a beautiful, flexible, wooden skirt! Customizing The SkirtObviously there are many different types of skirts out in the Second Life world. They are a result of customizations to the basic design. As you experiment, you will rez many skirts, many of which you will not use. Simply select the unwanted skirts and root prims and delete them, make your adjustments and re-rez. Here are some things to think about.
Conclusion & References
Lum Pfohl 06:00, 12 December 2007 (PST) |
|