wiki.sine.space | sinespace

Morph Shapes

From wiki.sine.space
Revision as of 21:40, 6 March 2020 by Lesiar (Talk | contribs) (MORPH SHAPES Walk-through)

Jump to: navigation, search

MORPH SHAPES Walk-through

You are expected to have installed Unity and a valid Editor Pack installed correctly ( called SDK on Unity’s Asset Store).


Open our 2017 Female/Male model in 3D modelling tool of choice. it's included in our Editor Pack)


Delete lights and cameras - we don't need those.


Click on the model and click here:


MorphShapes01a.jpeg


Add a Morph Key / Shape Key / Blend Shape.


Delete the existing morphs - we don't need these.


Now click the plus sign to add 2 new keys. Leave the first (called Basis) and rename the other key something simple such as "My Slider".


Ensure you only have one UV map


Using the "Sculting" layout, apply some modifications.


MorphShapes01.jpeg


In this case, I’ve morphed the nose, and saved it into ‘My Slider’ which is a new blendshape on here.


MorphShapes02.jpeg




MorphShapes01b.jpeg


Export as a FBX.


Now, begin a new scene in Unity and import the model you have just exported from Blender (or your 3D Software).


Drag the model into the scene/hierarchy


Expand the model to see its child objects. Check the mesh has a skinned renderer and you can see your morph. Change that to maximum value (for now).


MorphShapes04.jpeg


Open the menu item: Sinespace->Tools->Custom Shapes->Create Body Morph Texture


Select a folder INSIDE your project where the created morph texture will be saved.


Brings up this window...


MorphShapes05.jpeg


MorphShapes06.jpeg


Drag the femalebody mesh into the original template field.


Into the Original Blend Shape field, enter the name of your blendshape (e.g. ‘MySlider’).


Untick ‘Incorporate Normal’ and set the scale to 1.0


Click Bake Map.


This will output a texture to the folder you specified; it should have a bit of RGB noise where the modifications have been made.


Select this texture. Then change the import settings so that:


sRGB is off

Read/Write Enabled is on

Generate Mip Maps is off

Wrap Mode is Clamp

Filter Mode is Point

Compression is None


MorphShapes07.jpeg


Hit Apply.


Now we’re ready to upload - last step!


Create a new empty game object


Add a Clothing Item Settings


In the Body Slider section (towards the bottom), drag your texture into the slot


Add a Virtual Good


Set the category to Clothes/Body/Morphs


Upload!