|Note: This is a basic walkthrough of how to upload a model. For full details on the parameters available for uploading a model, see Model Upload UI reference.|
|Update: Viewer version 184.108.40.2063230 modified the mesh importer to (optionally) improve debug output, perform name-based LOD association, and handle models with many materials. For additional information on this update, see the official Second Life Viewer release notes.|
Before you can upload mesh objects, you must:
- Have payment information on file. You can add payment information by visiting the Billing Information section of your Second Life account page.
- Have accepted the IP terms on your account page. If you are planning to use the beta grid (Aditi), you must also accept the IP terms there, but do not need payment information on file.
- Have at least one compatible COLLADA (.dae) file on your computer. You can create your own by using most popular 3D software packages, or, if you have the appropriate rights, you can download models created by other 3D artists from online repositories. Try our sample content page for a free model if you're just getting started.
You may check your mesh upload status at any time by visiting your account page on the Second Life website.
There is a Linden dollar fee to upload a model; the fee depends on the model's complexity.
|Tip: To avoid spending Linden dollars while experimenting with uploading models, you may wish to use the Second Life Beta Grid (Aditi). The Beta Grid allows you to test new features and experiment with potentially costly designs in a safe environment, using a copy of your Second Life account. Actions taken on the preview grid cannot affect your inventory or L$ balance on Second Life's main grid.|
Second Life accepts COLLADA (.dae) models, which can be edited and created in many popular 3D modeling packages. If you do not currently have any COLLADA models on your computer, you may download some from the sample content page.
To begin uploading a model:
- Choose Build > Upload > Model...
- Select the .dae file on your computer and click Open.
- In the Upload Model window, enter a suitable name for your model in the Model name field.
- If your model includes textures, check the Textures box underneath the Preview pane to make sure the textures are displayed properly.
Levels of detail determine what your model looks like from various distances. As you get farther away from a model, it renders in less detail to boost visual performance. Second Life generates these lower detail models by default, but you may use this step to tweak each level or even upload your own lower detail models. You can preview your model at any level of detail by clicking High, Medium, Low, or Lowest.
While previewing your model at each level of detail, you may change the parameters used for simplifying it from your original model if you chose Generate from one of the Source dropdown menus. For full details on Triangle Limit and Error Threshold, see Upload Model UI reference.
You may upload your own simplified models by choosing Load from file from the Source dropdown menus. You may wish to create your own lower-detail models in order to preserve critical details that may be lost during the automatic simplification process.
The mesh uploader uses very strict naming rules for these custom LOD files:
- File names ending with "_LOD2" must be used for Medium level of detail
- File names ending with "_LOD1" must be used for Low level of detail
- File names ending with "_LOD0" must be used for Lowest level of detail
- File names ending with "_PHYS" must be used for the model's physics shape
Additionally, material names must match exactly between each level of detail. Some 3D modeling programs such as Blender automatically change material names to prevent duplication when multiple versions of a model are loaded into the same scene.
Material names are sorted alphabetically upon importing a model from the 3D modeling program of your choice, and may not retain the order they had in the original model. If material order is important to your model, you must name them accordingly.
For more detailed information on uploading mesh models with multiple materials, see Uploading a multi-face mesh on the Second Life Wiki.
|Note: If you need to upload an old model that does not conform to these LOD naming rules, you may enable the debug setting called ImporterLegacyMatching in the Second Life Viewer. Access the Debug Settings window by choosing Advanced > Debug Settings from the top menu bar.|
A model's physical shape, as interpreted by Second Life's physics engine for calculating collisions, can be different from its visual shape. For example, you may wish to simplify a very complex vehicle into a square physical box shape, which allows you to have a visually complex vehicle that requires comparatively little physics computation and does not overtax the region's ability to process moving physical objects. You may upload your own physics representation as a .dae file or you may use Second Life's analysis and simplification tools to generate a physics shape automatically.
The quickest way to generate a physics model for your object is to choose Use Level of Detail and select a level of detail from the dropdown menu. This creates a physics model based on one of your model's visual levels of detail. Remember that lower physics costs are desirable, so choose the lowest level of detail that reasonably represents the shape of your model.
You do not need to complete Step 2: Analyze or Step 3: Simplifiy unless your physics model is extremely complex or shows red lines in the preview window. For advanced information on usage of the physics analysis and simplification tools, see Upload Model UI reference.
Before you upload, make sure to include any necessary optional parameters on the Modifiers tab:
- Scale: Changes the base size of your model. Increasing the scale increases the resource cost.
- Include Textures: Includes any textures applied to the COLLADA model. The textures are automatically applied to the Second Life version of the model when it is uploaded.
- Include Skin weight: Includes any skin weight information in the COLLADA model. This option only applies to models that are meant to move and flex with your avatar when worn as avatar attachments.
- Include Joint positions: Includes joint position information from the COLLADA file. This option only applies to models that are meant to alter an avatar's joint positions when worn as an attachment.
- Pelvis Z Offset: Changes the vertical positioning of a rigged model.
When you click Calculate weights & fee, Second Life calculates the download, physics and server weights of your model in order to determine its land impact and Linden dollar upload cost. The base Linden dollar cost to upload is L$10 plus L$10 for each texture applied to the model, and an additional cost based on the complexity of the model.
For more information about weights and land impact, see Calculcating land impact.
When you upload a model, it appears in the Objects folder in your inventory. As with all objects in Second Life, you can then drag it from your inventory to the ground, or you can wear it as an attachment.
Rigged models allow you to represent your avatar skeleton as a mesh that conforms to your joints and motions. This means that you can wear a rigged model that changes the length and orientation of your avatar's limbs and animates accordingly.
If your COLLADA model contains joint position and skin weight information, you can preview how it will look with an avatar's default idle animation by checking the Skin weights box underneath the Preview pane.
You may wear a rigged model by right-clicking it in your inventory and selecting Wear. You may often wish to pair a rigged model with an alpha mask to hide your avatar's normal shape.