Created: July 07, 2024
This tutorial shows how to create prefabs for each vector generator (Building, Grass, Trees....etc), Take an example by creating a Tree prefab.
Important:
Building, Trees, Grass, Water and LandParcel are loaded from the vector of type 2D/3D Polygon, Roads from the vector of type 2D/3D line, and GeoPoints from 2D points.
To start, click on "GIS Terrain Loader/Create Vector Prefab/Tree " from the menu.
All existing or created prefabs can be found in "Resources/Prefabs/Environment" folder.
New vector prefab appears in the Trees folder. We can now edit prefab parameters. First, we have to rename it and link it to an attribute that can be loaded from a vector file.
In This case: 'Tree Type' means the tag or the attribute value related to the vector data.
We can play with the scale, density and tree models for each vector prefab.
Using vector prefab for each vector attribute makes your scene more realistic.