User:SignpostMarv Martin/Hair Plug
From Second Life Wiki
Hair Plug aims to create an open standard for dynamic prim hair
Real hair can be restyled, so why not virtual hair ?
History of Hair in Second Life
Prim hair was developed in response to the low fidelity of the hair that comes with the avatar mesh.
What is it ?
Rather than having tens of objects (possibly hundereds as time goes by) in your inventory that compile your "hair wardrobe", why not just have one or two "wigs" that can be restyled to suit your needs ?
Within the proposed Hair Plug standard, there would be "wigs". These would be the basic collection of prims that can be restyled via llSetLinkPrimitiveParams into (hopefully) every conceivable hair style.
Since the way different hairstyles are represented in prims can differ vastly from style to style, the standard should allow for a variety of baseline wigs whose construction is more geared towards a specific style. Allowing for multiple baseline wigs is a good idea, as rearranging prims dynamically could lead to undesirable situations; strands of hair in the wrong place, wigs breaking apart, disappearing etc.
Visiting the Salon
Since a Hair Plug wig could be dynamically restyled between one style and another, you could visit a virtual hair salon, and watch your hair go through a virtual replica of the RL restyling process, complete with llRezObject() strands of hair piling on the ground!
As a result of the ability to control the wig via LSL, a Hair Plug wig could:
- grow over time, and need to be trimmed
- require regular maintenance, especially for more complex styles:
- Watch your avatar let it's hair down to retie a pony tail
- See loose strands of hair start to form, then use a brush & some hair spray to get rid of the strand
- Shampoo greasy hair
- Hair that goes gray as your avatar gets older
- Hair Plug - the standard
- Wig - the object
- Strand - the individual prims
Proposed Hair Plug Components
Each baseline wig would need to define each prim in the object as being a particular type of hair- fringe, loose strands, accessories etc.
Styles should be accepted from a variety of sources- chat, notecards, XMLRPC, HTTP
For styles fetched over HTTP, the 402 HTTP status code could be used to indicate to a wig that the owner needs to make a payment before the wig is able to download the style.