Commit graph

  • 045bd845aa cmake: Issue error if CUDA compiler earlier than 11.0 is found. Matt Pharr 2020-08-30 11:49:45 -07:00
  • aa625b38be Zero-initialize TextureEvalContext member variables Matt Pharr 2020-08-30 11:28:09 -07:00
  • d9f0626914 GPU: check that unified addressing is supported Matt Pharr 2020-08-30 07:06:42 -07:00
  • 76a017c17d More cudaDeviceSynchronize() calls on Windows to work around unified memory limitations. Matt Pharr 2020-08-29 19:19:58 -07:00
  • cc1b1fd1cc Remove chatty LOG_VERBOSE about ignored deallocations in CUDATrackedMemoryResource Matt Pharr 2020-08-29 17:01:37 -07:00
  • c088eb662e Improve wording of error message Matt Pharr 2020-08-29 17:00:44 -07:00
  • 8364444d39 GPU: synchronize after each kernel launch on Windows Matt Pharr 2020-08-29 15:00:46 -07:00
  • 8ecf178645 Add forgotten CUDA_CHECK in pr #22 Matt Pharr 2020-08-29 11:18:18 -07:00
  • 74c202a31b Remove sensor "exposuretime" parameter. Instead pass through time serived from camera shutter open/close times. Matt Pharr 2020-08-29 08:50:31 -07:00
  • a1527a57e0 Handle "whitebalance" if specified for default "cie1931" Sensor Matt Pharr 2020-08-29 07:53:06 -07:00
  • b925f5db22 Use regular CUDA atomics if cuda::atomic isn't available. Matt Pharr 2020-08-29 07:05:30 -07:00
  • e44f2fb5e8 GPU: Mark unused argument of cudaMemAdvise() Pierre Moreau 2020-08-29 14:00:27 +02:00
  • 0380b11ffe GPU: Restrict pre-fetching to supported devices Pierre Moreau 2020-08-29 11:49:09 +02:00
  • 31ad9dc422 CMake: Add source headers to pbrt_lib Pierre Moreau 2020-08-29 10:32:55 +02:00
  • a2ea7aacf2 CMake: Mark PBRT_OPTIX7_PATH as PATH Pierre Moreau 2020-08-29 01:09:12 +02:00
  • df170ff48a GPU: Mark unused argument of cudaMemAdvise() Pierre Moreau 2020-08-29 14:00:27 +02:00
  • 4af171d0ef GPU: Restrict pre-fetching to supported devices Pierre Moreau 2020-08-29 11:49:09 +02:00
  • 643ebcc5c2 CMake: Add source headers to pbrt_lib Pierre Moreau 2020-08-29 10:32:55 +02:00
  • ed08458775 CMake: Mark PBRT_OPTIX7_PATH as PATH Pierre Moreau 2020-08-29 01:09:12 +02:00
  • d92f06a84a Issue error (rather than assert fail) if a PLY mesh with quads is used as a light source. Matt Pharr 2020-08-28 14:43:26 -07:00
  • b8a968c2c7 Add speculative workaround for cmake/CUDA/Windows bug (issue #20) Matt Pharr 2020-08-28 14:26:51 -07:00
  • 8998db1cf6 Fix misspelling in intended #undef Matt Pharr 2020-08-28 13:45:01 -07:00
  • 2ba3155fb9 Actually fix mac build Matt Pharr 2020-08-28 13:24:00 -07:00
  • ada9e4ba21 Another #undef RGB for the Windows/CUDA build. Matt Pharr 2020-08-28 13:08:05 -07:00
  • 43d96f525e Add IsInf() and IsNaN() so that we can call them from device code. Matt Pharr 2020-08-28 13:05:46 -07:00
  • c890f281c4 Add pstd::array<T, 0> template specialization. Matt Pharr 2020-08-28 11:11:25 -07:00
  • 7975f1e3d0 Remove isnan() calls from GPU device code Matt Pharr 2020-08-28 10:11:32 -07:00
  • 9799983792 Windows + CUDA build fixes (not yet all the way there) Matt Pharr 2020-08-28 10:08:47 -07:00
  • 1900bd37be Parallelize NanoVDBMediumProvider::GetMaxDensityGrid() Matt Pharr 2020-08-28 08:04:21 -07:00
  • 92df78483c Fix cases where beta/pdfs would underflow in volpathintegrators. Matt Pharr 2020-08-28 06:19:17 -07:00
  • 22e3e7a37d Fix max density grid computation for NanoVDB volumes. Matt Pharr 2020-08-27 16:53:06 -07:00
  • 8f6faf4e8a Add TODO about RR for media Matt Pharr 2020-08-27 16:20:10 -07:00
  • af327fa3ec Use Russian roulette for transmittance shadow rays Matt Pharr 2020-08-27 16:12:38 -07:00
  • 2940634d6d Set default log level in Options (stop imgtool being so chatty) Matt Pharr 2020-08-27 15:46:18 -07:00
  • ed1f82ecbc Fix another rare NaN case (this one in FrConductor().) Matt Pharr 2020-08-27 12:17:46 -07:00
  • 9217aa75dd Enforce non-negative RGB values in user input Matt Pharr 2020-08-27 12:17:28 -07:00
  • 4ae598b97e Use stderr for PBRT_DBG on the CPU Matt Pharr 2020-08-27 07:41:19 -07:00
  • d13209a3e0 Remove now-unused VLOG infrastructure Matt Pharr 2020-08-27 07:27:29 -07:00
  • 815a671509 Promote GPU DBG() to PBRT_DBG() and replace uses of VLOG() with it Matt Pharr 2020-08-27 07:09:19 -07:00
  • 781f4a4291 GPU: specify both start sample and number of samples with --debugstart Matt Pharr 2020-08-27 06:36:11 -07:00
  • 5e1a83327c Fix DiffuseAreaLight scale normalization with images for emission Matt Pharr 2020-08-27 06:28:48 -07:00
  • fbb51be188 Adjust tolerance for Trowbridge Reitz D() NaN fix Matt Pharr 2020-08-27 06:27:39 -07:00
  • 4473987410 Fix rare NaN case in T-R microfacet D() method Matt Pharr 2020-08-26 17:54:14 -07:00
  • 8f688d1c68 Rename GeneralMedium member variable Matt Pharr 2020-08-26 14:29:32 -07:00
  • f8108305e9 Implement various medium-related ToString() methods Matt Pharr 2020-08-26 14:28:11 -07:00
  • a12bd5ee39 Add support for nanovdb Matt Pharr 2020-08-26 14:18:56 -07:00
  • 72975ee563 Refactor bounds conventions for GeneralMedium Matt Pharr 2020-08-26 14:06:48 -07:00
  • 910f3fb840 GPU: improve beta/pdf rescaling in media code Matt Pharr 2020-08-26 14:00:59 -07:00
  • 0483192ef0 GPU: improve Ld/pdf rescaling in OptiX code Matt Pharr 2020-08-26 13:59:31 -07:00
  • 3cde4648fb Fix rare NaN case in GeneralMedium::SampleTmaj Matt Pharr 2020-08-26 13:55:03 -07:00
  • 0a9a463251 Make Blackbody() inline and make BlackbodySpectrum constructor GPU-callable Matt Pharr 2020-08-26 13:54:27 -07:00
  • cdb6eac0d1 Fix typo in #ifdef Matt Pharr 2020-08-26 13:54:00 -07:00
  • 0d76bdfc55 --debugstart support for the GPU Matt Pharr 2020-08-26 12:18:33 -07:00
  • 69fb317ddc Handle "maxsampleluminance" in --upgrade Matt Pharr 2020-08-25 09:40:10 -07:00
  • d5717cd143 Add ext/openvdb for nanovdb Matt Pharr 2020-08-25 09:39:49 -07:00
  • 51e79b649f GPU: don't do unnecessary work at depth==maxDepth for media. Matt Pharr 2020-08-24 12:03:58 -07:00
  • c85da1b042 GPU: fix another case where an unset pstd::optional might be dereferenced. Matt Pharr 2020-08-24 11:42:10 -07:00
  • 62892ccd32 Add CloudMedium Matt Pharr 2020-08-24 09:56:42 -07:00
  • 061289bce0 Fix rare NaNs in vol path integrator Matt Pharr 2020-08-24 09:56:21 -07:00
  • 78b6fe0755 util/noise Matt Pharr 2020-08-24 09:55:27 -07:00
  • 1e6c0e5e48 error.cpp: #include <cstdlib> for std::quick_exit. (Fix mac build). Matt Pharr 2020-08-23 16:43:22 -07:00
  • 15ff27ef82 Refactor GridDensityMedium into GeneralMedium with a grid provider. No change in functionality. Matt Pharr 2020-08-23 15:56:22 -07:00
  • 1e922ef3e2 Fix logic for checking if a material needs the basic or universal texture evaluator. Matt Pharr 2020-08-23 10:39:22 -07:00
  • 50fcd2caba Use a ring-buffer of CUDA events for GPU kernel profiling. Matt Pharr 2020-08-23 07:56:48 -07:00
  • 1d929a7719 GPU: improve handling of MixMaterial Matt Pharr 2020-08-23 06:34:30 -07:00
  • f6cda14769 Improve renormalization of the (beta,pdfUni,pdfNEE) lot. Matt Pharr 2020-08-22 15:55:29 -07:00
  • ff1b949e7c GPU: when secondary wavelengths are terminated (e.g. dispersion), update the lambda value in PixelSampleState. Matt Pharr 2020-08-22 15:53:32 -07:00
  • db8aef2ef1 GPU: fix case where unset pstd::optional could be used Matt Pharr 2020-08-22 10:52:02 -07:00
  • 906e8bd227 Avoid more numerically instable cases in SampleSphericalTriangle() Matt Pharr 2020-08-22 10:50:20 -07:00
  • 48c59fe027 SampledWavelengths::SecondaryTerminated() Matt Pharr 2020-08-22 10:49:48 -07:00
  • 035529aaaf Revert "LOG_FATAL for MixMaterial methods in CPU code" Matt Pharr 2020-08-21 17:19:48 -07:00
  • 04fd052c9b LOG_FATAL for MixMaterial methods in CPU code Matt Pharr 2020-08-21 16:52:43 -07:00
  • bd6317aa32 Handle negative alpha, just in case. Matt Pharr 2020-08-21 16:52:30 -07:00
  • 936dd903c9 Bring "mix" material back Matt Pharr 2020-08-21 16:48:21 -07:00
  • 43bd755c9f Drop texture alpha channel if all ones. Matt Pharr 2020-08-21 14:38:40 -07:00
  • 0b028a8283 Stochastic alpha Matt Pharr 2020-08-21 07:34:30 -07:00
  • 3336da4d6c Maintain alpha channel in image textures. Matt Pharr 2020-08-21 10:52:12 -07:00
  • 64f550bfec Update from book source Matt Pharr 2020-08-21 06:28:42 -07:00
  • fb79709be2 Fix SPPM for Physlight addition Matt Pharr 2020-08-20 11:49:35 -07:00
  • 0d7f1ffd2c
    Physlight (#16) Anders Langlands 2020-08-21 05:47:27 +12:00
  • 0d3b3d73b3 Fix various issues with ray differentials after many specular bounces. Issue #17. Matt Pharr 2020-08-20 10:43:50 -07:00
  • 0516454e56 Use std::quick_exit for ErrorExit(). Matt Pharr 2020-08-20 09:33:29 -07:00
  • 10e36000c7 Rewrite test for ".gz" extention in rply.cpp to not use strcasestr(). Matt Pharr 2020-08-20 08:42:57 -07:00
  • 296c550688 GPU: Clean up shadow ray and BSSRDF queue pushes Matt Pharr 2020-08-20 06:38:37 -07:00
  • a8f55bc837 fix readme formatting Anders Langlands 2020-08-20 17:31:57 +12:00
  • 5c28d84351 Add note to readme and add copyright notice to touched source files. Anders Langlands 2020-08-20 17:30:55 +12:00
  • a137aecae9 simplify and fix white point normalization Anders Langlands 2020-08-20 16:58:42 +12:00
  • bf9b0b4ad1 fix merge Anders Langlands 2020-08-20 16:58:26 +12:00
  • 85d180043c move illuminance calculation to InfiniteLight Create() and remove illuminance from metadata. calculation takes 0.3s on 8k latlong on my latop so probably ok perf-wise Anders Langlands 2020-08-20 14:47:28 +12:00
  • 1c62d1ecc6 move rgb luminance calculation to RGBColorSpace Anders Langlands 2020-08-20 14:36:45 +12:00
  • 5ee28499dc Giving up on the trainwreck that is github actions Matt Pharr 2020-08-19 19:31:44 -07:00
  • ebec3d86b2
    Even less parallel in CI Matt Pharr 2020-08-19 16:57:38 -07:00
  • 84f9b18157
    Add max-parallel to CI Matt Pharr 2020-08-19 16:55:56 -07:00
  • e838fef36f
    Attempt to add MacOS and Windows to CI Matt Pharr 2020-08-19 16:53:12 -07:00
  • 81fc459928
    Fix redundant directory setting in cmake --build Matt Pharr 2020-08-19 16:39:46 -07:00
  • 534e393f53
    Fix cmake usage in CI (again!) Matt Pharr 2020-08-19 16:38:26 -07:00
  • b4ef428a9e
    Alternate cmake/Ninja workflow for CI Matt Pharr 2020-08-19 16:35:49 -07:00
  • 32e9f075ed
    Fix syntax error Matt Pharr 2020-08-19 16:21:20 -07:00
  • 0d2bcd81f2
    Ongoing work on the github build action Matt Pharr 2020-08-19 16:19:41 -07:00
  • 87118ee554
    Checkout submodules in CI action Matt Pharr 2020-08-19 16:11:36 -07:00