Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
1.0.0:terrain [2023/02/23 16:43] – [Remarks] admin1.0.0:terrain [2023/02/23 16:47] (current) – [Configuration] admin
Line 46: Line 46:
 {{:1.0.0:g3d-ide-planting-2.jpg?nolink|}} {{:1.0.0:g3d-ide-planting-2.jpg?nolink|}}
  
-=== Remarks ===+=== Configuration ===
  
 The algorithm will create instances for all meshes inside the selected template / source model. The algorithm will create instances for all meshes inside the selected template / source model.
Line 57: Line 57:
 |Instance Scale | A basis scaling of each instance (will be multiplied with source scale if "Apply Source Transformation" is activated.| |Instance Scale | A basis scaling of each instance (will be multiplied with source scale if "Apply Source Transformation" is activated.|
 |Space | Adjustment between cell-center and source size. | |Space | Adjustment between cell-center and source size. |
-|Padding Increasing this value will compress cells for planting. Objects will be placed closer together.|+|Padding Increasing this value will compress cells for planting. Objects will be placed closer together.|
 |Random Y-Rotation | This is not suitable for all kind of source models. Depending on the internal transformation of submeshes. | |Random Y-Rotation | This is not suitable for all kind of source models. Depending on the internal transformation of submeshes. |
 |Random Scaling |This will randomly scale instances with limitations given by "Minimum Scale".| |Random Scaling |This will randomly scale instances with limitations given by "Minimum Scale".|
 |Apply Random Grid-Offset|Terrain is splitted into equal size grid cells. To produce a more realistic look, you can add some random offset to the cell-center.| |Apply Random Grid-Offset|Terrain is splitted into equal size grid cells. To produce a more realistic look, you can add some random offset to the cell-center.|
 |Apply Source Transformation|It will apply the transformation of the owner model. This is not suitable for all kind of models, depending on the internal transformation of submeshes.| |Apply Source Transformation|It will apply the transformation of the owner model. This is not suitable for all kind of models, depending on the internal transformation of submeshes.|
 +|Count |The number of instances that should be created. This should be adjusted to the GPU you are using and the outcome you expect.|
  
 +=== Source Models ===
  
 +The planting algorithm is straight forward and treats all submeshes inside the source model equaly on creating instances.
 +
 +Therefore it can produce unexpected results.
 +
 +The source model should contain a flat hierarchy without or less transformation of sub-meshes.
 +
 +__NOTICE:__ The applied instance transformation is absolute and not relative to the source model!
 ===== Runtime ===== ===== Runtime =====