Material Instances

From HEWIKI
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
  
 
== Overview ==
 
== Overview ==
An [[asset]] is a template from which things in the game world are made. An asset instance is an object with a unique ID number, created from an asset.
+
An [[asset]] is a template from which things in the game world are made. An asset instance is an object with a unique ID number, created from an asset. Areas are mainly populated with asset instances instantiated from the [[Asset Library]]. Assets own meshes.
  
A [[material]] is a set of textures with defined roles (such as diffuse, normal/specular and macro) and associated properties. A material instance a unique combination of material properties which can be applied to one or more asset instances.
+
A mesh is a single set of geometry, and a reference to the material which it uses.  There may be multiple meshes in a model -- for example, a barrel of apples may consist of a mesh for the wooden barrel and a mesh for the pile of apples.
  
Areas are mainly populated with asset instances instantiated from the [[Asset Library]]. Each asset instance is owned by one or more rooms (which are persisted in the server [[GOM]] and in DAT files) and [[Prop buckets]] (not persisted and do not exist in the server [[GOM]]. Prop buckets are added and removed through script.) Material Instance Properties can be customized using the [[Material Instance Properties]] panel.
+
A [[material]] is a set of textures with defined roles (such as diffuse, normal/specular and macro) and associated properties. A material instance a unique combination of material properties which can be applied to one or more asset meshes. Material Instance Properties can be customized using the [[Material Instance Properties]] panel.
  
 
== Serialization Format ==
 
== Serialization Format ==

Revision as of 18:59, 2 November 2012

Contents

Overview

An asset is a template from which things in the game world are made. An asset instance is an object with a unique ID number, created from an asset. Areas are mainly populated with asset instances instantiated from the Asset Library. Assets own meshes.

A mesh is a single set of geometry, and a reference to the material which it uses. There may be multiple meshes in a model -- for example, a barrel of apples may consist of a mesh for the wooden barrel and a mesh for the pile of apples.

A material is a set of textures with defined roles (such as diffuse, normal/specular and macro) and associated properties. A material instance a unique combination of material properties which can be applied to one or more asset meshes. Material Instance Properties can be customized using the Material Instance Properties panel.

Serialization Format

Material Properties Dialogue

An Example

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox