You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: course-building/course-meshes/exporting.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ nav_order: 2
6
6
7
7
# Exporting Meshes
8
8
9
-
To get your meshes from Meshery into Unity we'll export an OBJ file containing all your new meshes and then import that OBJ file into your Unity project. These meshes will sit just above or replace your terrain layer. Make sure you're using the latest [project template](/course-building/getting-started/#) and have the OpenGolfSim Developer Toolkit package, which should include a tool for importing and batch assigning base materials to your meshes.
9
+
To get your meshes from Meshery into Unity we'll export an OBJ file containing all your new meshes and then import that OBJ file into your Unity project. These meshes will sit just above or replace your terrain layer. Make sure you're using the latest [project template](/course-building/getting-started/#2-install-project-template) which should contain the latest **OpenGolfSim Developer Toolkit** package with scripts for importing your meshes and building your course.
Copy file name to clipboardExpand all lines: course-building/course-meshes/generate.md
+30-4Lines changed: 30 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,12 @@ nav_order: 1
14
14
15
15
## Import Files
16
16
17
-
1. Download and open the [Meshery](/utilities/course-meshery) tool.
17
+
1. Download and open the [Meshery](/tools/course-meshery) tool.
18
18
19
-
On Windows, you may get a warning from Microsoft Defender. Click **More info** and then select **Run anyways**
19
+
{: .note }
20
+
> On Windows, you may get a warning from Microsoft Defender. Click **More info** and then select **Run anyways**
20
21
21
-
2. Click the **Import RAW Terrain**{: .label } button and locate the raw terrain data file you created in the [Course Terrain](/course-building/course-map) step.
22
+
2. Click the **Import RAW Terrain**{: .label } button and locate the raw terrain data file you created in the [Course Terrain](/course-building/course-terrain) step.
22
23
23
24
3. Click the **Import SVG**{: .label } button and locate the SVG file you created in the [Course Map](/course-building/course-map) step.
24
25
@@ -34,11 +35,36 @@ nav_order: 1
34
35
35
36
5. In Meshery you can optionally set a **Terrain Smoothing**{: .label } value for you terrain, to smooth out any rough / bumpy terrain. For more fine grained control, consider editing and smoothing your terrain in Unity and exporting a new RAW file for Meshery.
36
37
38
+
## Surface Settings
37
39
38
-
## Digging
40
+
### Triangle Spacing
41
+
42
+
The **Base Tri Spacing** setting adjusts the distribution of triangles across the mesh surface. This value sets the target spacing for the underlying grid sampling; lower values create a denser, higher-resolution grid, while higher values result in a sparse, lower-poly mesh. Use higher values for large-scale or base meshes to maintain efficiency, and lower values for smaller meshes like greens where you want a higher degree of slope accuracy.
43
+
44
+
### Digging
39
45
40
46
You can adjust the dig settings at the time of import, or on individual shapes after import. By default Meshery will dig bunkers, rivers, and lake beds a bit lower than your terrain, to ensure they have some depth to them.
How deep to dig down from the existing terrain data.
53
+
54
+
**Dig Distance**
55
+
56
+
The distance of the transition of the dig from the edge.
57
+
42
58
## Vertex Painting
43
59
44
60
For more advanced users, you can enable vertex shading / blending. Which will add blue or red vertex colors to the inner or outer edges of a shape. This will let you use custom material blending. Note: this still a relatively new feature, so experiment with caution!
Blending is an advanced feature to daw red or blue vertex shading to the inner and outer edges of the mesh. Outer edges will be red, while inner edges will be shaded blue.
65
+
66
+
**Blend Tri Spacing**
67
+
The triangle grid size within the blended edge. You may want to add extra triangle density around the edges, to have more control over vertex shading.
68
+
69
+
**Blend Distance**
70
+
How far from the edge to fill with vertex shading.
Copy file name to clipboardExpand all lines: course-building/course-terrain/fictional.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ You can create a completely fictional course terrain by creating blank terrain o
13
13
14
14
2. Set the terrain size to the size of your course in meters. For example, if you want to create a course that fits within 1 square kilometer, you would use a terrain size of `1000` by `1000` (meters).
15
15
16
-
3. At this point you could start to create your [Course Map](/course-building/course-map) and layout a few holes of your course. From Inkscape, you can export a high resolution (8192x8192) PNG file. You can then import that as the terrain's image texture, to give you some visual reference points for modeling your terrain.
16
+
3. At this point you could start to create your [Course Map](/course-building/course-map) and layout a few holes of your course. From Inkscape, you can [export](/course-building/course-map/exporting) a high resolution (8192x8192) PNG file. You can then import that as the terrain's image texture, to give you some visual reference points for modeling your terrain.
17
17
18
18
4. You can use the built-in Unity terrain tools to raise/lower and shape your course terrain. You can also use various environment building tools from the Unity Asset Store to more easily create and model your terrain. Visit our course building channel on [Discord](/connect-with-us/) to discuss and share tools and techniques.
0 commit comments