Difference between revisions of "Mesh/Uploading a multi-face mesh"

From Second Life Wiki
Jump to navigation Jump to search
(No difference)

Revision as of 12:57, 9 December 2010


MeshWalkthrough-Complex Mesh Upload-Splash.png

Just as we can texture individual faces of a primitive differently, we can texture individual faces of meshes differently if the mesh has been properly set up for materials before import.

Get a Second Life compatible mesh file

The first step is to get a multi-material mesh file that you want to upload to Second Life. Second Life's mesh import is able to read COLLADA (".dae") files.

  1. Click this link -- https://collada.org/owl/download.php?sess=0&parent=131&expand=1&order=name&curview=0&binary=1&id=707 -- to download the "seymour.dae" COLLADA file.
  2. Save the file anywhere on your hard drive where you can find it later.

Upload the mesh file to Second Life

Upload Model window

Upload the mesh file from your computer to Second Life:

  1. Select Build > Upload > Model from the menu at the top of the Second Life Viewer.
    Alternatively, open My Inventory, click the + button, and select Upload > Model.
    A file upload window opens.
  2. Find and select the seymour.dae file from your computer.
    The Upload Model window appears.
  3. Enter a name for your model in the Name field.
  4. Click the Upload button.
    Two new assets appear in your inventory: one in your Meshes folder, the other in your Objects folder.
    For the seymour object, these new assets are named boyShape.
    Note: In this walkthrough, we only care about the asset in your Object folder.
Warning!

While the Seymour asset does contain a rig, it is incompatible with the current Mesh Project Viewer code. If you enable Skin Weight, Seymour's skin will be generated incorrectly. You'll see the incorrect behavior in the tool preview window, and if uploaded, you'll see a group of large flickering triangles inworld.


Add your mesh object to the world and edit it

Edit goggle color

You can now manipulate your mesh as if it were any other object in your inventory:

  1. Find your boyShape object in your Objects folder; if you're having trouble or have a large inventory, use your inventory's RECENT tab.
  2. Drag the new object from your Objects folder to anywhere on the ground where you have permissions to build.
    The model appears on the ground.
  3. Right-click the model and select Edit.
    The Edit Object window appears.
  4. Click the Select Face radio button.
  5. Left-click the goggle lenses of the model.
  6. Click the color swatch in the Texture tab and change the color, or click the texture swatch and change the texture.
  7. Add color and/or textures to other parts of the model (gloves, goggle frame, face, or cap) in the same way.


Continue on to Uploading a rigged mesh.