Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pgrit/openpgl.net
https://github.com/pgrit/openpgl.net
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pgrit/openpgl.net
- Owner: pgrit
- Created: 2022-03-31T14:14:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-21T12:47:20.000Z (10 months ago)
- Last Synced: 2024-03-21T13:51:59.335Z (10 months ago)
- Language: C#
- Size: 6.44 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenPGL.NET
A C# wrapper for the [Intel® Open Path Guiding Library](https://github.com/OpenPathGuidingLibrary/openpgl), including sample code for a guided path tracer with [SeeSharp](https://github.com/pgrit/SeeSharp)
## Building
Precompiled binaries for openpgl and its dependencies can be downloaded by running the `make.ps1` (all platforms) or `make.sh` (Linux and OSX) scripts. If you want to supply your own binaries, check these scripts for details.
## Running the example
```
cd GuidedPathTracer
dotnet run -c Release
```The results can be viewed by opening and running the [.NET interactive](https://github.com/dotnet/interactive) notebook [GuidedPathTracer/Results.dib](GuidedPathTracer/Results.dib), or by manually opening the .exr files in `GuidedPathTracer/Results`.
## Viewer
There is an experimental GUI tool in the `Viewer` folder. It can visualize the guiding distributions in a scene.
(It is a webapp with serverside Blazor that directly links the `GuidedPathTracer` project to run arbitrary code. Hardly tested at all, so expect bugs all over ;) )