Difference between revisions of "Mesh/Uploading and wearing a rigged mesh"

From Second Life Wiki
Jump to navigation Jump to search
Line 7: Line 7:


== Get a Second Life compatible rigged mesh file ==
== Get a Second Life compatible rigged mesh file ==
The first step is to get a mesh file onto your computer that you want to upload to Second Life. Second Life's mesh import is able to read COLLADA (".dae") files.  You will need to use one that has joint rigging information.
The first step is to get a mesh file that you want to upload to Second Life. Second Life's mesh import is able to read COLLADA (".dae") files.  You will need to use one that has joint rigging information.
# Click this link -- http://download.cloud.secondlife.com/project-viewers/mesh/examples/simplebot.zip -- to download a zip file containing the <code>simplebot.dae</code> COLLADA file.
# Click this link -- http://download.cloud.secondlife.com/project-viewers/mesh/examples/simplebot.zip -- to download a zip file containing the <code>simplebot.dae</code> COLLADA file.
# Extract and save the <code>simplebot.dae</code> file anywhere on your hard drive where you can find it later.
# Extract and save the <code>simplebot.dae</code> file anywhere on your hard drive where you can find it later.

Revision as of 11:18, 30 November 2010


MeshWalkthrough-Rigged Mesh Upload-Splash.png

Rigged meshes allow you to represent your avatar skeleton as a mesh that conforms to your joints and motions. This walkthrough explains the process of uploading a basic rigged mesh.

Get a Second Life compatible rigged mesh file

The first step is to get a mesh file that you want to upload to Second Life. Second Life's mesh import is able to read COLLADA (".dae") files. You will need to use one that has joint rigging information.

  1. Click this link -- http://download.cloud.secondlife.com/project-viewers/mesh/examples/simplebot.zip -- to download a zip file containing the simplebot.dae COLLADA file.
  2. Extract and save the simplebot.dae file anywhere on your hard drive where you can find it later.
Warning!

Joint rigging is not supported with 3ds Max's default export, so if you're using 3ds Max you'll need the OpenCOLLADA plug-in.


Upload the mesh file to Second Life

Upload Model window

Upload the mesh file to Second Life:

  1. Select Build > Upload > Model....
    Alternatively, open My Inventory, click the + button, and select Upload > Model....
    A file dialog box opens.
  2. Find and select the simplebot.dae file from your computer.
    The Upload Model window appears.
  3. Enter a name for your model in the Name field.
  4. Select the Skin Weights checkbox.
    The viewer will take a few seconds to process this.
  5. Select the Joint Positions checkbox.
    Note: Attaching a rigged mesh with joint positions will override your avatar skeleton joint positions, and may make your arms/legs/back/neck longer/shorter, eyes pop out, etc.
rigged mesh animation preview
  1. Walk your avatar around or play a gesture. The model in the preview window will move correspondingly.
    You can use the mouse to zoom in on the preview window or rotate the mesh.
  2. Click the Upload button.
    Two new assets appear in your inventory: one in your Meshes folder, the other in your Objects folder.
    For the simplebot object, these new assets are named Simple_Bot_001.
    Note: We only care about the asset in your Object folder right now.

Wear your rigged mesh

To wear the mesh you imported:

  1. In My Inventory, open the Current Look folder and detach any attachments that you don't want to be part of your final appearance.
  2. Right-click the new mesh object Simple_Bot_001 in your Objects folder and select Wear.
    This attaches the mesh object to your right hand or some other arbitrary location; the location is not important.
  3. In My Inventory, open the Library > Body Parts > Alpha Masks folder.
  4. Right-click the Invisible Avatar item and select Wear.
    Your avatar appears as a thin white robot.
  5. Walk or animate your avatar. The white mesh moves just as your avatar does.

To remove the mesh, detach it like any other attachment:

  1. In My Inventory, find Simple_Bot_001 in the Objects folder or Current Look folder, right-click it, and select Detach From Yourself.
  2. In your Current Look folder, right-click Invisible Avatar and select Take Off.


Continue on to Decomposing mesh for physics shape.