This shows you the differences between two versions of the page.
kclod [2018/10/16 12:44] |
kclod [2021/04/27 09:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Level of Detail ====== | ||
+ | |||
+ | "Level of detail" | ||
+ | |||
+ | Certain SpeedTree products include automatic, dynamic LOD generation. The LOD is " | ||
+ | |||
+ | > | ||
+ | |||
+ | ===== Previewing LOD ===== | ||
+ | {{:: | ||
+ | To turn on LOD for a tree, select the [[tree_generator|Tree Generator]] and tick the " | ||
+ | |||
+ | When you do this, an LOD control will appear in the bottom-left of the [[tooltree_window|Tree Window]], shown to the left. By default, the slider is in " | ||
+ | |||
+ | Clicking the " | ||
+ | |||
+ | ===== Global Settings ===== | ||
+ | During an LOD transition, parts of the tree will be removed intelligently to reduce complexity but keep the transition seamless. This is done by analyzing the tree to see which parts are hidden in the interior. A part that will be removed shrinks until it is invisible before the geometry is completely removed in the next LOD level. | ||
+ | |||
+ | For example, branches will shrink away to their spine before ultimately going away (see below). Leaves shrink away in a similar fashion, but other leaves also grow to maintain the tree's silhouette. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | To control how many parts are removed at a global level, use the [[kccurves# | ||
+ | |||
+ | ====Leaves==== | ||
+ | As previously mentioned, leaves not only shrink away but the leaves that stay will grow. You can control how much they grow with the "Grow Scale" property. | ||
+ | |||
+ | Often, leaves in the interior of the tree will be flagged for removal before those on the outside of the tree. This might result in the interior leaves being carved out, leaving just a shell around the tree. This may or may not be what you want. You can add some noisiness to this removal by adjusting the " | ||
+ | |||
+ | Using "Grow Scale" and " | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ | |||
+ | ===== Individual Settings ===== | ||
+ | |||
+ | In addition to the global settings, there are additional settings on each [[kcgenerators|Generator]] for dealing with LOD. With these, you can fine-tune LOD changes to be more seamless, or reduce complexity in a more aggressive manner in places that won't be seen. | ||
+ | |||
+ | The " | ||
+ | |||
+ | |||
+ | ==== Segments ==== | ||
+ | |||
+ | Branches and fronds can change their segments with LOD, reducing the complexity of the geometry even if it stays in the tree. This can be done explicitly for length or radial segments, or you can adjust the " | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ | > | ||
+ | |||
+ | |||
+ | |||
+ | ===== Mesh LOD ===== | ||
+ | On parts of the tree that can use a mesh (leaves, fronds, etc), you can switch out this mesh to lower quality versions as LOD changes. | ||
+ | |||
+ | Mesh LOD levels are set up in the [[toolmeshesbar|Mesh Asset Bar]]. As the LOD curve on the "Mesh Index" property decreases, the lower LOD meshes will be chosen to place in the tree. | ||
+ | |||
+ | Similar to segment reduction, mesh LOD can cause visible pops you need to be careful to avoid. This is especially so if you are using [[kcmesh_anchors|mesh anchors]] to place children. If the mesh anchors move with LOD, the tree might change drastically. | ||
+ | |||