Difference between revisions of "Mesh/Uploading a mesh model"

From Second Life Wiki
Jump to navigation Jump to search
(Replaced content with "{{#widget:Redirect|url=/t5/English-Knowledge-Base/Uploading-a-mesh-model/ta-p/974185}}")
 
Line 1: Line 1:
{{KBnote|This is a basic walkthrough of how to upload a model.  For full details on the parameters available for uploading a model, see [[Mesh/Upload Model UI reference|Model Upload UI reference]].}}
{{#widget:Redirect|url=/t5/English-Knowledge-Base/Uploading-a-mesh-model/ta-p/974185}}
{{Navbox/Mesh|basics}}
{{:Mesh/Prerequisites}}
__TOC__
 
<div style="margin: 10px; padding: 0 10px 10px 10px; border: 1px solid #ddd; background-color: #ffffaa;">
== GETTING STARTED: Uploading your first model ==
If you're new to uploading mesh models to Second Life, here's a quick and easy set of instructions to get you started.  Don't worry about the myriad of controls in the upload window for now; they're for Residents who want fine control over their model's appearance and physics.  For a more detailed breakdown of the upload procedure, keep reading below.
 
To upload a mesh model:
# Choose a ''.dae'' file stored on your computer by choosing '''Build > Upload > Model'''. If you don't have any models on your computer, you may download some from the [[Mesh/Sample_Content|sample content]] page.
# Preview your model's automatically generated levels of detail on the '''Level of Detail''' tab by selecting them from the '''Preview''' dropdown. Notice how the object's complexity is reduced at each level.
# Click the '''Physics''' tab and click the '''Use Level of Detail''' radio button.
# Click the '''Modifiers''' tab and check the boxes for any additional features on your model, such as textures.
# Click '''Calculate weights & fee''', then review the resource weights, prim equivalent cost, and Linden dollar cost of your model.
# Click '''Upload''' to upload your model to Second Life.
</div>
 
{{KBtip|To avoid spending Linden dollars while experimenting with uploading models, you may wish to use the [[Preview Grid|preview grid]], also called "Aditi".  The preview 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.}}
 
== Step 1: Choose a model to upload ==
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 [[Mesh/Sample_Content|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 '''Name''' field.
# If your model includes textures, click the {{Icon_Gear|Gear Icon}} and choose '''Show textures''' to make sure the textures are displayed properly.
 
== Step 2: Define visual levels of detail ==
[[Image:Low LOD.png|300px|right|thumb|Defining the Low level of detail for an architectural arch.]]
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 selecting a level from the '''Preview''' dropdown menu.
 
While previewing your model at each level of detail, you may change the parameters used for simplifying it from your original model under the '''Auto generate''' radio button.  For full details on these parameters, see [[Mesh/Upload Model UI reference|Upload Model UI reference]].
 
Alternately, you may upload your own simplified models by choosing '''Load from file'''.  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.
 
== Step 3: Define the model's physics shape ==
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 one 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 1: Analysis''' or '''Step 2: Simplification''' 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 [[Mesh/Upload Model UI reference|Upload Model UI reference]].
 
== Step 4: Modifiers ==
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.
 
== Step 5: Calculate weights & fee ==
When you click '''Calculate weights & fee''', Second Life calculates the download, physics and server weights of your model in order to determine its prim-equivalent cost 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.
 
{{KBnote|The L$10 base cost to upload a mesh model is a temporary rate for the open beta period.  This fee ''may increase'' after the mesh upload feature leaves open beta.}}
 
For more information about weights and prim equivalence, see [[Mesh/Calculating prim equivalent weight|Calculating prim equivalent weight]].
 
== Step 6: Upload ==
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.
 
== Bonus section: Rigging options ==
[[Image:Show skin weight.png|300px|right|thumb|Check '''Show skin weight''' to preview how the model will look on an idle avatar.]]
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 clicking the {{Icon_Gear|Gear Icon}} in the Upload Model window and checking '''Show skin weight'''.
 
=== Wearing a model with rigging ===
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.

Latest revision as of 13:37, 12 August 2011

Redirecting to http://community.secondlife.com/t5/English-Knowledge-Base/Uploading-a-mesh-model/ta-p/974185