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

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


== Obtain a Second Life compatible mesh file ==
== Obtain a Second Life compatible mesh file ==
The first step is to get a mesh file onto your computer that you want to upload to SL.  SL's mesh import is able to read [https://collada.org/mediawiki/index.php/COLLADA_-_Digital_Asset_and_FX_Exchange_Schema COLLADA] ("''.dae''") files.
The first step is to get a mesh file onto your computer that you want to upload to SL.  Second Life's mesh import is able to read [https://collada.org/mediawiki/index.php/COLLADA_-_Digital_Asset_and_FX_Exchange_Schema COLLADA] ('''.dae''') files.
* Click on this link -- https://collada.org/owl/download.php?sess=0&parent=126&expand=1&order=name&curview=0&binary=1&id=698/ -- to download the "''duck.dae''" COLLADA file.
# Click on this link -- https://collada.org/owl/download.php?sess=0&parent=126&expand=1&order=name&curview=0&binary=1&id=698/ -- to download the '''duck.dae''' COLLADA file.
* Save the file anywhere on your hard drive where you can find it subsequently.
# Save the file anywhere on your hard drive where you can find it subsequently.


== Upload the mesh file to Second Life ==
== Upload the mesh file to Second Life ==
[[File:MeshWalkthrough-Import_Model.png|right|300px|thumb|Import Model Menu]]
[[File:MeshWalkthrough-Import_Model.png|right|300px|thumb|Import Model Menu]]
Next, take the file that you downloaded to your computer and upload it to SL. (Note that during beta, uploading is free!)
Next, take the file that you downloaded to your computer and upload it to Second Life. (Note that during beta, uploading is free!)
* Open the main menu "''Build''" menu, choose "''Upload''", click "''Model...''".
# Select '''Build''' > '''Upload''' from the menus at the top of the Second Life Viewer.
*: (Alternately, open your Inventory View, click the "''+''" menu button, "''Upload''" > "''Model...''").
# Click '''Model'''.
*: This will cause a file dialog box will open.
#: (Alternately, open your Inventory View, click the '''+''' menu, and select '''Upload''' > '''Model''').
* Find and select the "''duck.dae''" file from your computer.
#: A file upload window opens.
*: The Import Model window will then appear.
# Find and select the '''duck.dae''' file from your computer.
* Click the "''Generate LOD''" button at the top of this window.
#: The Import Model window opens.
*: The viewer will take a moment to process this, then the "''Upload button''" will become clickable.
# Click the '''Generate LOD''' button at the top of this window.
* Click the "''Upload''" button.
#: The viewer will take a moment to process this before the '''Upload button''' becomes clickable.
*: You will see 2 new assets in your inventory:
# Click the '''Upload''' button.
*: One will appear in your inventory's top-level "''Meshes''" folder, the other in your top-level "''Objects''" folder.
#: Two new assets appear in your inventory.
*: These will appear as "''LOD3spShape''" for the duck object.
#: One appears in your inventory's top-level '''Meshes''' folder, the other in your top-level '''Objects''' folder.
* We only care about the asset in your "''Object''" folder right now.
#: These will appear as '''LOD3spShape''' for the duck object.
#: We only care about the asset in your '''Object''' folder right now.


== Add your mesh object to the world ==
== Add your mesh object to the world ==
[[File:MeshWalkthrough-Rez_Object.png|right|300px|thumb|Rezzed object]]
[[File:MeshWalkthrough-Rez_Object.png|right|300px|thumb|Rezzed object]]
You should now be able to manipulate your mesh as if it were like any other object in your inventory.
You should now be able to manipulate your mesh like any other object in your inventory.
* Find your "''LOD3spShape''" object in your "''Objects''" folder; if you're having trouble or have a large inventory, use your inventory's "''RECENT''" tab view.
# Find your '''LOD3spShape''' object in your '''Objects''' folder.
* Drag the new object from your "''Objects''" folder to anywhere on the ground where you have permissions to build.
#: If you're having trouble or have a large inventory, use your inventory's '''RECENT''' tab view.
*: A duck model will appear on the ground.
# Drag the new object from your '''Objects''' folder to any place on the ground inworld where you have permissions to build.
* You can use the duck mesh as you would any other object -- scale it, texture it, attach it, script it, whatever you like.
#: A duck model appears on the ground.
# You can use the duck mesh as you would any other object -- scale it, texture it, attach it, script it, whatever you like.


== Experiment with other Mesh files ==
== Experiment with other Mesh files ==
[[File:MeshWalkthrough-Download_File.png|right|300px|thumb|Download menu from [https://collada.org/owl/browse.php?sess=0&parent=126&expand=1&order=name&curview=0&sortname=ASC COLLADA Test Model Bank] ]]
[[File:MeshWalkthrough-Download_File.png|right|300px|thumb|Download menu from [https://collada.org/owl/browse.php?sess=0&parent=126&expand=1&order=name&curview=0&sortname=ASC COLLADA Test Model Bank] ]]
You can also experiment uploading other files from COLLADA's repository.  Due to the fact that Mesh is still in beta, be warned that you may not have success with all of these.
You can also experiment uploading other files from COLLADA's repository.  Due to the fact that Mesh is still in beta, be warned that you may not have success with all of these.
* Download any "''.dae''" file from the [https://collada.org/owl/browse.php?sess=0&parent=28&expand=1&order=name&curview=0&sortname=ASC COLLADA public repository].
# Download any '''.dae''' file from the [https://collada.org/owl/browse.php?sess=0&parent=28&expand=1&order=name&curview=0&sortname=ASC COLLADA public repository].
[[Category:Mesh]]
[[Category:Mesh]]
* Follow the above steps to upload this file to SL.
# Follow the above steps to upload this file to Second Life.




Continue on to [[Mesh/Mesh_Walkthrough:_Complex_Mesh_Upload|Uploading a multi-material mesh]].
Continue on to [[Mesh/Mesh_Walkthrough:_Complex_Mesh_Upload|Uploading a multi-material mesh]].

Revision as of 15:17, 13 October 2010


MeshWalkthrough-Simple Mesh Upload-Splash.png

Uploading a mesh is a straightforward process, similar to how you would upload an animation or texture. This walkthrough will cover the workflow for uploading a basic object with basic properties. If you're new to mesh, this is where you'll want to get started. This walkthrough will bypass a lot of the more complex customization and advanced features of mesh; we'll get into some of those in later walkthroughs.

Obtain a Second Life compatible mesh file

The first step is to get a mesh file onto your computer that you want to upload to SL. Second Life's mesh import is able to read COLLADA (.dae) files.

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

Upload the mesh file to Second Life

Import Model Menu

Next, take the file that you downloaded to your computer and upload it to Second Life. (Note that during beta, uploading is free!)

  1. Select Build > Upload from the menus at the top of the Second Life Viewer.
  2. Click Model.
    (Alternately, open your Inventory View, click the + menu, and select Upload > Model).
    A file upload window opens.
  3. Find and select the duck.dae file from your computer.
    The Import Model window opens.
  4. Click the Generate LOD button at the top of this window.
    The viewer will take a moment to process this before the Upload button becomes clickable.
  5. Click the Upload button.
    Two new assets appear in your inventory.
    One appears in your inventory's top-level Meshes folder, the other in your top-level Objects folder.
    These will appear as LOD3spShape for the duck object.
    We only care about the asset in your Object folder right now.

Add your mesh object to the world

Rezzed object

You should now be able to manipulate your mesh like any other object in your inventory.

  1. Find your LOD3spShape object in your Objects folder.
    If you're having trouble or have a large inventory, use your inventory's RECENT tab view.
  2. Drag the new object from your Objects folder to any place on the ground inworld where you have permissions to build.
    A duck model appears on the ground.
  3. You can use the duck mesh as you would any other object -- scale it, texture it, attach it, script it, whatever you like.

Experiment with other Mesh files

Download menu from COLLADA Test Model Bank

You can also experiment uploading other files from COLLADA's repository. Due to the fact that Mesh is still in beta, be warned that you may not have success with all of these.

  1. Download any .dae file from the COLLADA public repository.
  2. Follow the above steps to upload this file to Second Life.


Continue on to Uploading a multi-material mesh.