You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IRTK embree pathtracer fixes for stb (2024.0) (#2007)
* Flat dir updates for Embree PathTracingWithEmbree
Signed-off-by: Carroll, Michael R <michael.r.carroll@intel.com>
* embree pathtracer update for msvs debug paths updated but bug claimed in cmake
Signed-off-by: Carroll, Michael R <michael.r.carroll@intel.com>
---------
Signed-off-by: Carroll, Michael R <michael.r.carroll@intel.com>
#stb headers are located in dev-utilities. oneAPI 2022.2 release and earlier: these header only libraries are distributed with the oneAPI Base Toolkit.
| OS | Linux* Ubuntu* 18.04 <br>CentOS* 8 (or compatible) <br>Windows* 10 or 11<br>macOS* 10.15+ |
37
37
| Hardware | <ul><li>Intel® 64 (Intel 64 Penryn or higher with SSE4.1 extensions compatible) <ul><li>Intel Atom® processors</li><li>Intel® Core™ processor family</li><li>Intel® Xeon® processor family</li><li>Intel® Xeon® Scalable processor family</li></ul></li><li>ARM</li><ul><li>ARM64 with NEON extensions (ex: Apple* M1)</li></ul></li><li>Intel Embree is further optimized for Intel 64 Skylake or higher with AVX512 extensions</li></ul> |
38
38
| Compiler Toolchain | Windows* OS: MSVS 2019 or MSVS 2022 with Windows* SDK and CMake* <br>Other platforms: C++14 compiler and CMake*|
39
-
| Libraries | Install Intel oneAPI Rendering Toolkit (Render Kit) for Intel Embree and Intel® oneAPI Threading Building Blocks (oneTBB) <br>Install Intel® oneAPI Base Toolkit for the `dev-utilities` default component |
39
+
| Libraries | Install Intel Rendering Toolkit (Render Kit) for Intel Embree and Intel® oneAPI Threading Building Blocks (oneTBB) <br>Install Intel® oneAPI Base Toolkit for the `dev-utilities` default component and Intel® oneAPI DPC++ Compiler Runtimes|
40
40
| Tools | .png capable image viewer |
41
41
42
42
## Build and Run
43
43
44
44
### Windows*
45
45
46
-
1. Open an x64 Native Tools Command Prompt for VS 2019 (or 2022).
46
+
1. Open an x64 Native Tools Command Prompt for VS 2022 (or 2019).
47
47
48
48
2. Set toolkit environment variables.
49
49
50
50
> **Note**: If you have not already done so, set up your CLI
51
51
> environment by sourcing the `setvars` script in the root of your oneAPI installation.
> - Windows PowerShell*, use the following command: `cmd.exe "/K" '"C:\Program Files (x86)\Intel\oneAPI\<version>\oneapi-vars.bat" && powershell'`
56
56
> For more information on configuring environment variables, see [Use the setvars Script with Windows*](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-the-setvars-script-with-windows.html).
57
57
58
58
3. Build and run the application:
59
59
60
60
```
61
61
mkdir build
62
62
cd build
63
-
cmake -G"Visual Studio 16 2019" -A x64 ..
63
+
cmake -G"Visual Studio 17 2022" -A x64 ..
64
64
cmake --build . --config Release
65
65
cd Release
66
66
.\rkPathTracer.exe
67
67
```
68
68
69
-
**Note**: Visual Studio 2022 users should use the `-G"Visual Studio 17 2022"`
69
+
**Note**: Visual Studio 2019 users should use the `-G"Visual Studio 16 2019"`
70
70
generator flag.
71
71
72
72
4. Open the resulting .png image files with an image viewer. The .png files will be in the working directory for the executing program.
@@ -87,9 +87,9 @@ devenv rkPathTracer.sln
87
87
> environment by sourcing the `setvars` script in the root of your oneAPI installation.
88
88
>
89
89
> Linux*:
90
-
> - For system wide installations: `. /opt/intel/oneapi/setvars.sh`
91
-
> - For private installations: ` . ~/intel/oneapi/setvars.sh`
92
-
> - For non-POSIX shells, like csh, use the following command: `bash -c 'source <install-dir>/setvars.sh ; exec csh'`
90
+
> - For system wide installations: `. /opt/intel/oneapi/<version>/oneapi-vars.sh`
91
+
> - For private installations: ` . ~/intel/oneapi/<version>/oneapi-vars.sh`
92
+
> - For non-POSIX shells, like csh, use the following command: `bash -c 'source <install-dir>/<version>/oneapi-vars.sh ; exec csh'`
93
93
> For more information on configuring environment variables, see [Use the setvars Script with Linux* or macOS*](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-the-setvars-script-with-linux-or-macos.html).
94
94
95
95
3. Build and run the application:
@@ -106,7 +106,7 @@ cmake --build .
106
106
107
107
### Build Troubleshoot
108
108
109
-
Imaging headers are used from `%ONEAPI_ROOT%\dev-utilities\latest\include`. If needed, these headers are also available common resources from the [oneAPI-samples](https://github.com/oneapi-src/oneAPI-samples/tree/master/common) GitHub repository.
109
+
Imaging headers are used from `%ONEAPI_ROOT%\dev-utilities\latest\include` in the `stb` folder. If needed, these headers are also available common resources from the [oneAPI-samples](https://github.com/oneapi-src/oneAPI-samples/tree/master/common) GitHub repository.
0 commit comments