Commit graph

1400 commits

Author SHA1 Message Date
Matt Pharr
500a5be84d Another attempt at fixing the GPU CI build 2025-10-24 13:46:23 -07:00
Matt Pharr
5805005167 Attempt to fix ci-gpu CI build
- apt-get update
- Fix path to windows pbrt.exe
- Stop caching OptiX headers; hopefully no longer needed
2025-10-24 06:38:14 -07:00
Matt Pharr
d2dc5b4137 Drop OptiX 7.5.0, add 9.0.0 to CI builds 2025-10-23 19:28:00 -07:00
Matt Pharr
935c10f7f4
Merge pull request #516 from gonsolo/noseven
Remove Optix version.
2025-10-23 19:27:02 -07:00
Matt Pharr
8de4354af0
Merge pull request #517 from gonsolo/unused
Remove unused filterOptions.
2025-10-23 11:56:13 -07:00
Matt Pharr
14abed7519
Merge pull request #519 from gonsolo/unused2
Remove unused variable.
2025-10-23 11:54:47 -07:00
Matt Pharr
c70b8671a9
Merge pull request #520 from gonsolo/dim
Remove a warning about dim 0.
2025-10-23 11:53:27 -07:00
Gon Solo
82efbd535b Remove a warning about dim 0. 2025-10-23 11:48:14 +02:00
Gon Solo
18b7c2a2a4 Remove unused variable. 2025-10-23 11:32:00 +02:00
Gon Solo
1b89ed472a Remove unused filterOptions. 2025-10-23 11:14:01 +02:00
Gon Solo
e1288833cb Remove Optix version.
Since CI is running on Optix 7 and 8, and I have PBRT compiled locally
with Optix 9, it doesn't make sense to call it OPTIX7 anymore.
2025-10-23 10:40:10 +02:00
Matt Pharr
970fee03b7 parallel_test.cpp: attempt to work around windows test failures 2025-10-22 13:51:38 -07:00
Matt Pharr
0d6d9573e9 Fix HashBuffer to include sizeof(T) in size passed to MurmurHash64A.
Updated callers in test code that weren't expecting this. (Callers in
existing code were expecting it but not getting it!)

Fixes #487.
2025-10-22 13:41:35 -07:00
Matt Pharr
85918d59e4 flip.cpp: add cstdint include to make gcc happy 2025-10-22 12:59:33 -07:00
Matt Pharr
35bb9b88c0
Merge pull request #513 from jflatt-gia/scale2x
Add Optix 2X scaler to imgtool
2025-10-22 12:35:02 -07:00
Matt Pharr
70f8b9ed92
Merge pull request #480 from johnnynunez/patch-1
Update ci-gpu.yml
2025-10-22 12:32:10 -07:00
Matt Pharr
689587986d
Merge pull request #515 from SPolton/fix-cuda-13
Fix CUDA 13.x Compatibility in PBRT-v4
2025-10-22 12:22:44 -07:00
Matt Pharr
49c38c2526
Merge pull request #502 from gonsolo/fix_gcc_15
Fix build with GCC 15.
2025-10-22 12:21:23 -07:00
Matt Pharr
d36160ebe5
Merge pull request #514 from Ka1serM/fix-cmake-build
Fix fatal CMake build error "Could NOT find ZLIB" from OpenEXR

Fixes #467, #503, and #493.
2025-10-22 12:19:58 -07:00
Matt Pharr
7d728002ce Update utf8proc version to hopefully fix build. 2025-10-22 12:02:52 -07:00
Matt Pharr
df937186ae More submodule version updates to make github's cmake happy 2025-10-22 11:57:58 -07:00
Matt Pharr
90c73ac71a Update to latest zlib released version 2025-10-22 11:41:43 -07:00
Matt Pharr
d5c8fce493 Update double-conversion to use more modern cmake to make github runners happy 2025-10-22 11:18:51 -07:00
unknown
d8d18ff7ea Add optix scaler to cmake 2025-10-14 16:31:27 -07:00
Marcel K.
d2b6c02935 Fix fatal CMake build error "Could NOT find ZLIB" from OpenEXR, remove need for manual zlib vcpkg install 2025-10-07 13:29:22 +02:00
unknown
fe974f7c78 Add Optix 2X scaler to imgtool 2025-09-30 14:04:50 -07:00
SPolton
1231d35016 Fix cuda 13 build error: class "cudaDeviceProp" has no member "clockRate" 2025-09-26 22:47:15 -06:00
SPolton
603417bab5 Fix cuda 13 build error: no suitable constructor exists to convert from "int" to "cudaMemLocation" 2025-09-26 16:17:42 -06:00
SPolton
18dd1b9ec3 Ignore all build folder names 2025-09-26 15:22:32 -06:00
Gon Solo
914ccc6a50 Fix build with GCC 15. 2025-06-03 11:21:22 +02:00
Matt Pharr
f140d7cba5 Update actions/cache to v4 2025-03-22 12:28:45 -07:00
Matt Pharr
d3941e3298
Merge pull request #492 from Vertexwahn/fix-spelling
Fix spelling
2025-03-22 11:53:42 -07:00
Vertexwahn
cb492cb295 Fix spelling 2025-03-16 21:46:00 +01:00
Matt Pharr
779d1a78b7 Increase epsilon for bilinear patch self-intersection test.
Work-around for infinite loop in subsurface scattering in #416.
2025-01-30 12:58:50 -08:00
Matt Pharr
dfad74cfd1 SpectralFilm: ensure wavelength range is within [Lambda_min, Lambda_max]
A fatal error is issued if it isn't--with the current spectral
implementation, those wavelengths won't be sampled in practice and updating
the implementation would be a significant overhaul at this point.

Issue #417.
2025-01-30 12:32:00 -08:00
Matt Pharr
23593dce90
Merge pull request #482 from mmp/openexr-update
Redo cmake/OpenEXR integration
2025-01-30 11:58:25 -08:00
Matt Pharr
4621d25097 Bump to actions/upload-artifact@v4 to make github happy 2025-01-30 11:44:27 -08:00
Matt Pharr
9fbf3f0eec Redo cmake/OpenEXR integration
Use the "modern" cmake way of naming/passing along targets; as a bonus,
this lets us bump the version of openexr we ship as a submodule to be
the most recent release.

Fixes #478, which was due to pbrt not handling having a modern version of
openexr installed locally.
2025-01-30 11:40:30 -08:00
Matt Pharr
660273b53c Fix rewriting slashes in pixel stats category names when making filenames.
Fixes #414.
2025-01-30 09:24:12 -08:00
Matt Pharr
4ca8c5e3a7 Add comment about RoughnessToAlpha bug.
Issue #479.
2025-01-30 08:35:30 -08:00
Matt Pharr
6a43ed99e6 Fix SampleTwoNormal implementation
Fixes #481.
2025-01-30 07:44:19 -08:00
Matt Pharr
fb5988ac3a
Merge pull request #472 from he-yulong/Fix_cmake_error_for_win10
Fix CMake build error on Windows 10 by exporting zlibstatic alongside Ptex_static
2025-01-30 06:54:23 -08:00
Johnny
857cc99cde
Update ci-gpu.yml 2025-01-26 16:34:41 +01:00
Johnny
6c5b32a042
Update ci-gpu.yml 2025-01-26 16:34:13 +01:00
Johnny
f3bef7995e
Update ci-gpu.yml 2025-01-24 21:29:11 +01:00
he-yulong
f5767b3c72 Fix CMake build error on Windows 10 by exporting zlibstatic alongside Ptex_static.
* Adds a post-configuration step that explicitly installs `zlibstatic` into the `Ptex` export set.
* Prevents "target not in any export set" errors during the installation stage.
* Leaves the existing Ptex submodule files unmodified, preserving upstream compatibility.
* Verified on Windows 10 with Visual Studio 2022.
2024-12-29 15:16:28 +11:00
Matt Pharr
88645ffd6a
Merge pull request #464 from ditotechnologies/gpu-comment-fix
Update float.h "# else // GPU" comments
2024-11-29 16:09:13 -08:00
Anthony Dito
49bba7c583
Update float.h "# else // GPU" comments
These # else comments were not what I expected. This commit updates the to say "CPU"
2024-11-29 15:10:28 -08:00
Matt Pharr
3976fd70a6 Finally fix all github actions builds 2024-11-25 11:25:13 -08:00
Matt Pharr
9d60a9cbf9 update CUDA versions for github actions build 2024-11-24 11:33:41 -08:00