Friday, March 18, 2011

I Found it in the Sock Drawer [Level I]

Written 18 March, 2011

I Found it in the Sock Drawer

Level I

I don't know about you, but I'm forever having entire folders vanish from their allotted location. One day Clothing > Chey's Things > Weapons > Edged Weapons > Swords > Scripted Swords > Japanese Swords > Katanas, and there it is, right where it's supposed to be. Two days later the entire Weapons folder is nowhere to be found.

OMG, it's gone! Gone forever!

No it's not. It's just in the sock drawer.

It's way easy to inadvertently move a folder into another folder. It happens all the time to me.

And so, I always look in my sock drawer. And there it is!

Actually, what I do is type the name of the missing folder, or, if I can't remember what I named it, something I know that's in the folder. When I locate the folder I drag it back into position and all is good.

I always check my trash before I empty it to be sure an important folder isn't in there. It's a good habit to get into.

Wednesday, March 9, 2011

How to Make a Flat Prim Even Flatter [Level II]

Written 6 March, 2011

How to Make a Flat Prim Even Flatter [Level II]

Or, How to Make a Flag

Here's a trick to make the thin edge of a flattened prim even thinner. It takes only a few seconds, and it's well worth the effort.

Flattening the prim works best for flexible objects like flags and clothing, but is handy for paper and the thin edges of three-prim plants.

Let's make a flag.

First, we rez a prim. Distinguished looking, isn't it?

Now, in the Edit menu, select the Object Tab, and, in the Path Cut fields type 0.375 and 0.875. You'll see this halves the thickness of the prim along the Y dimension.

Here's the prim from the same camera angle.

Here it is with an uncut prim beside it:

Now type .01 in the Y Size field of your prim. This sets the Y dimension to the smallest allowable, 0.01 meters.

Here are the two prims, side-by-side. You can see the prim we cut is much thinner.

Here I've rotated the prim to 0,90,0 and checked the Flexible Path box under the Features tab. I set Softness to 3.0, Gravity, Drag, Tension, Force X and Force Z to 0, Softness to 3.0, Wind to 1.0, and Force X to 1, and the prim is waving merrily in the wind.

Now I add a flag texture Sweetie gave me long ago, rotate the texture by 270 degrees on the front of the flag, and...

But uh-oh, what's this?

Cutting the prim created two surfaces where there was once one, so the texture is displayed twice at 1:1 density on each face. And not only that, it's upside-down! And yes, that's a sea monster swimming by. Ya gotta love Second Life.

To fix, I turn on Select Texture and select both faces. Then I go to the Texture tab and select both faces. I set rotation to 90 and set Repeats Per Face to 1 (H) and 0.5 (V).

This puts the texture in the correct proportion, but things still don't look right.

Still in the Texture tab, set the vertical offset of the top face to 0.25 and the bottom face to 0.75.

Now the textures on the two faces are properly aligned, and our flag is complete.

Except for the pole, of course. But you know how to make a flagpole, don't you?