Table of Contents

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.

  1. Import the soil samples and the json file into your project.
  2. 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
  3. 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.
  4. Drag in the JSON file and Load and Extract Coordinates
  5. Select all the children of the soil samples gameobject, and then in the Geography Placer click the Place Objects at Coordinates.
  6. They will now appear under the Cesium Georeference, select them all again and right-click select Create Empty Parent.
  7. While they are still selected add a material called Stream Samples or Rock Chips depending on the type of data.
  8. Size all the children down to 0.01 on XYZ
  9. 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