This shows you the differences between two versions of the page.
mesh_generator [2018/09/17 11:10] |
mesh_generator [2021/04/27 09:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Mesh Generator====== | ||
+ | > | ||
+ | |||
+ | The Mesh generator is used to make mesh assets part of the model. | ||
+ | |||
+ | ===== Generation ===== | ||
+ | The Generation properties are described in full detail under [[generation_properties|Generation Properties]]. | ||
+ | |||
+ | ===== Mesh ===== | ||
+ | The properties in this group control which material/ | ||
+ | |||
+ | ==== Material ==== | ||
+ | Selects a material/ | ||
+ | |||
+ | == Material == | ||
+ | This property specifies a named material from the [[kcmaterialsassetsbar|Material Bar]]. If " | ||
+ | |||
+ | == Weight == | ||
+ | Sets probability that a node will receive this material (this weight รท sum of all weights). | ||
+ | |||
+ | == Use actual size == | ||
+ | When enabled, the mesh will be the same size as it was in its original file. Otherwise, the size of the mesh will be unitized (i.e., fit in a unit box). | ||
+ | |||
+ | == Scale == | ||
+ | Scales the size of the mesh. | ||
+ | |||
+ | == + % of parent == | ||
+ | This value is multiplied by the size of the parent node and added to the size of the mesh. Use this value when combining meshes procedurally to ensure that meshes further down the hierarchy gradually decrease in size. | ||
+ | |||
+ | ==== Orientation ==== | ||
+ | Use these properties to rotate the mesh after it has been oriented relative to its parent. | ||
+ | |||
+ | === Rotate === | ||
+ | Rotations happen in the order they are listed here. | ||
+ | |||
+ | == X == | ||
+ | Rotate around the X axis (1.0 equals a complete rotation). | ||
+ | |||
+ | == Y == | ||
+ | Rotate around the Y axis (1.0 equals a complete rotation). | ||
+ | |||
+ | == Z == | ||
+ | Rotate around the Z axis (1.0 equals a complete rotation). | ||
+ | |||
+ | ==== Deformation ==== | ||
+ | If a Mesh generator is added as a child of a Branch generator, the Branch generator will deform the mesh. Use the properties in this group to control how far along the branch the mesh is placed. | ||
+ | |||
+ | > | ||
+ | |||
+ | ==Lock to parent== | ||
+ | When enabled, meshes will make themselves exactly as long as the branch they are placed on. When disabled, the size properties in the mesh group control the size of the mesh. | ||
+ | |||
+ | ===Start=== | ||
+ | Use these properties to specify the anchor point along the parent spine. | ||
+ | |||
+ | ==Absolute== | ||
+ | The mesh will be anchored this fixed distance along its parent' | ||
+ | |||
+ | ==+ % of parent== | ||
+ | This percentage of its parent' | ||
+ | |||
+ | ===== Lightmap ===== | ||
+ | The property in this group affects the influence meshes in this generator have on the lightmap. | ||
+ | |||
+ | > | ||
+ | |||
+ | ==Weight== | ||
+ | Use this property to increase or decrease the importance of this generator' |