This repository contains custom extensions for Vegetation Studio Pro. Feel free to use in your own projects.
-
Vegetation Studio Pro
https://assetstore.unity.com/packages/tools/terrain/vegetation-studio-pro-131835
-
Vegetation Studio Pro Extensions
- Install Vegetation Studio Pro
- Copy the contents of this repository to your Assets folder
Adding the VegetationMaskAreaExtension.cs
script to your Vegetation Mask Area will give you options to center the gameobject handle, grow the mask and shrink the mask.
Inspector:
Example:
Adding the BiomeMaskAreaExtension.cs
script to Biome Mask Area will give you options to center the gameobject handle, grow the mask and shrink the mask.
Inspector:
Example:
Custom menu in hierarchy for the creation of Biome and Vegetation Mask Area gameobjects. These will also add the VegetationMaskAreaExtension.cs
or BiomeMaskAreaExtension.cs
scripts:
Additional functions for Vegetation Mask Area and Biome Mask Area
-
Circle
Get the bounds of the mask and create a circular shape using the existing nodes
-
Hexagon
Get the bounds of the mask and create a Hexagon
-
Convex Hull
Get all the nodes of the mask and create a Convex Hull using the node positons
-
Subdivide
Adds new nodes between the existing nodes
-
Unsubdivide
Removes every second node
With the VegetationMaskLineExtension.cs
extension attached to a gameobject you can have a Vegetation Mask Line automatically generated. All you have to do is provide it a container (parent gameobject). The transforms of the children of this container will be used to create a Vegetation Mask Line.
Inspector, empty:
Inspector, container specified:
Example:
Custom Functions for use with Vegetation Studio Pro.
-
Runtime Spawn
Enable or Disable "run-time spawn" of all of the Vegetation Items of the selected Biome. Note: No Undo available!
Please backup your project if you use Biome Mask Spawner. It is in active development and bound to get non-backwards-compatible changes depending on requirements and feedback. A documentation will follow later, here's a quick overview video of what it can do:
Here are some of the features:
-
Create random Biome Masks in various shapes
- Voronoi
- Rectangular
- Hexagon
-
Random shape modifier allows to create randomly convex and concave masks
-
Multi-Tile-Terrain (naturally because Vegetation Studio Pro supports it)
-
Shape bounds variation
The bounds used for the shapes can be of the following:
-
Combined Terrains
Bounds of all terrains of your Vegetation System
-
Individual Terrains
All terrains of your Vegetation System are processed individually
-
Biome
Another Biome Mask Area defines the bounds in which the shapes are created
-
More procedural spawners like Lake creation will follow in a future update.
-
Lennart Johansen
For Vegetation Studio and Vegetation Studio Pro and his most awesome support
-
Bart - NatureManufacture
For his excellent AAA quality assets and his most awesome support
-
Rafael Kuebler
For his MIT-licensed implementation of Voronoi Diagram creation