Skip to content

Commit 8eff58f

Browse files
committed
[UPDATE] **Labs Biome Plant Scatter (Alpha) SOP** has improved collision between plants. New parameters: Tree Overlap Allowance, Shrub Overlap Allowance, and Keep Plants by Greatest Age or Random. **Labs Biome Plant Define (Alpha) SOP** and **Labs Biome Plant Definitions File (Alpha) SOP** have added trunk radius so shrubs can spawn under trees without intersecting tree trunks.
1 parent e1af59f commit 8eff58f

File tree

20 files changed

+12259
-9409
lines changed

20 files changed

+12259
-9409
lines changed

help/nodes/sop/labs--biome_plant_define-1.0.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,14 @@ Type:
6060
#id: type
6161
Select the plant's type. If a plant's type is __Shrub__, it will be permitted to spawn beneath nearby plants with a plant type of __Tree__. In this case, the nearby __Tree__ spacing __Radii__ are ignored by __Shrubs__.
6262

63-
Radius:
63+
Bounds Radius:
6464
#id: radius
6565
Minimum radius needed for this plant to grow.
6666

67+
Trunk Radius:
68+
#id: radius
69+
Shrubs may not spawn within this radius.
70+
6771
Density:
6872
#id: densitymax
6973
The density of the plant when its viability is at its highest.

help/nodes/sop/labs--biome_plant_definitions_file-1.0.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,13 @@ Type:
9090
#id: type
9191
Label of the plant's type.
9292

93-
Radius:
93+
Bounds Radius:
9494
#id: radius
95-
Label of the plant's radius.
95+
Label of the plant's bounds radius.
96+
97+
Trunk Radius:
98+
#id: trunkradius
99+
Label of the plant's trunk radius.
96100

97101
Density:
98102
#id: densitymax

help/nodes/sop/labs--biome_plant_scatter-1.0.txt

+12
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,18 @@ This node scatters plant species points defined by multiple _Labs Biome Plant De
6868
Random Seed:
6969
#id: seed
7070
The random number seed used to scatter points.
71+
Tree Overlap Allowance:
72+
#id: treeoverlapallowance
73+
The distance in meters that trees are allowed to overlap each other. If the overlap distance of two tree bounds radii is greater than this value, they are considered intersecting and one of the trees is removed from the scatter.
74+
Shrub Overlap Allowance:
75+
#id: shruboverlapallowance
76+
The distance in meters that shrubs are allowed to overlap each other. If the overlap distance of two shrub bounds radii is greater than this value, they are considered intersecting and one of the shrubs is removed from the scatter.
77+
Keep Plants by:
78+
#id: keepplantsby
79+
Method used to determine which intersecting plant is kept and which is culled.
80+
<p>__Greatest Age__: Method for keeping points with the greatest age.</p>
81+
<p>__Greatest Viability__: Method for keeping points with the greatest viability.</p>
82+
<p>__Random__: Method for keeping points randomly.</p>
7183

7284
=== Culling ===
7385

Binary file not shown.

otls/biome_plant_define.1.0.hda/INDEX__SECTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ Inputs: 0 to 1
1010
Subnet: true
1111
Python: false
1212
Empty: false
13-
Modified: Thu Dec 5 09:39:09 2024
13+
Modified: Wed Dec 11 16:06:49 2024
1414

otls/biome_plant_define.1.0.hda/labs_8_8Sop_1biome__plant__define_8_81.0/Contents.dir/Contents.mime

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Content-Type: text/plain
3232

3333
sopflags sopflags =
3434
comment ""
35-
position -60.0292 76.8696
35+
position -51.7936 77.878
3636
connectornextid 2
3737
flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault off exposed on
3838
outputsNamed3
@@ -41,11 +41,11 @@ outputsNamed3
4141
}
4242
inputsNamed3
4343
{
44-
1 Birch 0 1 "input1"
44+
1 Birch1 0 1 "input1"
4545
}
4646
inputs
4747
{
48-
0 Birch 0 1
48+
0 Birch1 0 1
4949
}
5050
stat
5151
{

otls/biome_plant_define.1.0.hda/labs_8_8Sop_1biome__plant__define_8_81.0/Contents.dir/Contents.modtimes

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"hdaroot/get_raw_string_for_relative_file_path.def":1733413109,
33
"hdaroot/vector_into_float.def":1731950804,
44
"hdaroot/output0.def":1733331849,
5-
"hdaroot.def":1733412576,
5+
"hdaroot.def":1733954737,
66
"hdaroot/missing_or_invalid_mesh_msg.def":1731950804,
77
"hdaroot/merge_with_previous_plant.def":1733330871,
88
"hdaroot/attribdelete2.def":1731950804,

otls/biome_plant_define.1.0.hda/labs_8_8Sop_1biome__plant__define_8_81.0/DialogScript

+9-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,15 @@
131131
}
132132
parm {
133133
name "radius"
134-
label "Radius"
134+
label "Bounds Radius"
135+
type float
136+
default { "1" }
137+
range { 0.0001! 20 }
138+
parmtag { "script_callback_language" "python" }
139+
}
140+
parm {
141+
name "trunkradius"
142+
label "Trunk Radius"
135143
type float
136144
default { "1" }
137145
range { 0.0001! 20 }

otls/biome_plant_definitions_file.1.0.hda/INDEX__SECTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ Inputs: 0 to 1
1010
Subnet: true
1111
Python: false
1212
Empty: false
13-
Modified: Wed Dec 4 13:31:13 2024
13+
Modified: Mon Jan 13 14:27:18 2025
1414

otls/biome_plant_definitions_file.1.0.hda/labs_8_8Sop_1biome__plant__definitions__file_8_81.0/Contents.dir/Contents.createtimes

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,23 @@
33
"hdaroot/file_bgeo.def":1721325368,
44
"hdaroot/if_nodes.def":1723649795,
55
"hdaroot/error_same_plant_name.def":1721137580,
6+
"hdaroot/point_create/Pricklypear.def":1736796383,
67
"hdaroot/if_read_geo.def":1721326800,
7-
"hdaroot.def":1729108551,
8+
"hdaroot.def":1736796174,
89
"hdaroot/point_create/IN.def":1723236073,
910
"hdaroot/point_create/output0.def":1723236081,
1011
"hdaroot/if_read.def":1721326823,
12+
"hdaroot/point_create/Shrub.def":1736796383,
1113
"hdaroot/point_create.def":1721659378,
1214
"hdaroot/blast1.def":1721664019,
1315
"hdaroot/bgeo_export.def":1721656691,
16+
"hdaroot/point_create/Birch.def":1736796383,
17+
"hdaroot/point_create/Saguaro.def":1736796383,
1418
"hdaroot/null2.def":1723649804,
1519
"hdaroot/get_geo.def":1723658508,
1620
"hdaroot/output0.def":1681162951,
1721
"hdaroot/if_read_json_as_node.def":1721326800,
22+
"hdaroot/point_create/Pine.def":1736796383,
1823
"hdaroot/remove_absfilemesh4.def":1721924729,
1924
"hdaroot/OUT_bgeo.def":1733340393
2025
}

0 commit comments

Comments
 (0)