Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Nebukam committed Feb 11, 2024
1 parent 1eb9360 commit f2d2033
Show file tree
Hide file tree
Showing 176 changed files with 6,855 additions and 5,522 deletions.
1 change: 1 addition & 0 deletions _sources/_includes/embed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% assign pages = site.pages | where: 'title', include.id %}{% for somePage in pages %} {{ somePage.content }} {% endfor %}
1 change: 1 addition & 0 deletions _sources/_sass/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ h6 {
font-weight: 500;
line-height: $body-heading-line-height;
color: $body-heading-color;
text-shadow: 0 2px 0px #270149;;
}

em{
Expand Down
1 change: 1 addition & 0 deletions _sources/_sass/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ h1,
h2,
.text-beta {
@include fs-6;
color: #92b8ff; //$nkmblue-000;
}

h3,
Expand Down
1 change: 0 additions & 1 deletion _sources/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ If you have a feature or improvement requestion, please start a discussion [here

### Footnotes & Credits
- I am *not* affiliated with Unreal!
- Delaunay/Voronoi adapted from the excellent [Scrawk' Hull-Delaunay-Voronoi](https://github.com/Scrawk/Hull-Delaunay-Voronoi) repo
- Photo of Edsger W. Dijkstra from Wikipedia, (c) Hamilton Richards / CC BY-SA 3.0 : [source](https://en.wikipedia.org/wiki/Edsger_W._Dijkstra#/media/File:Edsger_Wybe_Dijkstra.jpg)
- Photo of Bertran Raphael from Wikipedia, (c) Blogjack / CC BY-SA 3.0 : [source](https://en.wikipedia.org/wiki/Bertram_Raphael#/media/File:Bert_Raphael_2008.JPG)
5 changes: 1 addition & 4 deletions _sources/doc-pathfinding/all-pathfinding-modules.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
---
layout: page
title: All Pathfinding Modules
nav_order: 4
title: all-pathfinding-modules
has_children: false
nav_exclude: true
---


{% include card_deep_childs parent="Goal Pickers" %}

---
Expand Down
2 changes: 1 addition & 1 deletion _sources/doc-pathfinding/goal-pickers/picker-attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ nav_order: 1
>The attribute is fetched on the `Seed` input.
{: .infos }

{% include_relative settings-index-safety.md %}
{% include embed id='settings-index-safety' %}
2 changes: 1 addition & 1 deletion _sources/doc-pathfinding/goal-pickers/picker-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ Seed index `0` will be matched to goal index `0`, and so on.
|**Settings**||
| Index Safety | Failsafe method if there are more `Seeds` than there are `Goals`.<br>Note that extra `Goals` are simply ignored.<br>*See [Index Safety](#index-safety)* |

{% include_relative settings-index-safety.md %}
{% include embed id='settings-index-safety' %}
2 changes: 1 addition & 1 deletion _sources/doc-pathfinding/goal-pickers/picker-random.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ Random will connect to a fixed number of random goals, specified in `Num Goals`.
Random will connect to a random number of random goals.
The number of connection will be between `0` and `Num Goals`

{% include_relative settings-index-safety.md %}
{% include embed id='settings-index-safety' %}
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

---
title: settings-index-safety
has_children: false
nav_exclude: true
---

## Index Safety
The index safety property controls how invalid indices are handled.

Expand Down
2 changes: 1 addition & 1 deletion _sources/doc-pathfinding/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ While the selected search algorithm is important, {% include lk id='Heuristic Mo
{% include imgc a='pathfinding/ploting.png' %}

---
{% include_relative all-pathfinding-modules.md %}
{% include embed id='all-pathfinding-modules' %}
2 changes: 1 addition & 1 deletion _sources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ The PCG Extended Toolkit is a free (libre) plugin that extends Unreal Engine' Pr
---
# Nodes

{% include_relative nodes/all-nodes.md %}
{% include embed id='embed-all-nodes' %}
21 changes: 1 addition & 20 deletions _sources/nodes/all-nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,4 @@ has_children: false
nav_exclude: true
---


{% include card_deep_childs parent="Graphs" %}

---
{% include card_deep_childs parent="Edges" %}

---
{% include card_deep_childs parent="Pathfinders" %}

---
{% include card_deep_childs parent="Sampling" %}

---
{% include card_deep_childs parent="Misc" %}

---
{% include card_deep_childs parent="Paths" %}

---
{% include card_deep_childs parent="Custom Graphs" %}
{% include embed id='embed-all-nodes' %}
2 changes: 1 addition & 1 deletion _sources/nodes/custom-graph/custom-graph-assemble.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ nav_order: 2
| **Hull** Attribute Name | Name of the attribute to write the "is on hull" flag to.<br>*Disabled if points are pruned, since the output in that case will be exclusively hull points.* |
|**Projection Settings**| Projection settings allow you to control the projection plane used to compute the graph in 2D. See [Projection Settings](#settings-projection)|

{% include_relative settings-edge-types.md %}
{% include embed id='settings-edge-types' %}
2 changes: 1 addition & 1 deletion _sources/nodes/custom-graph/custom-graph-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ nav_order: 2
| **Hull** Attribute Name | Name of the attribute to write the "is on hull" flag to.<br>*Disabled if points are pruned, since the output in that case will be exclusively hull points.* |
|**Projection Settings**| Projection settings allow you to control the projection plane used to compute the graph in 2D. See [Projection Settings](#settings-projection)|

{% include_relative settings-edge-types.md %}
{% include embed id='settings-edge-types' %}
2 changes: 1 addition & 1 deletion _sources/nodes/custom-graph/custom-graph-consolidate.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ nav_order: 5
| **Hull** Attribute Name | Name of the attribute to write the "is on hull" flag to.<br>*Disabled if points are pruned, since the output in that case will be exclusively hull points.* |
|**Projection Settings**| Projection settings allow you to control the projection plane used to compute the graph in 2D. See [Projection Settings](#settings-projection)|

{% include_relative settings-edge-types.md %}
{% include embed id='settings-edge-types' %}
2 changes: 1 addition & 1 deletion _sources/nodes/custom-graph/custom-graph-draw.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ nav_order: 4
| **Hull** Attribute Name | Name of the attribute to write the "is on hull" flag to.<br>*Disabled if points are pruned, since the output in that case will be exclusively hull points.* |
|**Projection Settings**| Projection settings allow you to control the projection plane used to compute the graph in 2D. See [Projection Settings](#settings-projection)|

{% include_relative settings-edge-types.md %}
{% include embed id='settings-edge-types' %}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ nav_order: 3
| **Hull** Attribute Name | Name of the attribute to write the "is on hull" flag to.<br>*Disabled if points are pruned, since the output in that case will be exclusively hull points.* |
|**Projection Settings**| Projection settings allow you to control the projection plane used to compute the graph in 2D. See [Projection Settings](#settings-projection)|

{% include_relative settings-edge-types.md %}
{% include embed id='settings-edge-types' %}
2 changes: 1 addition & 1 deletion _sources/nodes/custom-graph/custom-graph-params.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ nav_order: 1
| **Hull** Attribute Name | Name of the attribute to write the "is on hull" flag to.<br>*Disabled if points are pruned, since the output in that case will be exclusively hull points.* |
|**Projection Settings**| Projection settings allow you to control the projection plane used to compute the graph in 2D. See [Projection Settings](#settings-projection)|

{% include_relative settings-edge-types.md %}
{% include embed id='settings-edge-types' %}
2 changes: 1 addition & 1 deletion _sources/nodes/custom-graph/custom-graph-promote-edges.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ nav_order: 7
| **Hull** Attribute Name | Name of the attribute to write the "is on hull" flag to.<br>*Disabled if points are pruned, since the output in that case will be exclusively hull points.* |
|**Projection Settings**| Projection settings allow you to control the projection plane used to compute the graph in 2D. See [Projection Settings](#settings-projection)|

{% include_relative settings-edge-types.md %}
{% include embed id='settings-edge-types' %}
2 changes: 1 addition & 1 deletion _sources/nodes/custom-graph/custom-graph-socket.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ nav_order: 2
| **Hull** Attribute Name | Name of the attribute to write the "is on hull" flag to.<br>*Disabled if points are pruned, since the output in that case will be exclusively hull points.* |
|**Projection Settings**| Projection settings allow you to control the projection plane used to compute the graph in 2D. See [Projection Settings](#settings-projection)|

{% include_relative settings-edge-types.md %}
{% include embed id='settings-edge-types' %}
5 changes: 5 additions & 0 deletions _sources/nodes/custom-graph/settings-edge-types.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: settings-edge-types
has_children: false
nav_exclude: true
---

## Edge Types Settings

Expand Down
26 changes: 0 additions & 26 deletions _sources/nodes/edges/edges-find-intersections.md

This file was deleted.

25 changes: 25 additions & 0 deletions _sources/nodes/embed-all-nodes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: embed-all-nodes
has_children: false
nav_exclude: true
---

{% include card_deep_childs parent="Graphs" %}

---
{% include card_deep_childs parent="Edges" %}

---
{% include card_deep_childs parent="Pathfinders" %}

---
{% include card_deep_childs parent="Sampling" %}

---
{% include card_deep_childs parent="Misc" %}

---
{% include card_deep_childs parent="Paths" %}

---
{% include card_deep_childs parent="Custom Graphs" %}
2 changes: 1 addition & 1 deletion _sources/nodes/graphs/graphs-convex-hull-2d.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ see_also: Working with Graphs
> Note that the hull is *optimized* and will ignore points that *lie* on the hull but don't mathematically influence it *(i.e collinear/coplanar points)*.
{: .warning }

{% include_relative settings-projection.md %}
{% include embed id='settings-projection' %}

---
# Inputs
Expand Down
2 changes: 1 addition & 1 deletion _sources/nodes/graphs/graphs-delaunay-2d.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ WIP: true
> Note that the hull is *optimized* and will ignore points that *lie* on the hull but don't mathematically influence it *(i.e collinear/coplanar points)*.
{: .warning }

{% include_relative settings-projection.md %}
{% include embed id='settings-projection' %}

---
# Inputs
Expand Down
29 changes: 29 additions & 0 deletions _sources/nodes/graphs/graphs-fuse-clusters-local.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
layout: page
parent: Graphs
grand_parent: All Nodes
title: Fuse Clusters Local
subtitle: Find internal Point/Edge and Edge/Edge intersections.
color: white
summary: The **Fuse Clusters Local** node ...
splash: icons/icon_graphs-sanitize.svg
preview_img: placeholder.jpg
toc_img: placeholder.jpg
tagged:
- graphs
see_also:
- Working with Graphs
nav_order: 10
---

{% include header_card_node %}

{% include img a='details/details-graph-fuse-clusters.png' %}

> Current implementation is **WIP**: all attributes from the inputs are not forwarded to the output graph.
{: .error }

---
# Inputs & Outputs
## Vtx & Edges
See {% include lk id='Working with Graphs' %}
6 changes: 3 additions & 3 deletions _sources/nodes/graphs/graphs-fuse-clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ layout: page
parent: Graphs
grand_parent: All Nodes
title: Fuse Clusters
subtitle: Fuse clusters together and consolidate clusters, if possible.
subtitle: Fuse clusters together by finding Point/Edge and Edge/Edge intersections.
color: white
summary: The **Fuse Clusters** ...
summary: The **Fuse Clusters** node ...
splash: icons/icon_graphs-sanitize.svg
preview_img: placeholder.jpg
toc_img: placeholder.jpg
tagged:
- graphs
see_also:
- Working with Graphs
nav_order: 7
nav_order: 10
---

{% include header_card_node %}
Expand Down
2 changes: 1 addition & 1 deletion _sources/nodes/graphs/graphs-voronoi-2d.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ There are three available methods to drive Voronoi' site position in space.
| Canon | Uses the real, computed voronoi site position.<br>**Sites on the outskirts of the graph usually have extreme deformations.** |
| Centroid | Uses the delaunay' triangulation centroid instead of the real position.<br>*This is usually good looking, but can lead to overlapping edges.* |

{% include_relative settings-projection.md %}
{% include embed id='settings-projection' %}

---
# Inputs
Expand Down
3 changes: 1 addition & 2 deletions _sources/nodes/graphs/settings-projection.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
layout: page
title: Projection Settings
title: settings-projection
has_children: false
nav_exclude: true
---
Expand Down
2 changes: 1 addition & 1 deletion _sources/nodes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ has_children: true

{% include header_card %}

{% include_relative all-nodes.md %}
{% include embed id='embed-all-nodes' %}


2 changes: 1 addition & 1 deletion _sources/nodes/pathfinder/pathfinding-edges-plot.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ nav_order: 2
|**Heuristics**| The base heuristics module that will be used during pathfinding.<br>*Each module has individual settings and documentation -- See [Available Heuristics](#available-heuristics-modules).* |
|**Heuristics Modifiers**| This property group is available no matter what **Heuristics** have been picked.<br>*See {% include lk id='Heuristic Modifiers' %}.*|

{% include_relative settings-statistics.md %}
{% include embed id='settings-statistics' %}

|**Extra Weighting**||
|Weight up Visited| If enabled, points and edges will accumulate additional weight are paths are found.<br>This allows you to make "already in use" points & edges either more or less desirable for the next internal execution.<br>*Note that accumulated weight is consolidated between each plot points, as opposed to between each plotted path.* |
Expand Down
2 changes: 1 addition & 1 deletion _sources/nodes/pathfinder/pathfinding-edges.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ nav_order: 1
|**Heuristics**| The base heuristics module that will be used during pathfinding.<br>*Each module has individual settings and documentation -- See [Available Heuristics](#available-heuristics-modules).* |
|**Heuristics Modifiers**| This property group is available no matter what **Heuristics** have been picked.<br>*See {% include lk id='Heuristic Modifiers' %}.*|

{% include_relative settings-statistics.md %}
{% include embed id='settings-statistics' %}

|**Extra Weighting**||
|Weight up Visited| If enabled, points and edges will accumulate additional weight are paths are found.<br>This allows you to make "already in use" points & edges either more or less desirable for the next internal execution. |
Expand Down
5 changes: 5 additions & 0 deletions _sources/nodes/pathfinder/settings-extra-weight.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: settings-extra-weight
has_children: false
nav_exclude: true
---

|**Extra Weighting**||
|Weight up Visited| If enabled, points and edges will accumulate additional weight are paths are found.<br>This allows you to make "already in use" points & edges either more or less desirable for the next internal execution. |
Expand Down
5 changes: 5 additions & 0 deletions _sources/nodes/pathfinder/settings-statistics.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: settings-statistics
has_children: false
nav_exclude: true
---

| **Statistics** ||
|---| ![wip](https://img.shields.io/badge/WIP-c8860e) |
2 changes: 1 addition & 1 deletion _sources/nodes/sampling/sampling-nearest-point.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ nav_order: 4
| Farthest Target | Sample the single farthest target within the specified range. |
| Target Extents | Reverse the sampling mechanisms so points will sample the targets which `Extents` contains them.<br>**At the time of writing, will only check targets which position in world space is within range.**<br>*It is recommend to use a max range of `0` with this method.* |

{% include_relative settings-weighting.md %}
{% include embed id='settings-weighting' %}

---
## Weighting
Expand Down
2 changes: 1 addition & 1 deletion _sources/nodes/sampling/sampling-nearest-polyline.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ nav_order: 3
| Farthest Target | Sample the single farthest polyline within the specified range. |
| Target Extents | Reverse the sampling mechanisms so points will sample the targets which `Extents` contains them.<br>**At the time of writing, will only check targets which position in world space is within range.**<br>*It is recommend to use a max range of `0` with this method.* |

{% include_relative settings-weighting.md %}
{% include embed id='settings-weighting' %}

---
## Weighting
Expand Down
Loading

0 comments on commit f2d2033

Please sign in to comment.