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}}")
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Navbox/Mesh|basics}}
{{#widget:Redirect|url=/t5/English-Knowledge-Base/Uploading-a-mesh-model/ta-p/974185}}
{{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|the Model Upload UI reference]].}}
{{:Mesh/Prerequisites}}
 
== 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'''.
# Preview your model's automatically generated levels of detail by selecting them from the '''Preview''' dropdown.
# Click the '''Physics''' tab and choose '''Use Level of Detail'''.
# Click the '''Modifiers''' tab and check the boxes for any additional features on your model.
# 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.
 
== 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 in order to boost visual performance.  Second Life generates these lower levels of detail by default, but you may use this step to tweak each level or even upload your own lower-detail models.
 
The top section of the Level of Detail tab shows how many triangles and vertices your model uses for each level of detail; each level must have fewer vertices than the level above it.  To preview your model at each level of detail, choose from the '''Preview''' dropdown above the preview window.
 
While previewing your model at each level of detail, you may change the parameters used for simplifying it from your original model under '''Auto generate'''.  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 use your own models in order to preserve critical details that may be lost during automatic simplification.
 
== Step 3: Define the model's physics shape ==
A model's physical shape can be different from its visual shape.  For example, you may wish to simplify a very complex vehicle into a physical box shape, which allows you to have a visually complex vehicle that uses comparatively little physics weight and does not overtax the region's ability to process 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 automatically generate a physics shape.
 
The quickest way to generate a physics model for your object is to choose '''Use Level of Detail''' and select one of your models from the Level of Detail step.  Remember that lower physics costs are desirable, so choose the lowest level of detail that reasonably represents the shape of your model.
 
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.  You must check this box if you wish to wear your model as a rigged avatar part.
* '''Include Joint positions:''' Includes joint position information from the COLLADA file.
* '''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 Streaming, Physics and Simulation 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$150 plus L$10 for each texture applied to the model, and an additional cost calculated from the three weights.
 
For more information about weights and prim equivalence, see [[Mesh/Prim equivalence|Prim equivalence]].
 
== 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