Importing and Creating Drillholes
NEEDS UPDATE
This guide explains how to import soil sample data into Unity.
Creating Soil Samples from data
There are currenlty two different ways to create soil samples.
1. Using the automation website (Best way)
2. Using the blender script
- Donwload the blender script from the repo.
Importing the Soil Samples into Unity
You will need the .fbx and the .json file for this to work.
- Import the soil samples and the json file into your project.
- Drag the fbx into the scene and unpack the file by right-clicking on it in the hierarchy and select Prefab and then Unpack Completely
- Go to Window > Coordinate Tools select the correct version.
- Geographich Coordinate Placer if you data is in lat/lon (This is the one you most likely will use)
- UTM Coordinate Converter if your data is not converted into lat/lon.
- Drag in the JSON file and Load and Extract Coordinates
- Select all the children of the soil samples gameobject, and then in the Geography Placer click the Place Objects at Coordinates.
- They will now appear under the Cesium Georeference, select them all again and right-click select Create Empty Parent.
- While they are still selected add a material called Stream Samples or Rock Chips depending on the type of data.
- Size all the children down to 0.01 on XYZ
- If the objects are under the ground use the Snap Objects to Cesium Ground tool found under Window
Adding color and legends to the soil samples
This works exaclty the same as the drillholes check out the docks here
Control What Value Is Shown
This works exaclty the same as the drillholes check out the docks here