Commit graph

  • 78691d0bd9 Update from book source. No functional changes. Matt Pharr 2021-06-08 16:54:03 -07:00
  • 84cd5e9d92 Pass point/vector classes to methods by value rather than const reference. Matt Pharr 2021-06-08 16:53:45 -07:00
  • 865377bfe0 Update from book source. No functional changes. Matt Pharr 2021-06-08 06:59:49 -07:00
  • fb033bc8c2 Fix Windows build. Matt Pharr 2021-06-03 15:28:31 -07:00
  • 73da35a7eb Update from book source. No functional changes. Matt Pharr 2021-06-03 15:05:48 -07:00
  • 84083aca55 Add GetCommandLineArguments() function (and use it). Matt Pharr 2021-06-02 15:31:16 -07:00
  • 3d45d71bbf Add STBI_WINDOWS_UTF8 #define. Matt Pharr 2021-06-02 14:04:12 -07:00
  • 75d6ac4723 CMakeLists.txt improvements Matt Pharr 2021-06-02 14:00:45 -07:00
  • 7a441feab4 Add a few missing copyright notices Matt Pharr 2021-06-02 13:54:34 -07:00
  • d30785e2ca Add pstd::round (and use it). Matt Pharr 2021-06-02 13:52:24 -07:00
  • 441c76b93c Update from book source. No functional changes. Matt Pharr 2021-06-02 13:51:49 -07:00
  • dcf8a7cdd7 Fix typo in ReadPFM Matt Pharr 2021-06-02 13:26:09 -07:00
  • 133383058f Small cleanup in Tokenizer::CreateFromFile() Matt Pharr 2021-06-02 13:10:08 -07:00
  • ace7dd7bd9 Windows: #define [_]UNICODE Matt Pharr 2021-06-02 13:09:54 -07:00
  • cbfa54004c Add FOpenRead(), FOpenWrite() Matt Pharr 2021-06-02 13:08:45 -07:00
  • 7b5324bb03 Add UTF/wstring conversion functions Matt Pharr 2021-06-02 13:07:26 -07:00
  • 35de9f6817 Fix broken DCHECKs in TaggedPointer dispatch code Matt Pharr 2021-06-02 11:23:55 -07:00
  • 48ce6e5a42 Fix PBRT_DBG_LOGGING build Matt Pharr 2021-06-02 06:18:37 -07:00
  • 9d7efe9203 MLTSampler: use Options->seed when seeding the RNG Matt Pharr 2021-06-02 06:13:31 -07:00
  • 81976cf3f6 Update from book source. No functional changes. Matt Pharr 2021-06-02 06:09:55 -07:00
  • 3a18750112 cmake: refine test to disallow CUDA 11.3.0 but allow subsequent 11.3.x. Matt Pharr 2021-06-01 14:34:14 -07:00
  • 639380f8e7 Issue error if UTF-16 encoded *.pbrt file is provided Matt Pharr 2021-06-01 07:04:21 -07:00
  • 58fce2c79c Minor logic update to FrDielectric(). Matt Pharr 2021-05-28 17:52:26 -07:00
  • 13d682d34c Update from book source. Just formatting changes and code motion. Matt Pharr 2021-05-28 17:51:01 -07:00
  • d34ba319c4 Fix TaggedPointer dispatch so that methods that return refernces just work. Matt Pharr 2021-05-28 15:15:01 -07:00
  • f575a99898 Rewrite TaggedPointer dynamic dispatch to be based on switch() statements. Matt Pharr 2021-05-28 13:55:21 -07:00
  • 0b38487cdb Fix rare case that could lead to NaNs in wavefront volumetric scattering. Matt Pharr 2021-05-28 12:09:16 -07:00
  • 79aa92b492 Improve SampleDiscrete() Matt Pharr 2021-05-28 11:49:24 -07:00
  • 6dd3325598 Update from book source. No functional changes. Matt Pharr 2021-05-21 14:13:35 -07:00
  • 282a5cb48f
    Merge pull request #132 from luzpaz/typos Matt Pharr 2021-05-20 12:35:25 -07:00
  • 6db262c2c6 Fix Windows build break. Matt Pharr 2021-05-20 12:24:45 -07:00
  • 2fcf2e9864 Fix misc. typos luz paz 2021-05-20 15:20:39 -04:00
  • 72b749ed22 Update from book source. No functional changes. Matt Pharr 2021-05-19 16:14:02 -07:00
  • e2c6959fca Centralize material creation code in GPU/wavefront rendering path. Matt Pharr 2021-05-17 07:10:34 -07:00
  • ba5c99c9e2 Improve ImageTexture ToString() methods. Matt Pharr 2021-05-16 11:23:52 -07:00
  • 399b8c79f2 Update SOA<> templates for SampledSpectrum/SampledWavelengths to handle arbitrary NSpectrumSamples Matt Pharr 2021-05-16 07:59:03 -07:00
  • 1ee2d1b073 IdealDiffuseBxDF -> DiffuseBxDF, DiffuseBxDF -> RoughDiffuseBxDF Wenzel Jakob 2021-05-16 02:02:36 +02:00
  • 1935513d18 GPU/wavefront: compute ray differentials at intersection point. Matt Pharr 2021-05-15 14:36:11 -07:00
  • f2206c1bd2 Move Coated{Diffuse,Conductor}Material::GetBSDF() to .cpp file. Matt Pharr 2021-05-15 13:48:50 -07:00
  • 3e4f302af8 GPU: build MIP maps for CUDA textures and use tex2DGrad() to pass filter widths. Matt Pharr 2021-05-15 10:34:03 -07:00
  • 5575557670 GPU/wavefront integrator: compute VisibleSurface albedo in the same way as the CPU path Matt Pharr 2021-05-15 07:14:05 -07:00
  • fcc94ea057 GPU/wavefront integrator: track per-ray depth independently of global wavefront depth. Matt Pharr 2021-05-13 17:11:37 -07:00
  • 062279acec Film: issue error rather than hitting CHECK for invalid crop window. Matt Pharr 2021-05-13 09:37:08 -07:00
  • d08a15186d Camera::Approximate_dp_dxy() improvements. Matt Pharr 2021-05-12 14:31:02 -07:00
  • 208a5fd053 GPU/wavefront: compute dpdx/dpdy for VisibleSurface at first hit Matt Pharr 2021-05-12 10:11:40 -07:00
  • 452bb7cc09 GPU/wavefront integrator: don't hard-code HenyeyGreenstein as the only phase function. Matt Pharr 2021-05-12 09:03:00 -07:00
  • e33843b4c9 NanoVDBMediumProvider: don't assume density grid bounds == temperature grid bounds Matt Pharr 2021-05-12 08:53:15 -07:00
  • b77e07604c Update from book source. Wenzel Jakob 2021-05-11 16:32:08 +02:00
  • 866661ceb2 Remove unused variable in FilterSampler. Matt Pharr 2021-05-10 17:28:08 -07:00
  • ffad84cd27 Add assorted additional ToString() methods. Matt Pharr 2021-05-10 17:22:51 -07:00
  • 24c6ef53f1 GPU: reorganize "random hit" path for subsurface scattering. Matt Pharr 2021-05-08 08:22:47 -07:00
  • c4092fb09d Slightly extend lambda range used for visible wavelengths in FromInterleaved(). Matt Pharr 2021-05-07 14:11:39 -07:00
  • aabee893c0 Wavefront path integrator: pass faceIndex through queues as needed. Matt Pharr 2021-05-07 11:09:29 -07:00
  • f3aff5fe0d Improve VolPathIntegrator and wavefront integrator consistency Matt Pharr 2021-05-07 08:58:25 -07:00
  • 187998cd0c Improve hash function in FastOwenScrambler. Matt Pharr 2021-05-06 13:17:50 -07:00
  • 66b53835b7 Update from book source. Matt Pharr 2021-05-06 06:38:24 -07:00
  • 20d2e01d61 Merge branch 'master' of https://github.com/mmp/pbrt-v4 Matt Pharr 2021-05-04 17:07:06 -07:00
  • cb78c64945 GPU: do not enable OptiX validation mode in release builds Matt Pharr 2021-05-04 17:06:44 -07:00
  • e3aa19a747 README updates Matt Pharr 2021-05-04 06:58:46 -07:00
  • 06000be589 Re-enable Windows+GPU builds Matt Pharr 2021-05-03 17:12:11 -07:00
  • 597fc75a9f Add pstd floor(), ceil(), and copysign(). Matt Pharr 2021-05-03 16:33:50 -07:00
  • 30eba7e9bf Once again, fix Windows build Matt Pharr 2021-05-03 11:32:13 -07:00
  • 292180bfb3 Update from book source. No functional changes. Matt Pharr 2021-05-03 06:51:36 -07:00
  • af44f69aaa Update from book source. No functional changes. Matt Pharr 2021-05-02 14:49:32 -07:00
  • e90458fb9d
    Generalize GPU rendering path to run on both CPU and GPU (#125) Matt Pharr 2021-05-02 14:36:59 -07:00
  • 70a00397ed Fix bugs in light handling in wavefront integrator Matt Pharr 2021-05-02 14:14:38 -07:00
  • 0d4b293581 wavefront fix attempt 2 Wenzel Jakob 2021-05-01 23:56:43 +02:00
  • f7ce449495 wavefront fix attempt 1 Wenzel Jakob 2021-05-01 23:53:08 +02:00
  • 4aa8f83527 Disallow CUDA 11.3.0 due to internal compiler error. Matt Pharr 2021-05-01 08:06:44 -07:00
  • 91a83e0551 Windows, windows... Matt Pharr 2021-04-30 15:55:39 -07:00
  • 9c7db05fad Fewer universal references again Matt Pharr 2021-04-30 15:21:45 -07:00
  • 031f3e059b Be less aggressive with universal references Matt Pharr 2021-04-30 15:02:27 -07:00
  • dc89cf06c9 Another Windows fix Matt Pharr 2021-04-30 14:53:42 -07:00
  • 1d42fb03c6 Attempt to fix Windows build Matt Pharr 2021-04-30 14:38:30 -07:00
  • 5298e807ec Generalize GPU rendering path to run on both CPU and GPU Matt Pharr 2021-04-28 12:52:16 -07:00
  • 59a18d0bad imgtool falsecolor --ramp Matt Pharr 2021-04-29 16:23:21 -07:00
  • 2a86a53704 GPU: skip printing statistics unless --stats was provided Matt Pharr 2021-04-28 09:27:37 -07:00
  • 383bc8a9eb Fix GPU build, for real this time. Matt Pharr 2021-04-27 10:50:54 -07:00
  • 8d004f2ff3 Fix GPU build Matt Pharr 2021-04-27 10:38:06 -07:00
  • eaf02e74d3 Add --log-file option Matt Pharr 2021-04-27 10:18:22 -07:00
  • 8c6a275c1b Only print statistics if --stats option is given Matt Pharr 2021-04-27 10:17:42 -07:00
  • bbae906514 Bump copyright year Matt Pharr 2021-04-27 10:17:13 -07:00
  • faf3a4f87e Improve handling of alpha-masked area lights. Matt Pharr 2021-04-26 06:49:02 -07:00
  • 3971d92233 Fix bug in isInterface() lambda in de901103e2 Matt Pharr 2021-04-24 11:20:40 -07:00
  • de901103e2 Ignore area lights with "interface" material. Matt Pharr 2021-04-24 09:20:12 -07:00
  • 30c5815af8 Deprecate "none" material -> now named "interface", which is more clear. Matt Pharr 2021-04-24 09:19:24 -07:00
  • 852829c71d PiecewiseLinearSpectrum::FromInterleaved(): extend samples to visible wavelength range Matt Pharr 2021-04-24 07:44:33 -07:00
  • bb3f9a4f81 Fix another "class" SOA Matt Pharr 2021-04-23 16:33:10 -07:00
  • eec2332689 GPU: add support for instances that include blps and quadrics. Matt Pharr 2021-04-23 16:24:04 -07:00
  • a4798db82a Add missing PBRT_CPU_GPU qualifier in Medium::Sample() implementations Matt Pharr 2021-04-23 12:38:36 -07:00
  • 163719caf9 Add Medium::Sample() method Matt Pharr 2021-04-23 10:52:00 -07:00
  • 1b2667e91b InvertBilinear() cleanups Matt Pharr 2021-04-23 10:33:45 -07:00
  • 91e8e74f22 Add IsFinite() and replace some uses of std::isinf() with IsInf() Matt Pharr 2021-04-23 10:33:04 -07:00
  • a07d78e786 SPPMIntegrator: adjust sizing of threadScratchBuffers Matt Pharr 2021-04-22 17:01:55 -07:00
  • 62753bbbe9 Update from book source. No functional changes. Matt Pharr 2021-04-22 17:00:52 -07:00
  • 2458355c75 Compute correct texture (u,v)s when sampling shapes Matt Pharr 2021-04-22 14:03:49 -07:00
  • 38dd09c2bb BilinearPatch: ignore emission texture if uvs are provided Matt Pharr 2021-04-22 13:05:22 -07:00
  • d86222e6b0 Fix bug in BilinearPatch::Sample() Matt Pharr 2021-04-22 13:03:18 -07:00
  • f089313b18 Add InvertBilinear() Matt Pharr 2021-04-22 13:02:12 -07:00
  • 499d6b6f91 Use SO_SNDTIMEO for the display server socket on Linux. Matt Pharr 2021-04-21 15:05:29 -07:00