September 30, 2012

Mesh clothing and avatars in Second Life

I've been wearing and trying out a LOT of mesh outfits and avatars lately and thought I'd share a few of my experiences, tips and observations.

1. What is mesh?

From the Second Life Wiki: "Mesh is the capability to bring 3D models, known as meshes, created in third-party tools into Second Life."
These mesh models can be applied to prims and form the basis for highly detailed and complex objects such as vehicles, plants, terrain features, etc. They can also be applied to the avatar as clothing or body parts ("rigged mesh"). When rigged mesh is used as body parts, you can create micro avatars (fairies for example) or almost anything conceivable that can move with the "skeleton" of your avatar. Rigged mesh changes your avatar shape (length of "bones") to conform to the mesh sizes rather than letting the Second Life sliders control it. So let's look at a few examples:
Click to enlarge

Complete "petite" mesh avatar

On the right is a Micro Pixie avatar from (11)Design.  You can see she's fully detailed yet measures only slightly more than 2' tall (.65m). She's anatomically correct and moves just like a normal avatar even being able to use regular dance animations. The pose you see in the photo works as-is.

You should note that there are many creators of petite avatars and that clothing designed to fit one style will probably not fit others unless they conform to the same shape specifications. More on this below!

Click to enlarge
Petite avatars are NOT the same as most "tiny" avatars. Tinies are generally made using prims and folding the avatar up into strange contortions. They require special animations for movement such as dancing and sometimes, even walking.

Mesh outfit on full size avatar

To the left we have a mesh outfit from my fave designer, Inga Wind. The outfit, "Nellie", is entirely mesh except for the belt.

If you enlarge the photo you can see that all the folds, creases, hems and cuffs are 3-dimensional and much more realistic than Second Life system clothes or system clothes with prim attachments.

Mesh object

Mesh penguin near petite fairy
And finally, we get to the last form of mesh (well there may be others but for all practical purposes), a rezzed object. This adorkable little guy (not so little compared to my petite fairy) is a scripted penguin that flaps his wings and hops around. Very cute. And the neat thing is that his (or her? How do you tell?) body is seamless. No separate prims needed for the arms or feet.

OK so now you see the examples, it's on to the real reasons I'm writing this article.

2. Mesh only works with mesh-enabled viewers

Phoenix 1.52 pre-mesh viewer
This may seem obvious to experienced SL users but surprisingly, a lot of people don't realize that to a large portion of the Second Life community still run older viewers. That mesh outfit that looks totally cute to you can make you appear naked wearing only a few blobs or blocks to those on non-mesh-enabled viewers. Here are two examples using the same Inga Wind outfit from above:

Pre-alpha viewer
As you can see, Snickers looks like she's wearing some large, tasty donuts with blocks on her feet. Again, unless the VIEWER can render 3D Mesh, this is what the person running that viewer will see. To make matters worse, if it's an even older viewer that doesn't support alpha clothing layers (more on this), you may look completely nakey. So here's a tip. Wear undies if at all possible with your mesh outfit. Sometimes however, the alpha mask will clash with what you wear so this may not be possible. You have been warned (black box applied so as to not frighten small children and tinies).

NOTE -- One common thing I've heard is that "mesh" causes computers to run slowly so people are reluctant to upgrade to a newer viewer that supports mesh. Well, I have news for you. Most of the newer viewers aren't running slowly because they support mesh. It's for a whole slew of reasons like fancy interfaces, multiple attachment points, avatar physics, skinning, etc., etc. Mesh is just one piece of the lag puzzle and, as I point out below, shouldn't be that big a piece. If you want a viewer that supports mesh AND gives great frame rates, I suggest Henri Beuchamp's Cool VL Viewer available here. It's my viewer of choice because I routinely get frame rates of 40 fps vs. Firestorm's 12 - 15. I know it's not approved by Linden Lab but it is TPV-compliant. No guarantees but I think Henri has proven himself fairly trustworthy as a developer.

3. Mesh is NOT flexible

While mesh can conform to and move with your body, it is not independently flexible like a flexi prim. A mesh skirt for example will stretch and move with your legs however it will not flutter, float or respond to wind like a flexi prim.

4. Alpha masks usually required

Alpha mask for Second Life
avatar arms
You can clearly see the alpha mask for the shorts in the Phoenix 1.52 picture above. Alpha masks, as used in Second Life, are special images (or a special layer embedded in an image) that hide what you don't want to see by making that area transparent. (Some may quibble with my definition but let's keep it simple. Mkay?) Think of them as cutting a hole out of whatever they lie on top of. In the above example, the hole is the shorts. Or as in the example to the left, the arms.

The reason for alpha masks is to hide areas of your body that might poke through the fixed shape of the mesh. Shoes are a great example. With an alpha mask, you can hide the entire foot and recreate it (including cute little toes on peekaboo styles) so it looks much better than a system foot. Or you can simply use the mask to hide selected areas of the body that might conflict with the mesh.

Most outfits are supplied with several alphas -- generally one for the top, one for the bottom and one for both together. That allows you to wear a short set as separates.

5. Picking the right size

Seems like there's always a price to pay for new features. Whether it's slower rendering or increased server load, nothing in Second Life is free. This is true for mesh. One major price you pay is that your avatar now has to conform to the SHAPE of the 3D mesh instead of the other way around. Think of mesh working like a suit of armor. Everything is fixed in size. Your body just sort of rattles around inside of it.

Most mesh outfits come with anywhere from 3 to 6 or 7 sizes. Sometimes they're simply XS, S, M, L, XL while some go further and have multiple sizes along with different body types. First step is to pick the size closest to your avatar's current shape.

6. Adjusting your shape

To really make a mesh outfit work, you must accept what the designer thinks is a good shape which often means tinkering with your own shape to get the best results. If you're wearing a no-mod shape, well, too bad. You may have to switch to one that can be modified.
Mesh + system top = problem

Here's an example of an outfit that, out of the box, probably won't fit a lot of female avatars in SL. As you can see, the system top is sticking out OVER the mesh shorts. Not good. It took me awhile to figure out what was going on here and I tracked it down to the tummy slider. Mine is set on 12 (average is probably higher for many). However, this particular outfit was designed with the tummy set to 0. Setting my shape to 0 tummy size cured the overhang.

Boobs are harder to deal with. Again, since the mesh top is like armor, whatever shape the mesh designer thinks is right is what you'll get. Those sporting balloons (like what, K cups??) and those (like me) with small ones (maybe B) are going to have problems. Most of the time, the alpha will hide things. BUT, when you combine a system top with the mesh top (as above), the system top will override the alpha and your true shape will poke through. As you can see to the left, this top in Medium size is too small in the waist, a bit too big for the boobies and too long for my torso (the straps float above my shoulders). Something's gotta give and it won't be the mesh top!

Again, this means tweaking it to fit. I have taken to saving a copy of my adjusted shape with the outfit now just to make it easier to wear. A top is to rename your shape to something like "My Shape - MOD for Jackie" or whatever the outfit name is.

As a side note, wouldn't it be nice if Linden Lab would make a slider that would reduce breast "area" to go along with size so smaller breasts wouldn't look big pancakes?

7. The secret behind mesh clothing

OK I hope I don't upset any designers here but let's be honest. MESH clothing is really hard to make!!! I've made several tries at trying to learn Blender and I have to admit defeat. It's just too darn complex. Plus, ideally you want to "bake textures" into the mesh so it looks all nice and shadowed and stuff. UGGGGH!! So what's a fashion designer to do if they aren't 3D inclined? Templates!

YES, most designers work from full perms templates including my aweseomsauce designer friend, Inga Wind. They take the basic mesh shape and apply their own unique texturing to them. Even so, it's still a crazy amount of work. Instead of just making a top on 2 layers, a bottom on 2 layers and spinning a prim skirt, you have to texture up 6 sizes of tops, 6 sizes of bottoms, plus the usual system tops or other items that you throw in to make a complete outfit. You'll find that most mesh outfits are mashups of original system work by the designer plus the template stuff.

So don't hate on the designer the next time you see her or his work show up with the name of the original template maker. Leave the 3D work to the masters of shaping stuff and let the designers do their thing with the textures. What can blow your brain out is figuring LOD factors, optimizing vertices, fitting the mesh properly, etc., etc. Really, it's OK. Templates are not evil.

Now if you're a designer making your own 3D meshes from scratch, my big floppy sunhat goes off to you.

8. The limitations of mesh avatars

While mesh avas are very cool (and I wuvs my pixies), they also have their limitations in Second life. Here are a few gotchas:
  • No expressions or emotions. Mesh avatars have a fixed, often blank look. Mouths don't move, eyebrows don't arch, nuffin'. Some makers offer a HUD that changes out the head mesh for a limited set of expressions, usually no smile, smile and laugh. But it's still static.
  • Prim eyeballs required. Yes, it's a bit creepy but they are needed since the alpha hides the system ones.
  • Special clothing. You can't wear system clothing at all. You have to wear clothing that is SPECIFICALLY designed to fit the exact shape of the avatar mesh. 
  • Fixed shapes. You can't adjust them like you can a system shape. In the case of Petites, there are 2 or 3 main competing shapes. Yabusaka / Fallen Gods is by far the most popular. The basic shape is thin and very waif-like. Appropriate for fairies and such but not everyone's cup of tea. Yabusaka released full perms clothing templates that made it much easier for people to make their own clothes for this style.

    I think the next most popular is the (11)Design pixie shape (the one shown at the top of the article). This shape is much more curvy and really looks like a normal avatar shrunk to 2 feet. Unfortunately, there hasn't been as much 3rd party clothing design for the pixies although (11)Design has released tools to help. I think the fact that you have to pay for them has made adoption slower. I've seen one other style in-world but I honestly don't know who makes it.

    Even though the shapes are fixed, there is still a lot of variation possible with skins, ears, noses, hands, hair, etc. Designers are pretty much free to do what they like as long as they aren't doing something to affect the basic underlying body parts.
  • Recovery required. Often, after you wear a mesh avatar, if it has severely deformed you from the normal range of slider available shapes, you can end up looking like this when you try to go back to your normal shape and clothing. Ugggh! Poor Snickers has her feet coming out of her knees and looks all squashed up. :(
    Trying to return to normal

9. Recovering from a mesh avatar

No I don't mean getting over a breakup with an elfin lover. It means what to do if you end up like this horrible messe to the right!
Bent knee syndrome
  1. Most mesh avatar makers provide an animation that is sort of an undeformer. Most of the time it works. A lot of the time it doesn't. When it doesn't, your knees or arms are often permanently bent. I haven't found anything to cure bent knees except a relog.
  2. Next up is the "vacant stare". For some reason, wearing the full mesh and the prim eyeballs can leave holes in your head when you go back to your normal skin and shape. Here you can see the hair in the eye socket. Ewwwies! Rebaking, changing eyes, switching sims, etc. -- nothing works to get them back except a relog.
  3. The Vacant Stare
  4. Are you sensing a pattern? When some portion of your body doesn't look right after all that mesh goodness, time to relog.

10. Miscellaneous techie things about mesh

Mesh, as you can see, is hella more complicated than primmy or system stuff. In fact, Linden Lab treats mesh uploads differently from normal textures or scuplties as it takes into account "Land Impact" -- which is how much the mesh will affect server performance. Upload charges are variable based on how much Land Impact the mesh item will have.

So while, for legacy purposes, prims (sculpted or not) have a land impact of "one" per prim, meshes are calculated on the basis of download weight (triangles), physics weight and server weight. Basically, if you rez a mesh something or other on your land, you'll get a sort of conversion from mesh to prims as the value that item has for the purposes of figuring out how many prims you have available. And as Linden Lab continues to say, prim count is really not an accurate indicator of Land Impact anyway.

For the most part, meshies are less intensive both server-side and client-side than their primmy counterparts if optimized and done correctly. This is simply because a mesh object generally requires fewer vertices than its prim or sculpted counterpart to look good. NOTE - Sculpted prims are really 1024-vertex meshes (32x32) made from special image files and, by comparison, a regular old torus-shaped prim is 1000 vertices. Mesh objects are not really restricted in the number of vertices so a single mesh object can offer as much or even more detail as a whole bunch of linked prims that have a much higher Land Impact and take longer to render. For a good article about how mesh compares to sculpties see https://sites.google.com/site/tradewindsyc/boat-building/mesh-vs-sculpties.

11. The "mesh deformer" project

The holy grail for mesh (as far as avatar clothing is concerned) is to be able to have it conform to your existing shape versus the suit of armor situation we have now.

A third-party crowd-sourced project has developed an alpha-version of a mesh deformer that can be built into the viewer. However, as many have pointed out, even if successful, it may not be allowable under Linden Lab's TOS. Being a viewer-side alteration, the deformed mesh would only look good to the person using the deformer capable viewer. To anyone else, it would look just as it looked out of the box. If you deformed a mesh shirt to fit your smaller body, those without the deformer might see your boobies poking through the mesh and other oddness that would interfere with the "shared user experience".

The real answer would be to incorporate mesh deformer capabilities into the server-side stuff. While Linden Lab has expressed interest in this, as far as I know, there has been no formal adoption of the open-source code. (Most of this info on mesh deforming was gleaned from Nalate's excellent blog.)

12. "Standard Sizing" for avatars (ADDED)

Thanks to Gwyneth's comment below. Here's a live link to another project to deal with the drawbacks on mesh.


http://darisl.wordpress.com/help/standard-sizing-information/

Basically, it's a set of 5 avatar shapes in so called "Standard-Sizes" that gives mesh designers fixed targets. I'm not sure how well it will work since, looking at the size specs, the "love handle" and "saddle bag" settings seem a bit too large for what I generally see in Second Life. OTOH, a designer who includes those settings in her/his mesh will certainly see them fit avatars with lower numbers. It's just that the the mesh item may end up looking too billowy or fat. Who knows???

Anyways, hope this all helps. If anyone has any more suggestions or corrections, feel free to let me know and I'll continue to update this screed.

August 17, 2012

*Snickers* store has moved!

It had to happen eventually since Second Life is, if nothing else, constantly changing. Due to real life issues, my friend, Honeybear Lilliehook, sold her SIM where I had my inworld store. I wish her all the best -- she was the best landlord one could ever hope for.

So my shop has relocated to a skybox in the Silver Serpent sim:

http://slurl.com/secondlife/Silver%20Serpent/29/64/502

There are two lucky letter boards now where you can snag some items for free.

It's not quite the same as being in a shopping SIM but since 95% of my sales now come from the SL Marketplace, I really only use the store as a place to send people when they ask.

And here's the link to *Snickers* on SLM: https://marketplace.secondlife.com/stores/17804

Stop by and say hi. There's a board inside that let's you know if I'm online.

A flurry of new mesh releases from Inga Wind

Anika in Purple - $300L ($150L group)
I think the woman has lost her mind! :) I can't keep up with all the new outfits Inga Wind keeps releasing! Since I'm pretty busy in real life right now (OMG), I'll just post her own pics of them. Trust me -- they look pretty much the same in the photos as they do when worn. Inga's stylings are very upscale European chic so you'll see skirts over capris, asymetrical off-the-shoulder looks and REAL dresses. What you won't find is grunge or slut wear. ;)

Since they're all mesh-based, you may have to tweak your shape to fit. For example, Traci needs a totally flat tummy with no "love handles."

All outfits come complete as shown with shoes, multiple mesh sizes (usually XS, S, M, L, XL) and alphas (generally top, top & bottom, bottom, shoes). Click on the photos to see them full size.
Sue in Olive - $200L ($100L group)

Gwyneth in Red - $250L ($125L group) - Also available in
khaki and blue.

Robin in Yellow - $250L ($125L group)

Traci in Blue - $250L ($125L group)
And here's the SLURL to Inga's store: http://slurl.com/secondlife/Pitreavie/192/223/375

Remember to join her group and wear the tag when buying her outfits since most of them are 1/2 off that way on introduction!

August 16, 2012

Second Life Password Reset Epic Fail

As you may have noticed, I've been tilting at the "Bring back last names" issue in Second Life for awhile now. Here's the JIRA feature request in case you feel like perusing the some 200+ comments....

https://jira.secondlife.com/browse/SVC-7125

So anyway, recently, someone forgot their password. Well guess what? You need to know the FIRST names of 3 friends AND you have to answer them in order! But what if those friends are all named "Resident"?? Well this is what you get...
  1. Can't remember password
  2. Go To SL website to request
  3. Confirmation of hint:  Check
  4. Next question: "Three last names of your friends are listed below, what first names belong to them?"
        Answer A: ___________ Resident
        Answer B: ___________ Resident
        Answer C: ___________ Resident 
I mean seriously, this is just laughable but totally unfunny at the same time. I guess the rule is, guard that password with your First life. You may not get a Second bite at the apple. I mean seriously Linden Lab. WTF?

And yes, the problem with this has been made into a JIRA too.

https://jira.secondlife.com/browse/WEB-4884

August 2, 2012

Grendel's Children griefing update

UPDATE - Grendel's Children got there sim rollbacked! \o/ Also, news is a number of others got hit too.

NOTE - Some comments over at the SLU forums have variously speculated that this is something being triggered by rezzing an object that overflows the SIM owners own objects causing them to be returned.

That should not happen since OWNER objects are the last to be returned. ANYONE objects should be returned first, then GROUP then OWNER.

Others have speculated that this is being caused by someone rezzing an object outside on a next door sim then pushing it onto the sim being griefed. Since my friend's sim who got griefed is not mainlaind, is set to "no build" and there is no next door sim, this should not be possible either.

I think Desmond Chang (as he posted in SLU) is right. This is far more serious.

Grendel's Children hit by auto-return exploit!

In case anyone wondered if the auto-return exploit was just an isolated incident, Toady Nakamura just sent me an IM that Grendel's Children had been hit by the same thing I reported here. They are trying to get the SIM restored via concierge support.

We'll keep you posted. This is getting very serious folks.

July 30, 2012

Bring back last names in Second Life!

It's been a long time since I've seen an issue in Second Life inspire this much "resident" outcry but https://jira.secondlife.com/browse/SVC-7125 takes the virtual cake. With 2750+ votes in favor and almost 800 watchers, SL folks clearly think Linden Lab's policy of ditching last names is a bad idea.

For those who've been in a cave or have never known anything else, Second Life used to offer new account signups their choice of predefined "last names" which were combined with "just about anything you like" first names. The predefined last names ranged from the whimsical (like Stargazer, Wrigglesworth, Bubble, Steamweaver, Poutine & Voyager) to the more mundane (such as Snook, Kline, Jefferson and Berry). "Real names" as they've become known, were locked-in as your ID and there was no getting away from them.

Then, in late 2010, for part of its effort to make Second Life "more accessible" (hah), Linden Lab introduced "Display Names" which meant that instead of being known as "Snickers Snook", you could change how your name appeared to others (assuming they had a Display Name supporting viewer). So instead of me being seen as "Snickers Snook", I could change my "Display Name" to just "Snickers" or "Samantha Jones" or whatever.

THEN, in order to "simplify the login process" (and most likely to avoid the extra work of coming up with new last names), Linden Lab did away with its predefined universe of last names altogether and put all the load on the First Name field.

The birth of "Resident"

As usually happens with Linden Lab projects, it was kludged by giving all new accounts the arbitrary Last Name of "Resident" just to be backward compatible with old viewers and scripted objects that depend on knowing the both the first and last name. (Inartfully trying to hide it behind a single login field.)

This quickly lead to AOL-style account login names of Jimmyl33t84 or Amy1234Cleveland (since "cool" single field name space ran out pretty quickly) which of course people immediately changed to things like RotoRooter69 and Amy Likes Girls (lord I hope those aren't actual display names). The problem, of course, was that everyone immediately found out that Display Names weren't their names!

"Resident" was still their last name and AOL-style login names were their real "first names" -- at least as far as most of the tools, viewers and things were concerned. And searching on a display name? Well good luck with that. It generally doesn't work or often returns wayyy too many results to be useful.

Have you ever played Tiny Empires? Then you know it only displays "real names" such as Amy1234Cleveland Resident. (As a side note, I had to update my Evil Tummy Talker and Evil Male Talker so they pick up Display Name (if used) or "real name" if Display Name is not set.)

A license to impersonate people

EDIT (ADDED): As someone just pointed out in the JIRA, Display Names are also being used to impersonate other accounts (people, Residents, whatevah). I verified this myself by doing the suggested search on "Truth Hawks" who is the well-known designer of "Truth" hair (which I LOVE btw). Sure enough, doing a search in the Linden Lab SL Viewer brings up three "Truth Hawks" with the "real" Truth Hawks listed #3. #1 is really "truthhanwk Resident" and #2 is "Lucifer Czarny". #2 actually has "TRUTH HAIR Send notecard or IM for contact me" so he obviously knows he is deliberately impersonating the real owner/designer of Truth Hair. This is because the stupid "People" search in the official viewer defaults to searching Display Names AND Real Names. I wonder how much business Truth Hawks has lost to Mr. Czarny? And clearly Linden Lab does not have the mechanisms in place to prevent this type of spoofing and I'm not sure they really care. FWIW, viewers with old-style "reliable" search ONLY search on actual resident names -- not Display Names. Searching "Truth Hawks" in Cool VL Viewer only returns "the" Truth Hawks.

The social side of Real Names and Display Names

So we have two classes of residents. Those with original "real last names" (like me) and those without. Which is annoying to both. It's inorganic and the complete antithesis of  Philip Rosedale's (Linden) original vision for Second Life.

It's a depersonalized, arbitrary and clumsy subdivision of Second Life participants (God I hate that term "Resident" - it sounds so temporary and fleeting). And the clamor for a return to offering meaningful last names has only increased over the last few months.

Will anything happen? Probably not. When it comes to things that affect SL'ers on an emotional level, Linden Lab has been increasinly detached, ignorant and uninvolved. (Has anyone SEEN a Linden in-world lately?? I sure haven't.) While their programmers and program managers actively get wrapped into things like graphics, databases, servers, etc., etc., they are utterly clueless as to what goes into creating a sense of community. (Except Torley who seems to be relegated to the wayyy back burners these days.)

Trust me, it's not the next level of mesh deformation that's going to get more new accounts to sign-up. It's whether or not people feel like they belong to a community once they join and if they are willing to talk their friends into following them.

Second Life and Linden Lab have been missing their social targets by a mile. Last names are just one piece in evidence of this. There are so many other examples (no need to rehash history). So feel free to vote on the JIRA (although "watching" generates more Linden Lab attention so do both) but don't hold your breath.

Comments? Thoughts?