Approaching Nirvana – Auto Alpha from Maitreya

As promised in my previous post, this is a more detailed description / ‘how to’ on setting up the automatic alpha system from Maitreya on your Lara mesh body.  Maitreya call their system “AutoHide”,  so I’ll call it that from now on.

Now – I am already aware that Daria is discussing Auto Hide on her excellent blog over at mesh body addicts, so please go and check that too – I think more than one take on these things is a great approach, and Daria is providing some great resources relating to mesh bodies in general, so it is well worth checking out.

I will focus a bit more on managing the method of applying the alpha – some mechanics and scripting suggestions.


What is Auto Hide?


Maitreya have provided a script that sends alpha information to the Lara body, bypassing the HUD, or the need to manually set each alpha slice using the HUD. If your mesh or prim clothing item is modifiable, you can add the script right in the clothing itself.

With the script available, and after providing a configuration notecard (which I will describe shortly), your clothing item is now able to tell the body which alpha slices to turn on. The alpha information is sent as soon as the item is attached to your body, so it is very fast.

If your clothing item is non-mod – meaning you cannot change it or add scripts to it (and this is more common) then you can add the script to a separate prim that you can wear – either as a part of your outfit, or as a HUD on your viewer – either works fine.

You could be quite creative with the outfit approach – for example, by adding a prim flower, a jewellery item, a bow or some other object that both adds to the outfit, and has permissions to allow you to add the script.

The kit Maitreya have provided is available to clothing makers, so we can expect (I hope!) clothes from many makers to come with an AutoHide scripted addition that accepts a notecard, and would hopefully come with an existing notecard to help you with any modifications you wanted to make on your own.

Maitreya have already provided a number of clothing items with AutoHide built-in, available now by using redelivery if you already owned them, or for purchase in-store with the script already included.


An AutoHide Configuration


Lets look at that notecard holding the configuration.  It does seem a little unwieldy having to use a notecard, and I have already had to consider how to manage these in my inventory.  Here are the issues I have encountered so far.

  • The notecard needs to be stored somewhere if you ever want to alter the alpha settings, otherwise you need to start from scratch because the AutoHide script eats the notecard you add to the clothing or prim. Fortunately the notecard can have any name you like, so naming your notecards the same as your outfit name and keeping them all in one folder is an acceptable solution.
  • Setting the notecard information is painful. It gets easier with practice, but really – its a pain. Maitreya have addressed this with some great and imaginative helpers – there is an applier in the AutoHide kit that will write the names of all the alpha segments right on your body, helping you identify them against the lines in the notecard. And the notecard includes descriptive words for each alpha section, to help you work things out. My wish list includes a button on the Maitreya HUD that will dump an alpha configuration to chat, so we can copy that and paste it into a notecard. Let us hope this is in development right now.

ok,  this is what the configuration looks like – I made this one for my  *LpD* – *Angela* Dress.   As you would expect, most of the alpha segments can be left turned off (skin is visible) which is represented by a ‘0’ in the note card.  The ‘1’s’ in each case are segments of alpha to be made transparent.

11111000 Belly (BE)
00000000 Upper Back (U.BACK)
00000000 Chest (CH)
00000000 Left Breast (LB)
00000000 Right Breast (RB)
00000000 Arm Left (ARM) (written backwards)
00000000 Arm Right (ARM)
111000 Lower Back (L.BACK)
011111 Groin (GR)
11111111 Bum (BUM)
00000000 Upper Left Leg (UL-A) – outer front
00000000 Upper Left Leg (UL-B) – inner front
00000001 Upper Left Leg (UL-C) – inner back
00000001 Upper Left Leg (UL-D) – outer back
00000000 Upper Right Leg (UR-A) – outer front
00000000 Upper Right Leg (UR-B)- inner front
00000001 Upper Right Leg (UR-C) – inner back
00000001 Upper Right Leg (UR-D) – outer back
00000000 Lower Left Leg (LL-A) – outer front
00000000 Lower Left Leg (LL-B) – inner front
00000000 Lower Left Leg (LL-C) – inner back
00000000 Lower Left Leg (LL-D) – outer back
00000000 Lower Right Leg (LR-A) – outer front
00000000 Lower Right Leg (LR-B) – inner front
00000000 Lower Right Leg (LR-C) – inner back
00000000 Lower Right Leg (LR-D) – outer back
00 left nipple (LN)
00 right nipple (RN)
0 neck

The above configuration will ‘turn on’  (make transparent) the elements represented by 1’s.  I wanted to let you see how that relates to the actual pattern of segments on the body, so in the picture below I have reversed the configuration so that it only shows the parts that will become transparent in the final version.  Please note, this was for information only – you do not need to ever do this. Keep in mind that this is only the rear-view ;p  the other half of the configuration is hidden here, however I show that later.AutoHide -


In this picture I have applied the alpha pattern, and you can see the relationship of the HUD slice to the section of the body with its name shown using the applier from the AutoHide kit. I have drawn some red lines to point out the connection between HUD slices and body segments, although of course you are familiar with these from setting them every time you change outfits.

AutoHide -


Adding the Configuration to the Clothing item, Prim or HUD.


This step is quite straight forward, and is performed as follows (minor building skills are required).

  • Edit the item to which you want to add the AutoHide – this can be your full perm clothing item, a prim accessory or a HUD. To edit the item, Rez it on the ground and then right click and choose ‘Edit’  from the pie menu.
  • In the edit window, you will see the top quarter is occupied by options such as move or stretch.  You can ignore these. Just below that there is a row of tabs, “General, Object, Features, Texture, Content”.  Click on Content – this is where scripts and other contents can be added to the object. (see the left side of the image below).
  • From your inventory, you need to drag the AutoHide script supplied by Maitreya, and the AutoHide configuration notecard that you have created, over into the Content tab of your object. The script is called “Maitreya AutoHide BodyFaces V2.03″ and you should add it to the object first, and only then add the notecard.
  • Within a few seconds you will see the configuration notecard disappear from the Content tab, and you will receive a chat message from your object telling you that it has completed reading the configuration.
  • You can now take (right click on the object and ‘take’) your object back into your inventory.
  • Rinse and repeat!  I found it can take a few tries to get it right.  If you are like me you will make the odd mistake, or just miscalculate which parts to hide. When you have edited your notecard, you can rez your object, open Content, and just drag a new notecard into it – everything else stays as it was. Just be careful – because your object (if it is copy permission) will be duplicated and cause confusion!  I am deleting the objects in my inventory just before taking them back, so there is only ever one for a particular item of clothing at a time, but whatever system you use, you need to be able to identify which object has the correct notecard in it.

I have shown a picture below – this is what the process will look like on Firestorm.

Dragging the configuration card to the HUD contents

AutoHide - Script and config


A word on AutoHide using a  HUD


I felt that with so many items of clothing not having edit permission, I wanted to come up with an approach to easily loading my AutoHide settings. I could have just made an invisible prim and attached it somewhere, however I worried that it might end up staying there..  if I forget to detach it it will become a useless scripted attachment. It is useless because the alpha information is only sent once, and only when you attach the object. So leaving a prim sitting on your shoulder for no benefit is pointless, and at worst adds a script to your avie.

So I decided to use a simple HUD with no controls on it. The issue still existed though – if each time I wear an outfit, I wear a HUD,  will I end up with all these little AutoHide HUDS on my viewer screen – and again, they would serve no function because they have already done their work.

So I wrote a tiny script – it is trivial – to just wait a couple of seconds after the HUD attaches, and then politely detaches itself back to my inventory.  Also,  just so that I can be sure I am loading the correct HUD, for example when wearing an outfit,  I have set the HUD to display its name. Since I name my AutoHide HUDs the same as my clothing, that lets me check that the correct HUD is loading.

I have let the duration of the “falling off” time be variable – it is easy to edit that, and I have also let the colour of the text be set easily in the top of the script.

I made my HUD quite small – in the picture below you can see it loading as a red rectangle about half way down the left side of my viewer. I have labeled it for you to make it easier to see.  It only lasts 2 seconds – I gave one to Fiona to try out and it took her a few tries to see it, as its quite quick to unload.

Wear the HUD with the AutoHide script

AutoHide -


So – finally,  I can wear the dress and its AutoHide and it will automatically set my alpha segments as I have configured them.

AutoHide -


Final Word!


AutoHide is the missing piece in the mesh body jigsaw in my opinion – it brings to mesh body wearers the same ability to wear an alpha layer tailored to an outfit that we have enjoyed in classic avatars since the introduction of mesh clothing.

However, like the process for editing those older alpha layers, the AutoHide alpha settings require a very manual process to create them. The editor of choice for creating an alpha segment pattern is of course, the alpha editor provided in the body HUD.

Lets hope that the next few updates from Maitreya deliver that editor to us with an “AutoHide Export” button that writes the AutoHide configuration out to chat, where we can copy it and paste it into a notecard.  But that tiny niggle aside, I think Maitreya have delivered us a huge new capability, and set we Lara wearers ahead of the current pack of mesh body wearers.

Thanks Maitreya!

Hugs,

Whims xx


PS – Anyone interested in my little Hud fall off script (or a HUD with that installed) please just contact me in-world, I’ll be happy to pass one along.

11 thoughts on “Approaching Nirvana – Auto Alpha from Maitreya

  1. Pingback: A new Mesh Head and a new Mesh Body makes Daria something something… | Mesh Body Addicts

  2. Pingback: Mesh Boddy Maitreya… Novidades!!! | Pessoa Virtual

  3. Hi You are making the whole process very complicated with the notecard.

    Just Rezz a small 1x1x1 (Or smaller) Prim. Drag the autohide script into the prim. Pick up the Prim. Make copies for other outfits before you set it up. Then “Add” one of them to your HUD to set it up. Wear the outfit you want to wear. Set the alphas you need using the Maitreya HUD. Click the prim (HUD) and you will get a menu. Click “Get Alpha” then go to the Maitreya HUD and “Show All”. Then Click your new Prim/HUD and “Test Alpha”. Watch your Maitreya HUD and verify that you hid the appropriate bits. Then Click”Finalize” on your Prim/HUD. It is now ready to be worn with that outfit. You can continue wearing it on your HUD or wear it on your body after making it invisible. You can follow the instructions to set the script permissions if you wish I really have no idea why since I make my own Autohide HUDs for my own use and nobody can steal them from my inventory.

    You can’t rename your Authide HUDs to match your outfits unless you rezz them on the floor because the Prim takes on a “No Modify” characteristic because of the script. That is my main complaint — not a very serious one.

    Like

    • Hi Carol,

      My post was May 2015, based on the Maitreya autohide script version 1.1.

      At that time (and I just went back into my inventory to make very sure of this!) the autohide script had no communication with the Maitreya HUD – so manually editing the autohide configuration notecard was the only way you could make an autohide :).

      Maitreya have (quite a bit later – I will check the date shortly) since added the HUD communication routines, and that makes life so much simpler, I completely agree with you. In fact I might do an update just so thats all clear.

      Also please forgive me a tiny bit of hubris – if you refer back to my first post on automatic alpha settings (https://scallivanting.wordpress.com/2015/01/14/my-mesh-crisis/) posted iin January 2015, and click on the pdf I created, you will see my proposed design for auto hide (I called it alpha memory). In that design you will see that I proposed the hud communication that you are now seeing in the Maitreya scripted autohide solution. So I am VERY pleased that we have a simpler way to extract, modify and re-apply our alpha patterns now.

      Thanks very much for your comment Carol, its very much appreciated.

      Hugs
      Whims

      Like

      • Thanks for your reply and comments. I hope your post was part of the impetus that got us to the HUD to Autohide communication.

        I like it that several third party clothing makers are using the autohide set and reset functions right in their products.

        I found your well written post while searching for a way to make the Autohide function work in Full Permission Mesh clothes so I wouldn’t need to make a Prim HUD. The scripts work for me in prims but not mesh clothes. I even tried linking a Prim with the script to the mesh with no success.
        Any suggestions there will be appreciated.

        Liked by 1 person

    • Wow! Carol, I have to try that. I’ve been holding off on trying the notecard because it seemed like something that would take a lot of time and attention to do right. This I might be able to manage! Either way, I’m very happy for this thread.

      By the way, a suggestion I have is to create one of these objects and set it up for no alpha sections activated. It can then be copied and used for outfits that use the Maitreya body but no alpha, so if you’re changing into them from an outfit that uses an alpha, it will reset it. It’s a little closer to the old drag-and-drop outfits on the system body!

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s