Commit graph

  • 95b4c9b42d Pass -fkeep-inline-functions to gcc before version 8 Matt Pharr 2020-10-21 16:26:42 -07:00
  • 672dfebb7d CMakeLists: add --forward-unknown-to-host-compiler to CUDA flags Matt Pharr 2020-10-21 16:23:42 -07:00
  • ad7c8a9fa7 GPUThreadInit(): don't try to call cudaSetDevice if the GPU isn't being used. Matt Pharr 2020-10-21 16:17:14 -07:00
  • 10def1adaa Issue error if cmake is invoked with MSVC2017 (or earlier). Matt Pharr 2020-10-21 16:00:36 -07:00
  • 8578a3ed0c Call cudaSetDevice() in all thread pool worker threads. Matt Pharr 2020-10-21 15:50:23 -07:00
  • 00bfa32398 ext/flip: fix Linux build Matt Pharr 2020-10-21 14:00:04 -07:00
  • 64169582f5 Fix bug in ParsedScene::WorldBegin Matt Pharr 2020-10-21 13:57:06 -07:00
  • 98ea534e35 small FLIP fixes Matt Pharr 2020-10-21 12:00:06 -07:00
  • 80376ec6ef Add support for FLIP error metric to imgtool Matt Pharr 2020-10-21 10:32:42 -07:00
  • 25bfd94b07 Merge branch 'master' of https://github.com/mmp/pbrt-v4 povmaniac 2020-10-20 22:20:14 +02:00
  • 386ae53e7b imgtool assemble bugfixes Matt Pharr 2020-10-18 17:26:19 -07:00
  • f86a3e42f7 imgtool: fix a few lingering instances of "L1" that should be "MAE" Matt Pharr 2020-10-18 14:00:36 -07:00
  • 5f849d4185 Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-17 15:48:45 -07:00
  • 8ba7fed445 Change 'OPTIONAL' to 'REQUIRED' for include user configurations. This force to apply user settings. Pedro 2020-10-17 19:07:03 +02:00
  • 7164c95485 Mark TransformBegin/End as deprecated Matt Pharr 2020-10-17 09:12:57 -07:00
  • 10735608f8 Update from book source. Matt Pharr 2020-10-17 08:39:59 -07:00
  • 7585c478d0 Update CMake configuration to allow include user settings Pedro 2020-10-17 13:49:26 +02:00
  • f6c0495dac Fix another race in the BilinearPatch constructor... Matt Pharr 2020-10-15 14:55:12 -07:00
  • 557bc94fd9 Delete unused RGB member variables in RGBSpectrum classes Matt Pharr 2020-10-15 14:52:03 -07:00
  • 015ab47032 Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-15 14:37:21 -07:00
  • e52606c6b7 Merge branch 'master' of github.com:mmp/pbrt-v4 Matt Pharr 2020-10-14 16:15:47 -07:00
  • 7b8600bc2c Update from book source Matt Pharr 2020-10-14 16:15:35 -07:00
  • 1df67519f8 Update from book source. No significant changes. Matt Pharr 2020-10-14 14:21:35 -07:00
  • 2747015711 Add fix for #59 to the GPU rendering path as well. Matt Pharr 2020-10-14 11:17:27 -07:00
  • cce704c694 When possible, offset reference point to correct side of surface for light sampling. Matt Pharr 2020-10-14 11:02:58 -07:00
  • fb76b8d388 Improve sRGB <--> linear conversions Matt Pharr 2020-10-14 08:34:02 -07:00
  • f7cf7f8af1 Spectrum improvements / bugfix. Matt Pharr 2020-10-13 15:56:45 -07:00
  • ebb36d2796 Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-13 15:52:37 -07:00
  • fae1a86e6a
    Merge pull request #62 from mmp/sigmoid-fix Matt Pharr 2020-10-13 06:55:56 -07:00
  • d813f28d57 RGBSigmoidPolynomial: use an exact inverse mapping for uniform colors Wenzel Jakob 2020-10-13 15:11:12 +02:00
  • 1b25681040 Use pstd::vector, not std::vector for Image::channelNames member variable. Matt Pharr 2020-10-12 15:26:07 -07:00
  • 43e372be34 Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-12 15:25:28 -07:00
  • da96a0ccf3 Fix race condition in BilinearPatch constructor. Matt Pharr 2020-10-12 09:47:31 -07:00
  • f3c36f3877 Update from book source. Matt Pharr 2020-10-12 09:43:23 -07:00
  • 8a7cfca27a Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-11 17:57:21 -07:00
  • 5c36705443 Ongoing interval arithmetic cleanups. Matt Pharr 2020-10-10 07:42:33 -07:00
  • 33308ca686 Update from book source. Matt Pharr 2020-10-09 14:36:13 -07:00
  • 782f8e2d69 Fix ImageInfiniteLight luminance computation to use the equi-area parameterization Matt Pharr 2020-10-09 09:52:48 -07:00
  • 88a814d4c6 Use MIS compensation with UniformInfiniteLight. Matt Pharr 2020-10-08 15:11:36 -07:00
  • 528cfc2db2
    Merge pull request #57 from pierremoreau/fix_ptx_generation Matt Pharr 2020-10-09 10:12:47 -07:00
  • f73d1760b7 Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-08 10:46:46 -07:00
  • 5a94fda655 Switch to equal-area sphere parameterization for GoniometricLight Matt Pharr 2020-10-08 08:37:22 -07:00
  • 9dd45839e1 imgtool: rename "makeenv" option to "makeequiarea" Matt Pharr 2020-10-08 07:56:27 -07:00
  • d6b372953f Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-08 07:55:31 -07:00
  • cfec83a48a Flip v texture coordinate when imporance sampling images for emission. Matt Pharr 2020-10-08 06:35:07 -07:00
  • 6446512c3d Rework the compilation to PTX and embedding Pierre Moreau 2020-10-08 13:36:49 +02:00
  • 914f59e8c1
    Merge pull request #55 from shadeops/arealight_image_fix Matt Pharr 2020-10-07 15:43:29 -07:00
  • 790aa5586b
    Merge branch 'master' into arealight_image_fix Matt Pharr 2020-10-07 15:43:05 -07:00
  • 5858ba6774 Add assorted RGB::ClampZero() calls to avoid passing negative RGB values to RGBIlluminantSpectrum Matt Pharr 2020-10-07 15:40:05 -07:00
  • 27b54d5175 Fix 2(!) AOIntegrator bugs. Matt Pharr 2020-10-07 15:16:22 -07:00
  • ec742b2cc9 Revert "Rework the compilation to PTX and embedding" Matt Pharr 2020-10-07 13:12:33 -07:00
  • 251754af95 Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-07 13:05:45 -07:00
  • 76449f1fd7 Flip DiffuseAreaLight's image uv.y coordinate jim price 2020-10-06 21:51:33 -07:00
  • 262d4ceb3e Remove unused member from LightLiSample Matt Pharr 2020-10-06 16:37:54 -07:00
  • 2e1fec4907 Go back to optional<> for Light::SampleLi() return value Matt Pharr 2020-10-06 14:40:27 -07:00
  • e6b4d9047f Fix various bugs in the type of RGB Spectrum being used. Matt Pharr 2020-10-06 07:28:09 -07:00
  • ffb407b209 Allow RGBSpectrum to store spectra that go above 1. Matt Pharr 2020-10-06 07:16:24 -07:00
  • ee103f3719 RGBSpectrum renaming pass. No change to functionality. Matt Pharr 2020-10-06 07:06:33 -07:00
  • 4426f455be Clean up CuboidMedium::SampleTMaj() logic Matt Pharr 2020-10-06 07:01:09 -07:00
  • 0e4b5ae1b9 Merge branch 'master' of github.com:mmp/pbrt-v4 Matt Pharr 2020-10-05 15:08:59 -07:00
  • 45f7a02d74
    Merge pull request #46 from shadeops/straight_curve_refinement Matt Pharr 2020-10-05 15:08:14 -07:00
  • 07215f5e47 Merge branch 'master' of github.com:mmp/pbrt-v4 Matt Pharr 2020-10-05 15:03:37 -07:00
  • ecb344acba
    Merge pull request #45 from shadeops/flat_ribbon_fix Matt Pharr 2020-10-05 15:03:21 -07:00
  • 9634acbd5d Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-05 13:40:47 -07:00
  • 535b1554de Update from book source. Matt Pharr 2020-10-05 08:51:04 -07:00
  • d998d6226c
    Merge pull request #50 from shadeops/resolve_nanovdb_file Matt Pharr 2020-10-04 10:20:27 -07:00
  • e520edca24 Wrap nvdb filename parameter with a ResolveFilename() jim price 2020-10-03 22:41:27 -07:00
  • 7c59035d48 Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-03 17:23:57 -07:00
  • 30822f66ec ch11 Matt Pharr 2020-10-03 17:00:45 -07:00
  • 6d1e06cebd Go back to pstd::optional for PhaseFunction Sample_p() return values Matt Pharr 2020-10-03 14:18:53 -07:00
  • 232b4fdb37 Update from book source. No meaningful changes to functionality. Matt Pharr 2020-10-03 14:05:56 -07:00
  • af028347b0 Upgrading to the latest nanovdb version. Antoine Webanck 2020-10-02 11:01:52 +02:00
  • 90e7ff4f96 Further improvements to checkerboard texture filtering Matt Pharr 2020-10-01 16:44:13 -07:00
  • 5fdd6140dd Clean up and improve checkerboard texture filtering. Matt Pharr 2020-10-01 08:37:23 -07:00
  • 9849dd39b2 Update from book source. No meaningful changes to functionality. Matt Pharr 2020-09-30 16:01:28 -07:00
  • 31d302ad1a Use SpectrumType in Spectrum image textures Matt Pharr 2020-09-30 12:47:16 -07:00
  • 3a9f523094 Re-plumb texture creation to create both SpectrumType::Reflectance and General variants Matt Pharr 2020-09-30 11:29:31 -07:00
  • 62afe73fcf Update from book source. No meaningful changes to functionality. Matt Pharr 2020-09-29 16:58:25 -07:00
  • bb1310b7ec Update from book source. Matt Pharr 2020-09-29 12:59:37 -07:00
  • 26a13e1b9b Add RotateFromTo() function Matt Pharr 2020-09-28 11:52:39 -07:00
  • e059670b06 Pass spp through to Camera::ApproximatedPdxy for better ray differential scaling Matt Pharr 2020-09-28 10:12:15 -07:00
  • 48ade016f4 Update from book source. Matt Pharr 2020-09-28 06:26:47 -07:00
  • 8927fd8601 Avoid refinement depth calc for straight curves jim price 2020-09-26 21:24:31 -07:00
  • 98e7036f31 Avoid division by zero with flat ribbon curves jim price 2020-09-26 16:36:33 -07:00
  • d6be103baa Update from book source Matt Pharr 2020-09-26 16:30:24 -07:00
  • 85eec5f884 Record whether the BSDF PDF is proportional in BSDFSample Matt Pharr 2020-09-24 14:19:26 -07:00
  • dde31eadda Switch (back) to returning a pstd::optional<BSDFSample> from Sample_f(). Matt Pharr 2020-09-24 13:25:16 -07:00
  • 16e61940e8 Fix rare NaN case in compute shape dndu/dndv Matt Pharr 2020-09-24 12:55:06 -07:00
  • 3338d91fbe CPU renderer: improve parallelism of instance and shape creation Matt Pharr 2020-09-24 09:41:15 -07:00
  • f4017a93e5 Update from book source Matt Pharr 2020-09-24 09:32:05 -07:00
  • 274e92e0b8 Removing previously deleted source file from CMakeLists.txt. Antoine Webanck 2020-09-24 10:05:21 +02:00
  • 6a9d31e9aa Removing previously deleted source file from CMakeLists.txt. Antoine Webanck 2020-09-24 10:05:21 +02:00
  • e5cfdcc4ec Improve bounding of RGB densities in UniformGridMediumProvider Matt Pharr 2020-09-23 16:39:12 -07:00
  • 2a3643361e Allow multi-threaded creation of tri/bilinear patch meshes Matt Pharr 2020-09-23 14:41:07 -07:00
  • 9605bc4b15 Fix rare NaN case in SampleLinear() Matt Pharr 2020-09-23 13:03:21 -07:00
  • 408ff88085 Call ErrorExit() if an animated light transform is provided. Matt Pharr 2020-09-23 12:51:43 -07:00
  • da4a13d350 Change defaults for sigma_a and sigma_s in scattering media. Matt Pharr 2020-09-23 12:50:54 -07:00
  • a947a84084 Exit if a malformed scene description is provided. Matt Pharr 2020-09-23 11:40:44 -07:00
  • bdc961f549 Don't use pstd::optional for SplitString* return values. Matt Pharr 2020-09-23 11:35:21 -07:00
  • c63f1b662a Support constant-valued alpha for alpha testing. Matt Pharr 2020-09-23 11:27:06 -07:00