Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+ Update Paths #95

Merged
merged 1 commit into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions OmsiHook/docs/articles/examples/clickable-plane-demo.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Clickable Plane Demo

This article provides a basic understanding to a basic C# .NET example leveraging the OMSIHook library. This demo is a more advanced
demo using a specially made mesh (available [here](/doc-resources/ClickablePlaneDemo/_touch_surface.o3d)) and some of the model data properties to paint onto a script texture.
demo using a specially made mesh (available [here](https://adam.mathieson.dev/_touch_surface.o3d)) and some of the model data properties to paint onto a script texture.

_This article is in direct relation to the Sample Project available [here](https://github.com/space928/Omsi-Extensions/tree/main/_OmsiHookExamples/ClickablePlaneDemo)._

![Paint Demo](/images/Paint-demo.png)
![Paint Demo](https://adam.mathieson.dev/Paint-demo.png)

## Coordinate calculation
To achieve the click detection, the global mouse events are monitored, a ray is cast from the cursor onto the plane, it's intersection is computed and converted into a local coordinate space.
Expand Down
Binary file not shown.
3 changes: 1 addition & 2 deletions OmsiHook/docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
"resource": [
{
"files": [
"images/**",
"doc-resources/**"
"images/**"
]
}
],
Expand Down
Binary file removed OmsiHook/docs/images/Paint-demo.png
Binary file not shown.
Loading