This shows you the differences between two versions of the page.
batched_leaf_generator [2017/09/15 12:32] |
batched_leaf_generator [2021/04/27 09:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Batched Leaf Generator ====== | ||
+ | {{:: | ||
+ | |||
+ | The Batched Leaf generator creates leaves in almost exactly the same manner as [[leaf_mesh_generator|Leaf Mesh]] generators with one major exception: the results cannot be node edited. | ||
+ | |||
+ | > | ||
+ | |||
+ | ===== Generation ===== | ||
+ | The [[generation_properties|properties]] in this group control how many leaves are generated and where they are placed. | ||
+ | |||
+ | ===== Forces ===== | ||
+ | This properties in this group control how forces affect the nodes created by this generator. | ||
+ | |||
+ | == Allow Forces == | ||
+ | When enabled, all forces that are checked will act on the generator. | ||
+ | |||
+ | == Forces == | ||
+ | Each [[forces|force]] in the scene has an entry here. Check the box next to the name to enable the force for this generator. | ||
+ | |||
+ | > | ||
+ | |||
+ | ===== Random Seeds ===== | ||
+ | Properties that have [[variance_editor|variance]] are given random values based on a seed value in this group. | ||
+ | |||
+ | == Randomize All == | ||
+ | Randomizes the value for all seeds used to compute this generator. | ||
+ | |||
+ | ===== Leaves ===== | ||
+ | The properties in this group control the type, size, and initial placement of the leaf nodes. | ||
+ | |||
+ | == Size == | ||
+ | This property sets the size of the leaf nodes. | ||
+ | |||
+ | == Use Actual Size == | ||
+ | When enabled, the size parameter is ignored and the mesh is used at exactly the size at which it was modeled. | ||
+ | |||
+ | == Flip == | ||
+ | When enabled, randomly selected leaf nodes are flipped over the Y axis. | ||
+ | |||
+ | == Weld == | ||
+ | When enabled, leaves will be placed directly on the skin of their parent (as opposed to being anchored on their spine). | ||
+ | |||
+ | == Cross == | ||
+ | When enabled, leaves are rotated so that they are perpendicular to the original leaf placement. This is a short cut for creating crossed, intersecting meshes that have the same position. | ||
+ | |||
+ | == Fix Winding == | ||
+ | When enabled, the face winding of the polygons in the final mesh is adjusted to match the direction of the surface normals. | ||
+ | |||
+ | ==== Type ==== | ||
+ | The properties in this group specify the materials and meshes for the leaf. Meshes must be assigned to the material on the [[materials_assets_bar|Material Bar]] to be used on the leaf. Materials are chosen based on their weights and [[seasons|season]] settings. | ||
+ | |||
+ | == Material == | ||
+ | This property specifies a named material from the [[materials_assets_bar|Material Bar]]. If " | ||
+ | |||
+ | == Weight == | ||
+ | Sets the probability that a node will receive this material index (this weight ÷ sum of all weights). | ||
+ | |||
+ | ==== Resolution ==== | ||
+ | The properties in this group influence the resolution of the mesh. | ||
+ | |||
+ | == Size Increase % == | ||
+ | This curve controls the increase in size of the leaf nodes as the [[resolution|resolution]] changes. | ||
+ | |||
+ | == Mesh LOD == | ||
+ | This curve sets which mesh version (High, Medium or Low) is used based on the active resolution. It is often desirable to use lower quality meshes at lower resolutions. | ||
+ | |||
+ | == Mesh LOD offset == | ||
+ | When set to a value other than ' | ||
+ | |||
+ | > | ||
+ | |||
+ | ===== Local Orientation ===== | ||
+ | The properties in this group are the first stage of orienting the leaf. The orientation actions are performed in the order in which the properties are listed. | ||
+ | |||
+ | == Unification == | ||
+ | Uses the anchor to orient itself " | ||
+ | |||
+ | ^Global|The anchor point is located where the node's highest ancestor hits the ground.| | ||
+ | ^Deep|The anchor point is the base of a node very near (and sometimes exactly on) the root of the node's ancestors.| | ||
+ | ^Intermediate|The anchor point is somewhere in the middle of the node's ancestors.| | ||
+ | ^Local|The anchor point is very near where the node is attached.| | ||
+ | ^None|No anchor point is computed, and no unification is done.| | ||
+ | |||
+ | == Sky Influence == | ||
+ | Controls how much the leaves point toward the sky. Higher numbers result in the Z axis of each mesh pointing straight up. | ||
+ | |||
+ | == Fold == | ||
+ | Rotates leaves up or down around the parent' | ||
+ | |||
+ | == Align == | ||
+ | Rotates the tip of the leaves toward or away from the parent' | ||
+ | |||
+ | == Face == | ||
+ | Spins leaves around their " | ||
+ | |||
+ | > | ||
+ | |||
+ | ===== Sensitivity ===== | ||
+ | The properties in this group control the second stage of leaf orientation. | ||
+ | |||
+ | ==== Parent ==== | ||
+ | Parent sensitivity refers to orienting the leaf based on where it is positioned relative to its ancestors. | ||
+ | |||
+ | == Amount == | ||
+ | Determines the amount that the bottom of the leaf is turned to face the point set by Anchor. | ||
+ | |||
+ | ==Anchor== | ||
+ | This property picks a spot on one of the leaf's ancestors, depending on which of the following options is selected: | ||
+ | |||
+ | ^Global|The anchor point is located where the node's highest ancestor hits the ground.| | ||
+ | ^Deep|The anchor point is the base of a node very near (and sometimes exactly on) the root of the node's ancestors.| | ||
+ | ^Intermediate|The anchor point is somewhere in the middle of the node's ancestors.| | ||
+ | ^Local|The anchor point is very near where the node is attached.| | ||
+ | ^None|No anchor point is computed, and no parent sensitivity is added.| | ||
+ | |||
+ | ==Sky== | ||
+ | Rotates the mesh around its central axis to get its Z axis as close to up as it can. Think of it as the leaves rotating around their stem to face the light. | ||
+ | |||
+ | ===== Final Adjustments ===== | ||
+ | These edits are applied to the leaf meshes as a group, after Local Orientation and Sensitivity are computed. | ||
+ | |||
+ | == Up == | ||
+ | Rotates each mesh around its local X axis. | ||
+ | |||
+ | == Right == | ||
+ | Rotates each mesh around its local Y axis. | ||
+ | |||
+ | == Out == | ||
+ | Rotates each mesh around its local Z axis. | ||
+ | |||
+ | ===== Deformation ===== | ||
+ | The properties in this group alter the shape of the the leaf mesh. It is important to remember that these properties work best when there are enough vertices in the mesh to reveal the changes. | ||
+ | |||
+ | > | ||
+ | |||
+ | ==Fold== | ||
+ | Folds both sides of the leaf, lengthwise, along the Y axis of the mesh. A negative value bends down, while a positive value bends up. | ||
+ | |||
+ | ==Curl== | ||
+ | Curls the leaf around the mesh's X axis. | ||
+ | |||
+ | ==Twist== | ||
+ | Twists the leaf around the mesh's Y axis. The farther away a vertex is from the X axis, the more it is rotated. | ||
+ | |||
+ | ==== Vertex ==== | ||
+ | The properties in this group perform a noise-based deformation of each vertex in the mesh. | ||
+ | |||
+ | == Amount == | ||
+ | This property controls the amount of noise applied to each vertex. | ||
+ | |||
+ | == Noise == | ||
+ | This value controls the tightness of the noise pattern. Higher values result in more localized deformations. | ||
+ | |||
+ | == Seed == | ||
+ | Vary this parameter to randomize the noise pattern. | ||
+ | |||
+ | ====Scale==== | ||
+ | The properties in this group scale the mesh. The scale is performed in each leaf's local orientation. | ||
+ | |||
+ | ==X== | ||
+ | Scales the mesh by this amount in the X axis. | ||
+ | |||
+ | ==Y== | ||
+ | Scales the mesh by this amount in the Y axis. | ||
+ | |||
+ | ==Z== | ||
+ | Scales the mesh by this amount in the Z axis. | ||
+ | |||
+ | ===== Lighting ===== | ||
+ | The properties in this group modify the vertex normals to change the lighting behavior of the mesh. | ||
+ | |||
+ | > | ||
+ | |||
+ | ==== Parent Puffiness ==== | ||
+ | == Amount == | ||
+ | Value scale that controls how much the normals on each individual leaf should face " | ||
+ | |||
+ | > | ||
+ | |||
+ | ==Anchor== | ||
+ | This property picks a spot on one of the leaf's ancestors according to the following options. | ||
+ | |||
+ | ^Global|The anchor point is located where the node's highest ancestor hits the ground.| | ||
+ | ^Deep|The anchor point is the base of a node very near (and sometimes exactly on) the root of the node's ancestors.| | ||
+ | ^Intermediate|The anchor point is somewhere in the middle of the node's ancestors.| | ||
+ | ^Local|The anchor point is very near where the node is attached.| | ||
+ | ^None|No anchor point is computed, and no parent puffiness is added.| | ||
+ | |||
+ | == Puffiness == | ||
+ | After all normal adjustments have been performed, this value “sphere-izes” the normals around the center of the mesh, making the geometry have a more puffy appearance. | ||
+ | |||
+ | ==Unify== | ||
+ | This property causes all vertex normals to point in the average direction of all of the vertex normals. | ||
+ | |||
+ | ==== Adjustments ==== | ||
+ | The properties in this group rotate the normals of each leaf without rotating the geometry. | ||
+ | |||
+ | > | ||
+ | |||
+ | == Up == | ||
+ | This property rotates vertex normals around the local X axis. | ||
+ | |||
+ | == Right == | ||
+ | This property rotates vertex normals around the local Y axis. | ||
+ | |||
+ | == Out == | ||
+ | This property rotates vertex normals around the local Z axis. | ||
+ | |||
+ | ===== Wind ===== | ||
+ | The properties in this group influence how leaves are animated in wind simulations. | ||
+ | |||
+ | ==Scalar== | ||
+ | Use this property to scale how much the leaf moves during wind simulations. | ||
+ | |||
+ | > | ||
+ | |||
+ | ==Group== | ||
+ | In many wind styles, multiple wind groups are available. | ||
+ | |||
+ | ==Seed== | ||
+ | Vary this parameter to randomize wind characteristics. | ||
+ | |||
+ | ===== Season ===== | ||
+ | The properties in this group control how leaves transition in the [[seasons|Seasons]] system. | ||
+ | |||
+ | == Start offset == | ||
+ | Leaf transitions are determined by looking up season curves based on the position of the season slider. | ||
+ | |||
+ | == Time scale == | ||
+ | Scales how fast time passes relative to a single leaf. Higher values make leaves transition faster. | ||
+ | |||
+ | == Drop time == | ||
+ | Controls how long the leaf will remain attached. | ||
+ | |||
+ | == Droop == | ||
+ | Use this value to make leaves droop as they transition. | ||
+ | |||
+ | == Curl == | ||
+ | Use this value to make leaves curl as they transition. | ||
+ | |||
+ | == Fold == | ||
+ | Use this value to make leaves fold as they transition. | ||
+ | |||
+ | ==== Fallen ==== | ||
+ | When "Show Dropped Leaves" | ||
+ | |||
+ | == Ground Duration == | ||
+ | Sets the amount of time the leaves stay on the ground before disappearing. | ||
+ | |||
+ | == Spread == | ||
+ | This value controls how far from the point directly under the tree the leaf may travel before hitting the ground. | ||
+ | |||
+ | == Flatten == | ||
+ | Sets the amount of deformation removal (" | ||
+ | |||
+ | == Jumble == | ||
+ | Randomizes the orientations of leaves on the ground. | ||
+ | |||
+ | == Slope limit == | ||
+ | If you have a force mesh applied to the leaf generator, fallen leaves will adhere to it instead of the ground. | ||
+ | |||
+ | ===== Collision ===== | ||
+ | The properties in this group influence how leaves in this generator interact with the [[collision|Collision]] system. | ||
+ | |||
+ | == Style == | ||
+ | Use this property to set how the leaves behave during collision computations with the the following options: | ||
+ | |||
+ | ^Everything | Leaves in this generator collide with each other and all other leaves.| | ||
+ | ^Ignore Siblings | Leaves in this generator ignore siblings but collide with everything else.| | ||
+ | ^Knock out others only | Leaves in this generator cannot be removed, but they can eliminate leaves in other generators.| | ||
+ | ^Nothing |These leaves do not participate in collision computations.| | ||
+ | |||
+ | == Take parent == | ||
+ | When enabled, if a leaf in this generator is removed, its parent is also removed. | ||
+ | |||
+ | == Weight == | ||
+ | When leaves collide, the one with the higher weight wins. Use this property to set the weight. | ||
+ | |||
+ | == Pivot Threshold == | ||
+ | This property sets how far away from pivot (as a percentage of size) a collision has to happen in order to count. | ||
+ | |||
+ | == Sphere Threshold == | ||
+ | When using spherical leaf collision tests, this value scales the size of the spheres used during the test. Spheres are initially sized based on leaf size. | ||
+ | |||
+ | ===== Vertex Color ===== | ||
+ | The properties in this group control how vertex colors are computed. | ||
+ | |||
+ | > | ||
+ | |||
+ | ====Red==== | ||
+ | The properties in this group control how the red component of the color is computed. | ||
+ | |||
+ | ==Style== | ||
+ | This property controls how the red portion of the color is computed from the following options: | ||
+ | |||
+ | ^Set | Sets the color directly using the " | ||
+ | ^Offset from parent | The " | ||
+ | |||
+ | ==Value== | ||
+ | This property adds to, subtracts from, or directly sets this color component. | ||
+ | |||
+ | ====Green==== | ||
+ | The properties in this group control how the red component of the color is computed. | ||
+ | |||
+ | ==Style== | ||
+ | This property controls how the red portion of the color is computed from the following options: | ||
+ | |||
+ | ^Set | Sets the color directly using the " | ||
+ | ^Offset from parent | The " | ||
+ | |||
+ | ==Value== | ||
+ | This property adds to, subtracts from, or directly sets this color component. | ||
+ | |||
+ | ====Blue==== | ||
+ | The properties in this group control how the red component of the color is computed. | ||
+ | |||
+ | ==Style== | ||
+ | This property controls how the red portion of the color is computed from the following options: | ||
+ | |||
+ | ^Set | Sets the color directly using the " | ||
+ | ^Offset from parent | The " | ||
+ | |||
+ | ==Value== | ||
+ | This property adds to, subtracts from, or directly sets this color component. | ||
+ | |||
+ | ====Mesh Asset==== | ||
+ | The properties in this group control how vertex colors stored in the [[meshes|mesh asset]] are combined with the computed vertex colors. | ||
+ | |||
+ | ==Style== | ||
+ | This property controls how mesh asset vertex colors are used from the following options: | ||
+ | |||
+ | ^Interpolate | The " | ||
+ | ^Add | The " | ||
+ | |||
+ | ==Contribution== | ||
+ | This value sets how much influence the mesh asset vertex color has on the final vertex color. | ||
+ | |||
+ | |||
+ | ===== Lightmap ===== | ||
+ | The property in this group affects the influence leaves in this generator have on the [[lightmap|Lightmap]]. | ||
+ | |||
+ | > | ||
+ | |||
+ | ==Weight== | ||
+ | Use this property to increase or decrease the importance of the leaves in the lightmap of this generator – in relation to the lightmap weight of all other objects – before lightmap packing is determined. Note that your Weight value may not be honored exactly or may get so large as to exhibit unexpected results. Use “Tools→Reset lightmap scalars” to go back to default values for the whole model. | ||