1. 26 4月, 2022 1 次提交
    • M
      Add --interactive option · e4e6ad32
      Matt Pharr 提交于
      Currently only works with the --gpu / --wavefront integrator.
      WASD-style controls; could use refinement.
      Control-R to record frames.
      e4e6ad32
  2. 29 7月, 2021 1 次提交
  3. 20 5月, 2021 1 次提交
  4. 03 5月, 2021 2 次提交
    • M
      Update from book source. No functional changes. · af44f69a
      Matt Pharr 提交于
      af44f69a
    • 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
  5. 19 2月, 2021 1 次提交
    • M
      Update from book source. · 08418214
      Matt Pharr 提交于
      Renamed RandomSampler -> IndependentSampler and thus, now it's
      "independent" in scene description files rather than "random" to choose
      that one.
      
      Includes various other minor changes that don't affect functionality.
      08418214
  6. 05 1月, 2021 1 次提交
  7. 19 11月, 2020 1 次提交
  8. 18 11月, 2020 2 次提交
  9. 17 11月, 2020 1 次提交
  10. 23 9月, 2020 1 次提交
    • M
      Update from book source · d698b1b5
      Matt Pharr 提交于
      The PMJ02BNSampler now takes a "seed" parameter.
      Improved dimension->pmjInstance indexing (issue #36, via @Andrew-Helmer)
      d698b1b5
  11. 07 9月, 2020 1 次提交
  12. 01 9月, 2020 1 次提交
    • M
      Merge 'windows-gpu-rework' branch to 'master' · 0e68e2d1
      Matt Pharr 提交于
      This lets the Windows GPU build run efficiently, without the hack of
      synchronizing after each kernel. There, the GPUPathIntegrator is now stored
      in CPU memory; in turn, the GPU kernels capture *this by value so that they
      can access the values of members.
      0e68e2d1
  13. 27 8月, 2020 1 次提交
  14. 18 8月, 2020 1 次提交