Skip to content

Commit

Permalink
Small updates (#397)
Browse files Browse the repository at this point in the history
* Rename compile.yml to build.yml

* Add NVAPI dependency

* Add WAR diff path tracer test script
  • Loading branch information
skallweitNV committed Oct 23, 2023
1 parent ad87cc5 commit a464cc1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: compile
name: build

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ For more information on how to use Falcor as a Python module see [Falcor In Pyth
## Microsoft DirectX 12 Agility SDK
Falcor uses the [Microsoft DirectX 12 Agility SDK](https://devblogs.microsoft.com/directx/directx12agility/) to get access to the latest DirectX 12 features. Applications can enable the Agility SDK by putting `FALCOR_EXPORT_D3D12_AGILITY_SDK` in the main `.cpp` file. `Mogwai`, `FalcorTest` and `RenderGraphEditor` have the Agility SDK enabled by default.

## NVAPI
To enable NVAPI support, head over to https://developer.nvidia.com/nvapi and download the latest version of NVAPI (this build is tested against version R535).
Extract the content of the zip file into `external/packman/` and rename `R535-developer` to `nvapi`.

## NSight Aftermath
To enable NSight Aftermath support, head over to https://developer.nvidia.com/nsight-aftermath and download the latest version of Aftermath (this build is tested against version 2023.1).
Extract the content of the zip file into `external/packman/aftermath`.
Expand Down
3 changes: 3 additions & 0 deletions dependencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
<dependency name="agility-sdk" linkPath="external/packman/agility-sdk">
<package name="agility-sdk" version="1.4.10" platforms="windows-x86_64"/>
</dependency>
<dependency name="nvapi" linkPath="external/packman/nvapi">
<package name="nvapi" version="r535-developer-${platform}" platforms="windows-x86_64" />
</dependency>
<dependency name="nvtt" linkPath="external/packman/nvtt">
<package name="nvtt" version="3.1.6-${platform}" platforms="windows-x86_64 linux-x86_64" />
</dependency>
Expand Down
11 changes: 11 additions & 0 deletions tests/image_tests/renderscripts/test_WARDiffPathTracer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import sys
sys.path.append('..')
from falcor import *
from helpers import render_frames

exec(open('../../../scripts/WARDiffPathTracer.py').read())

# default
render_frames(m, 'default', frames=[64])

exit()

0 comments on commit a464cc1

Please sign in to comment.