Commit graph

1428 commits

Author SHA1 Message Date
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
Matt Pharr
305d38f629 Update github actions GPU linux build 2024-11-24 09:33:50 -08:00
Matt Pharr
db53eee120 Remove clang 18 for linux github actions build 2024-11-24 09:30:52 -08:00
Matt Pharr
48e5076abe Fix clang install versions for github actions linux build 2024-11-24 08:47:25 -08:00
Matt Pharr
f2fa4db5e4 Update to ubuntu 22.04 and modern compilers for linux github actions biuld 2024-11-24 08:27:54 -08:00
Matt Pharr
ead1237f12 More X11 installs for linux github actions build 2024-11-24 08:24:57 -08:00
Matt Pharr
c223f7daca ptex, try 2 2024-11-24 08:19:42 -08:00
Matt Pharr
f980e43a7d Attempt to fix linux build on github 2024-11-24 08:14:49 -08:00
Matt Pharr
c9b2d99c73 Update ptex version to pick up build fix 2024-11-24 08:11:02 -08:00
Matt Pharr
e9e1180f47 Update glfw to 3.4 2024-11-24 08:07:44 -08:00
Matt Pharr
8c741528ce Remove OpenEXR install from github OSX workflow 2024-11-24 08:00:33 -08:00
Matt Pharr
ebd7bfa1a7 Bump OpenEXR version to get <cstdint> fix 2024-11-24 07:47:16 -08:00
Matt Pharr
1ae72cfa73
Merge pull request #441 from paulgrassler/master
Fixing Time Sampling/Motion Blur for SPPM
2024-10-27 13:25:07 -07:00
paulgrassler
a04daa38d3
correcting the sample generation 2024-10-26 23:58:47 +02:00
Matt Pharr
f9a38ba1b3 Fix bug with nanovdb indexing in cmd/nanovdb2pbrt.cpp
(Removed the downsampling functinoality for simplicity along the way.)

Fixes #452.
2024-10-26 14:13:00 -07:00
Matt Pharr
20d85f0131
Merge pull request #390 from w3ntao/fix-2023-10-17
replace Riemann sum computation in SpectrumToPhotometric() with InnerProduct()
2024-10-26 13:22:03 -07:00
Matt Pharr
a1f4d0fab8 Fix OptiX denoiser initialization for OptiX 8.0.0
Fixes #422.
2024-10-26 12:37:24 -07:00
Matt Pharr
b7d2936aed
Merge pull request #393 from w3ntao/fix-2023-10-25
delete unused extern variable LMSFromXYZ, XYZFromLMS
2024-10-26 12:13:58 -07:00
Matt Pharr
cadeda3011
Merge pull request #451 from mpriestman/fix-spectral-film-pointer-bug
Increment splatBuffer pointer by correct amount
2024-10-26 12:10:01 -07:00
Michael Priestman
d2dee500b7 Increment splatBuffer pointer by correct amount
This pointer should be incremented by nBuckets, and not
NSpectrumSamples.
2024-10-20 16:26:51 +01:00
Matt Pharr
710bc1ad66 image.cpp: fix MAE computation
Fixes #442.
2024-10-09 16:47:36 -07:00
Matt Pharr
2cc9d5b3c1
Merge pull request #447 from gonsolo/gonsolo
Fix cstdint with gcc 14.2.1.
2024-10-09 08:15:15 -07:00
Gon Solo
294c15b846 Fix cstdint. 2024-10-09 12:42:36 +02:00