1. 23 5月, 2022 1 次提交
  2. 26 4月, 2022 5 次提交
  3. 02 2月, 2022 1 次提交
    • M
      Unicode normalization (#225) · c7e3879c
      Matt Pharr 提交于
      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.
      c7e3879c
  4. 28 1月, 2022 1 次提交
    • M
      Windows improvements · 79bc1783
      Matt Pharr 提交于
      - #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
      79bc1783
  5. 03 11月, 2021 1 次提交
  6. 29 10月, 2021 1 次提交
    • M
      ext/ updates · 83d4ae16
      Matt Pharr 提交于
      Update filesystem/ and stb/ to latest versions.
      Start using git submodules for lodepng (and update to latest.)
      83d4ae16
  7. 20 8月, 2021 1 次提交
  8. 07 8月, 2021 2 次提交
  9. 31 7月, 2021 1 次提交
  10. 29 7月, 2021 3 次提交
  11. 23 7月, 2021 2 次提交
    • M
      Add --log-utilization option to pbrt. · 6e48cc04
      Matt Pharr 提交于
      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.
      6e48cc04
    • J
      Add plytool to the install list · bfcf5287
      jim price 提交于
      bfcf5287
  12. 16 7月, 2021 1 次提交
  13. 09 7月, 2021 1 次提交
  14. 04 7月, 2021 1 次提交
  15. 03 6月, 2021 2 次提交
    • M
      Add GetCommandLineArguments() function (and use it). · 84083aca
      Matt Pharr 提交于
      Beyond the convenience of having them as a vector of strings, this
      is where UTF16 -> UTF8 conversion of args happens on Windows.
      
      This led to some adjustments to ParseArg()...
      
      With this (and a number of preceeding commits), #136 should now be fixed.
      84083aca
    • M
      CMakeLists.txt improvements · 75d6ac47
      Matt Pharr 提交于
      Put cpu/ source files in their own subfolder for MSVC
      Add the cpu/*.h files, which weren't included in PBRT_SOURCE_HEADERS before.
      75d6ac47
  16. 02 6月, 2021 1 次提交
  17. 04 5月, 2021 1 次提交
  18. 03 5月, 2021 1 次提交
    • M
      Generalize GPU rendering path to run on both CPU and GPU (#125) · e90458fb
      Matt Pharr 提交于
      * Generalize GPU rendering path to run on both CPU and GPU
      
      Now we have a WavefrontIntegrator that can both run on the CPU (backed by
      ParallelFor() for parallelization and pbrt's aggregates for ray
      intersection acceleration) and on the GPU (backed by GPUParallelFor() for
      parallelization and OptiX for ray intersection on NVIDIA GPUs.)
      
      Beyond generalizing the code, this refactor allows CPU-side debugging and
      testing of the wavefront integrator.  Doing so allows further isolation of
      the GPU-specific code into a few source files, now just ~2.5k lines of code.
      
      This includes a bug fix in the wavefront medium code to resolve MixMaterials
      to one of their constituent materials before enqueuing material evaluation
      and shading work.
      
      Note that on the CPU, the wavefront integrator runs 5-10x more slowly than
      pbrt's regular CPU integrators, so it is not recommended for regular use...
      Co-authored-by: NWenzel Jakob <wenzel.jakob@epfl.ch>
      e90458fb
  19. 01 5月, 2021 1 次提交
  20. 18 4月, 2021 1 次提交
  21. 20 2月, 2021 1 次提交
    • M
      Update from book source. · 09ea972a
      Matt Pharr 提交于
      - Minor changes to how hash values are computed for scrambling in the
      ZSobolSampler.
      - Folded util/bits.h into util/math.h.
      09ea972a
  22. 18 2月, 2021 2 次提交
  23. 15 2月, 2021 1 次提交
  24. 11 2月, 2021 1 次提交
    • M
      CMake improvements · 70c39fce
      Matt Pharr 提交于
      Set PBRT_DEBUG_BUILD via generator expression.
      
      Use -march=native with CUDA builds again using a generator expression that
      adds '-Xcompiler' for CUDA targets.  (Hopefully works around #87.)
      This gives about a 10% perf. benefit with CPU rendering.
      70c39fce
  25. 29 1月, 2021 2 次提交
  26. 23 1月, 2021 1 次提交
  27. 22 1月, 2021 2 次提交
  28. 05 1月, 2021 1 次提交