Commit graph

117 commits

Author SHA1 Message Date
Matt Pharr
7154d8268b
Merge pull request #518 from gonsolo/conversion
Suppress a deprecation warning.
2026-05-16 07:42:02 -07:00
Matt Pharr
0575eaff52 github: now on to CPU CI failures 2026-05-16 06:08:41 -07:00
Matt Pharr
2606a2b351 github: try n+2 to get GPU CI working again 2026-05-15 18:07:30 -07:00
Matt Pharr
0bb1c5e48d github: try n+1 to get GPU CI working again 2026-05-15 16:25:44 -07:00
Gon Solo
da60a89ca2 Restrict to GCC and Clang. 2025-10-24 08:47:06 +02:00
Gon Solo
7f217866a7 Suppress a deprecation warning.
The solution for the warning in string.cpp will only arrive in C++26.
2025-10-23 11:23:58 +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
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
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
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
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
3976fd70a6 Finally fix all github actions builds 2024-11-25 11:25:13 -08:00
Matt Pharr
c223f7daca ptex, try 2 2024-11-24 08:19:42 -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
ebd7bfa1a7 Bump OpenEXR version to get <cstdint> fix 2024-11-24 07:47:16 -08:00
Aaryaman Vasishta
5a28e28a53 Add PBRT_CPU_GPU in some signatures;Move OptiX
Co-Authored-By: Daniel Meister <daniel.meister@amd.com>
2024-08-24 17:55:36 +01:00
Tomas Berger
48d43bbb6c Add defined keyword 2023-11-25 19:36:21 +01:00
Tomas Berger
934eb69ec5 Add optional source code location 2023-11-25 19:32:33 +01:00
Matt Pharr
323da4d0e9 Disable unwantd FMAs with clang 14
Fixes #375
2023-09-18 07:19:48 +01:00
Matt Pharr
d250ece5d5 Add nanovdb2pbrt utility.
Basic converter from nanovdb to pbrt's text format for volumes,
including support for downsampling.
2023-05-12 05:30:54 -07:00
pbrt4bounty
4a668cc137
Silent warning in VDB dependecies
Silence a MSVC warning 4146 caused by NanoVDB code when a unary minus operator is applied to an unsigned type.
2023-04-15 20:03:54 +02:00
pbrt4bounty
5e69feb538
Silent build warnings about deprecated 'snprintf'
This directive silences many annoying and perhaps unused warning messages under MacOS arm64 about that a few of printf's are now deprecated
2023-03-20 13:11:00 +01:00
AwesomeKuma
b251ba1b31 Add a simple VisualStudio debugger visualizer(.natvis) for TaggedPointer 2022-12-30 22:09:59 +08:00
pbrt4bounty
e6894bee49
Silent MSVC warnings 2022-05-30 10:06:11 +02:00
Andreas Wendleder
932aba808c Read Optix path from environment.
This way it doesn't has to be set in CMakeCache.txt every time the
repository is checked out.
2022-05-23 12:47:00 +02:00
Matt Pharr
0eb8526777 Update expected glfw revision 2022-04-26 06:42:09 -07:00
Matt Pharr
e4e6ad3274 Add --interactive option
Currently only works with the --gpu / --wavefront integrator.
WASD-style controls; could use refinement.
Control-R to record frames.
2022-04-26 06:28:19 -07:00
Matt Pharr
fc86eb47c1 Add GLAD and GLFW dependencies 2022-04-25 17:55:55 -07:00
Matt Pharr
a4f48c69aa cmd/imgtool: refactor OptiX denoiser use into gpu/denoiser.* 2022-04-25 17:53:15 -07:00
Matt Pharr
cacd50aa42 Add support for qoi format images
https://qoiformat.org
2022-04-25 17:45:23 -07:00
Matt Pharr
c7e3879c78
Unicode normalization (#225)
Normalize unicode strings for user-supplied names (objects, materials,
media, etc.)  Note that there is no need to normalize strings for things
like the name of the selected sampler, light source types, or the
parameters provided to pbrt objects, as all of the valid ones are plain old
ASCII text. We also intentionally do not normalize pathnames, as doing so
can cause all sorts of trouble.
2022-02-02 07:10:03 -08:00
Matt Pharr
79bc178329 Windows improvements
- #undefine interface, which somehow gets #defined in debug builds, thwarting
  the layered BxDF code
- Move a CHECK out of (possibly) GPU code
- And some cmake tidying
2022-01-27 13:45:10 -08:00
Matt Pharr
06cdbecb7d Update to released version of NanoVDB 2021-11-02 15:55:13 -07:00
Matt Pharr
83d4ae1667 ext/ updates
Update filesystem/ and stb/ to latest versions.
Start using git submodules for lodepng (and update to latest.)
2021-10-28 14:23:23 -07:00
Matt Pharr
4fd2a481cc
Add PBRT_FLOAT_AS_DOUBLE and PBRT_DBG_LOGGING to the CI build matrix (#173) 2021-08-19 16:52:35 -07:00
Matt Pharr
43ce733ea0 Improve error message on missing submodule 2021-08-07 08:45:41 -07:00
Matt Pharr
6f685a2f78 Add libdeflate as a submodule 2021-08-07 07:59:18 -07:00
Matt Pharr
edf32b0344 Rename parsedscene.{h,cpp} to scene.{h,cpp} 2021-07-30 09:59:25 -07:00
Matt Pharr
f4ce14117d Attempt to fix pre-11.2 CUDA builds 2021-07-28 16:24:08 -07:00
Matt Pharr
7b5c05c68e Clean up assorted Linux/CUDA build warnings 2021-07-28 16:05:08 -07:00
Matt Pharr
24df23986d Attempt to fix Windows build 2021-07-28 13:45:06 -07:00
Matt Pharr
6e48cc048a Add --log-utilization option to pbrt.
Every 100ms, logs CPU (and GPU, if PBRT_NVML is enabled at cmake configure
time) utilization and memory use to the verbose log.

This is currently only useful on Linux; OSX and Windows need their
system-specific calls wired up to get current CPU utilization.
2021-07-23 08:59:55 -07:00
jim price
bfcf5287d8 Add plytool to the install list 2021-07-22 19:01:24 -07:00
Matt Pharr
995d9e0c2c CMakeLists.txt: build without CUDA support if an old CUDA version is found.
Previously the build errored out with a pre-version 11 version of CUDA.
Now it, more helpfully, issues a warning and builds a non-GPU version
of pbrt.
2021-07-15 16:22:31 -07:00
Matt Pharr
713cb61893 Rename splitply -> plytool.
Add "info" and "cat" sub-commands.
2021-07-08 10:54:40 -07:00