Mesh/Exporting a mesh from SketchUp

From Second Life Wiki
Jump to navigation Jump to search


Google SketchUp 7.0 is a free 3D modeling program available for Windows XP/Vista/7 and Mac OS X 10.5 and later. It stores model files in it's own .skp format, but it can export models to the Collada 1.4 .dae format that Second Life uses to import models. What follows is a basic workflow for using SketchUp to import a model to Second Life.

Create Your Object in SketchUp

Step 1: Download SketchUp from the FileHippo.com and install it on your computer. Note this is not the current version (8), but the newer version does not import to Second Life properly. You can get the SketchUp Manual in PDF format for version 7.

Step 2: Start SketchUp 7, and in the Welcome to SketchUp window, click the Choose Template button. Select Simple Template - Meters and then click Start Using SketchUp

Step 3: You will see a human figure in the perspective view. Before exporting your model, left click this figure and type Delete, otherwise the figure will be imported to Second Life along with your model.

Step 4: Select the Line tool (second from the left) on the toolbar, and draw a set of line segments to make a closed shape. It will turn gray when you connect back to the initial point. Now select the Push/Pull tool (tenth from the left), left click on the shape, and move the mouse forward to raise the shape and make a solid object. Hold the middle mouse button or select the Orbit tool (14th icon), then move the mouse to rotate your camera view. Rolling the mouse button will zoom the view. You can draw more lines with the Line tool on existing sides of the object, and push and pull the sides to change the shape. Other tools can be used to further modify the shape.

Step 5: Select the Paint Bucket tool (9th from the left). Under the Select' tab, choose a material type from the dropdown list, then click one of the thumbnails to choose a texture. Now left click on each face of your object to assign the texture. Put a texture on every side of the object so it will have a texture mapping once imported to Second Life. Save the SketchUp file using the File > Save As... menu item.

Step 6: Use File > Export > 3D Model menu item, and choose Google Earth (*.kmz) as the Export type. Name the file and then click Export. Close SketchUp 7. Rename the *.kmz file you created to *.zip, and unpack the zip file. The *.dae will be located in the models folder.

Upload to Second Life

Note: Mesh upload is currently only working on the Beta Grid (Aditi) Mesh Sandbox regions.

Step 1: If you do not have it installed yet, get the most current Second Life Viewer Beta from the Release Notes for Beta Version page linked at the bottom of this page. Currently this is version 2.7.1. Select Mode: Advanced on the login screen and restart. Then select Start at: Aditi (ie the beta grid), and log in. Find your way to one of the Mesh Sandbox map regions.

Step 2: Choose Build > Upload > Model' from the main menu. From the file browser, choose the .dae format file you unpacked previously. In the Upload Model window choose the Upload button. After a few seconds your model will appear in your inventory as a coalesced object. Drag it onto the ground in the perspective view. You can now apply textures to the white object.

Video tutorial

Importing an Arch <videoflash type="youtube">5KlPvhx_0Ao|640|505</videoflash>

Best practices

Forum thread on SketchUp best practices Another thread on exporting from SketchUp to Second Life

Bones and rigging

Gotchas and workarounds

Optimization techniques

Tutorial links