Mesh background information

From Second Life Wiki
Revision as of 04:45, 10 December 2012 by Misty Mole (talk | contribs) (Added a page of background explanation mostly written by Sylvan Mole, moving from Mesh and LOD article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Mesh background

A mesh is of a collection of vertices, edges, and faces that define a 3D shape, usually made in a program external to SL, although there are in-world gadgets that allow one to convert prims to mesh (these do use an external program as part of the process as well).

Vertices black640.png The basic element of a mesh is a vertex. Vertices represent points in space.

Edges 640.png Edges are lines that connect two vertices.

Triangle6401.png A face is a triangle composed of three vertices connected by edges.


Mesh Image640.png Together, they can combine to make models that look like this!

File Format

Second Life can import meshes in the COLLADA 1.4.1 (.dae) file format. COLLADA is a powerful open standard format consisting of human-readable XML. Although Second Life uses COLLADA for importing mesh data, it internally uses a custom format for uploading, storage, and streaming of mesh content.

KBnote.png Note: While the COLLADA spec supports everything from polygons to nurbs, the Second Life mesh importer only imports polygonal data. This means that you must convert your models to meshes before exporting to a COLLADA file.

More than you'll ever need to know about COLLADA:

Software

There are many applications that can create mesh and export to COLLADA. See Mesh/Creating_a_mesh for a list of the tools that can be used.

Many other software packages can create mesh, though some may require minor settings adjustments or even external programs to generate .dae files.

Here are some examples of files in COLLADA .dae file format. Mesh/Sample_Content