Skip to content

Commit 6ee4f93

Browse files
committed
Upgraded to OptiX 6
1 parent d5ba407 commit 6ee4f93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+5379
-2345
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is a simple implementation of NVidia AI denoiser. You can find a pre-built
88

99
These libraries will also need to be copied to the bin directory or add them to your path to run the app. The scons build will copy the required dlls from the contrib to the bin for you. You may also need to update your driver as I did.
1010

11-
You will require an Nvidia driver of at least 390.xx or higher to use the optix denoiser.
11+
You will require an Nvidia driver of at least 418.xx or higher and an Nvidia GPU of Maxwell architecture or newer to use the optix denoiser.
1212

1313
## Usage
1414
Command line parameters
@@ -18,6 +18,7 @@ Command line parameters
1818
* -n [string] : path to input normal AOV (optional, requires albedo AOV)
1919
* -b [float] : blend amount (default 0)
2020
* -hdr [int] : Use HDR training data (default 1)
21+
* -maxmem [int] : Maximum memory size used by the denoiser in MB
2122
* -h/--help : Lists command line parameters
2223

2324
You need to at least have an input and output for the app to run. If you also have them, you can add an albedo AOV or albedo and normal AOVs to improve the denoising. All images should be the same resolutions, not meeting this requirement will lead to unexpected results (likely a crash).

SConstruct

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if PLATFORM.name == "win32":
2424

2525

2626
LIBS = []
27-
LIBS.append("optix.51")
27+
LIBS.append("optix.6.0.0")
2828
LIBS.append("OpenImageIO")
2929

3030
LINKFLAGS = []
@@ -33,10 +33,9 @@ if PLATFORM.name == "win32":
3333
ENV.Append(CPPDEFINES = "NOMINMAX")
3434

3535
# Copy over the OptiX dlls to the bin directory
36-
ENV.Command("bin/cudart64_90.dll", "./contrib/optix/bin/cudart64_90.dll", Copy("$TARGET", "$SOURCE"))
3736
ENV.Command("bin/cudnn64_7.dll", "./contrib/optix/bin/cudnn64_7.dll", Copy("$TARGET", "$SOURCE"))
38-
ENV.Command("bin/optix.51.dll", "./contrib/optix/bin/optix.51.dll", Copy("$TARGET", "$SOURCE"))
39-
ENV.Command("bin/optix_denoiser.51.dll", "./contrib/optix/bin/optix_denoiser.51.dll", Copy("$TARGET", "$SOURCE"))
37+
ENV.Command("bin/optix.6.0.0.dll", "./contrib/optix/bin/optix.6.0.0.dll", Copy("$TARGET", "$SOURCE"))
38+
ENV.Command("bin/optix_denoiser.6.0.0.dll", "./contrib/optix/bin/optix_denoiser.6.0.0.dll", Copy("$TARGET", "$SOURCE"))
4039

4140
# Copy all of OIIO many dependancies!
4241
ENV.Command("bin/boost_atomic-vc141-mt-x64-1_67.dll", "./contrib/OpenImageIO/bin/boost_atomic-vc141-mt-x64-1_67.dll", Copy("$TARGET", "$SOURCE"))

bin/Denoiser.exe

-302 KB
Binary file not shown.

bin/DevIL.dll

-1.68 MB
Binary file not shown.

bin/ILU.dll

-107 KB
Binary file not shown.

bin/ILUT.dll

-35.5 KB
Binary file not shown.

contrib/optix/bin/optix.51.lib

-90.4 KB
Binary file not shown.

contrib/optix/bin/optix.6.0.0.lib

113 KB
Binary file not shown.

contrib/optix/include/internal/optix_datatypes.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
/*
3-
* Copyright (c) 2018 NVIDIA CORPORATION. All rights reserved.
3+
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
44
*
55
* NVIDIA Corporation and its licensors retain all intellectual property and proprietary
66
* rights in and to this software, related documentation and any modifications thereto.
@@ -30,7 +30,6 @@
3030
#ifndef __optix_optix_datatypes_h__
3131
#define __optix_optix_datatypes_h__
3232

33-
#include <host_defines.h> /* for __inline__ */
3433
#include "../optixu/optixu_vector_types.h" /* for float3 */
3534
#include "optix_declarations.h" /* for RT_HOSTDEVICE */
3635

contrib/optix/include/internal/optix_declarations.h

Lines changed: 194 additions & 118 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)