User Tools

Site Tools


z:entityparameter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
z:entityparameter [2008/10/23 14:20]
jjp
z:entityparameter [2015/08/23 13:59] (current)
Line 108: Line 108:
   * missile exit time - Zeitpunkt in der Schussanimation an dem das Geschoss austritt.   * missile exit time - Zeitpunkt in der Schussanimation an dem das Geschoss austritt.
   * //list of// allowed target types   * //list of// allowed target types
- 
  
 ===== Renderable ===== ===== Renderable =====
  
-  * //list of trees of// renderable nodes +  * //tree of// renderable nodes 
-  * //mapping between// renderable node trees and renderable states+  * //list of// states
  
 ==== Renderable Node ==== ==== Renderable Node ====
  
-  * internal name - Zur besseren Übersicht ein Name der (nur) im Parameter/Objekt-Editor sichtbar ist. 
   * position   * position
   * orientation   * orientation
   * scale   * scale
-  * //mapping between// animation states and mesh animations 
-  * //mapping between// renderable parameters and shader parameters 
-  * //mapping between// renderable parameters and effect states 
-  * mesh, material, textures, effect 
   * role - Welche logische Komponente wird durch die Node repräsentiert?   * role - Welche logische Komponente wird durch die Node repräsentiert?
-  +  * either mesh or particle effect 
 + 
 +=== Mesh === 
 +  * //mapping between// renderable parameters and shader parameters 
 +  * mesh 
 +  * material  
 +  * colour/alpha map 
 +  * normal/specular map 
 +  * tint map 
 +  * additional map 1 
 +  * additional map 2  
 + 
 +=== Particle Effect ===   
 +  * particle effect 
 +  * material  
 +  * map 1 
 +  * map 2 
 +  * map 3 
 +  * //mapping between// animation states and effect states 
 + 
 + 
 +==== State ==== 
 + 
 +  * //list of// renderable node overrides 
 + 
 +=== Renderable Node Override === 
 + 
 +  * either mesh override or particle effect override 
 + 
 +== Mesh Override == 
 + 
 +  * //mapping between// animation states and mesh animations 
 +  * material  
 +  * colour/alpha map 
 +  * normal/specular map 
 +  * tint map 
 +  * additional map 1 
 +  * additional map 2  
 + 
 +== Particle Effect Override == 
 + 
 +  * material  
 +  * map 1 
 +  * map 2 
 +  * map 3 
 +  * //mapping between// animation states and effect states
  
 ===== Beispiel ===== ===== Beispiel =====
Line 215: Line 254:
       Node root       Node root
       {       {
-        name = "rootNode" (string) 
         position = (0.0, 0.0, 0.0) (vector3)         position = (0.0, 0.0, 0.0) (vector3)
         scale = (1.0, 1.0, 1.0) (vector3)         scale = (1.0, 1.0, 1.0) (vector3)
         orientation = (1.0, 0.0, 0.0, 0.0) (vector3)         orientation = (1.0, 0.0, 0.0, 0.0) (vector3)
-        meshName = "test.mesh" (string) 
-        materialName = "object_material" (string) 
-        colourMapName = "test_colour.dds" (string) 
-        normalSpecMapName = "test_normal.dds" (string) 
-        tintMapName = "test_tint.dds" (string) 
-        envMapName = "test_env.dds" (string) 
         role = "none" (string)         role = "none" (string)
-        boneMapping = (("bone1", "hatch")) (list of string-pairs) +        Mesh mesh 
-        animMapping = (("move_anim1", "move"), ("move_anim2", "move"), ("idle_anim1", "idle")) (list of string-pairs) +        { 
-        paramMapping = (("playerColour", "tintColour"), ("chainMovement", "chainMove")) (list of string-pairs) +          meshName = "test.mesh" (string) 
 +          materialName = "object_material" (string) 
 +          colourMapName = "test_colour.dds" (string) 
 +          normalSpecMapName = "test_normal.dds" (string) 
 +          tintMapName = "test_tint.dds" (string) 
 +          envMapName = "test_env.dds" (string) 
 +          boneMapping = (("bone1", "hatch")) (list of string-pairs) 
 +          animMapping = (("move_anim1", "move"), ("move_anim2", "move"), ("idle_anim1", "idle")) (list of string-pairs) 
 +          paramMapping = (("playerColour", "tintColour"), ("chainMovement", "chainMove")) (list of string-pairs)  
 +        }
         Node driver         Node driver
         {         {
-          name "driverNode" +          position (0.0, 0.0, 0.0)  
-          position = (1.0, 1.0, 0.0)+          scale = (1.0, 1.0, 1.0)  
 +          orientation = (1.0, 0.0, 0.0, 0.0)
           role = "driverAnchor"           role = "driverAnchor"
         }         }
Line 244: Line 286:
       NodeOverwrite root       NodeOverwrite root
       {       {
-        nodeName = "root" (string) 
         position = (0.0, 0.0, 0.0) (vector3)         position = (0.0, 0.0, 0.0) (vector3)
         scale = (1.0, 1.0, 1.0) (vector3)         scale = (1.0, 1.0, 1.0) (vector3)
         orientation = (1.0, 0.0, 0.0, 0.0) (vector3)         orientation = (1.0, 0.0, 0.0, 0.0) (vector3)
-        meshName = "test.mesh" (string) 
-        materialName = "object_damaged_material" (string) 
-        colourMapName = "test_damaged_colour.dds" (string) 
-        normalSpecMapName = "test_damaged_normal.dds" (string) 
-        tintMapName = "test_damaged_tint.dds" (string) 
-        envMapName = "test_damaged_env.dds" (string) 
         role = "none" (string)         role = "none" (string)
-        boneMapping = (("bone1", "hatch")) (list of string-pairs) +        MeshOverwrite 
-        animMapping = (("move_anim1", "move"), ("move_anim2", "move"), ("idle_anim1", "idle")) (list of string-pairs) +        { 
-        paramMapping = (("playerColour", "tintColour"), ("chainMovement", "chainMove")) (list of string-pairs) +          materialName = "object_damaged_material" (string) 
 +          colourMapName = "test_damaged_colour.dds" (string) 
 +          normalSpecMapName = "test_damaged_normal.dds" (string) 
 +          tintMapName = "test_damaged_tint.dds" (string) 
 +          envMapName = "test_damaged_env.dds" (string) 
 +          boneMapping = (("bone1", "hatch")) (list of string-pairs) 
 +          animMapping = (("move_anim1", "move"), ("move_anim2", "move"), ("idle_anim1", "idle")) (list of string-pairs) 
 +          paramMapping = (("playerColour", "tintColour"), ("chainMovement", "chainMove")) (list of string-pairs)  
 +        }
       }       }
     }     }
z/entityparameter.1224764402.txt.gz · Last modified: 2015/08/23 14:03 (external edit)