Skip to content

Commit

Permalink
Merge branch 'next' of https://github.com/LuisaGroup/LuisaRender into…
Browse files Browse the repository at this point in the history
… next
  • Loading branch information
Mike-Leo-Smith committed Apr 20, 2024
2 parents 6a308aa + 55acf53 commit 7e9f67e
Show file tree
Hide file tree
Showing 18 changed files with 2,248 additions and 1,618 deletions.
7 changes: 5 additions & 2 deletions src/base/surface.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,14 @@ class Surface : public SceneNode {
struct Evaluation {
SampledSpectrum f;
Float pdf;

SampledSpectrum f_diffuse;
Float pdf_diffuse;
[[nodiscard]] static auto zero(uint spec_dim) noexcept {
return Evaluation{
.f = SampledSpectrum{spec_dim},
.pdf = 0.f};
.pdf = 0.f,
.f_diffuse = SampledSpectrum{spec_dim},
.pdf_diffuse = 0.f};
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/ext/assimp
Submodule assimp updated 662 files
2 changes: 1 addition & 1 deletion src/ext/cxxopts
2 changes: 1 addition & 1 deletion src/ext/fast_float
2 changes: 1 addition & 1 deletion src/ext/tinyexr
Submodule tinyexr updated 1 files
+2 −2 tinyexr.h
1 change: 1 addition & 0 deletions src/integrators/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ luisa_render_add_plugin(wavepathreadback CATEGORY integrator SOURCES wave_path_r
luisa_render_add_plugin(wavepath_v2 CATEGORY integrator SOURCES wave_path_v2.cpp)
luisa_render_add_plugin(group CATEGORY integrator SOURCES group.cpp)
luisa_render_add_plugin(aov CATEGORY integrator SOURCES aov.cpp)
luisa_render_add_plugin(nfor CATEGORY integrator SOURCES nfor.cpp)
luisa_render_add_plugin(direct CATEGORY integrator SOURCES direct.cpp)
luisa_render_add_plugin(pssmlt CATEGORY integrator SOURCES pssmlt.cpp)
luisa_render_add_plugin(gradientpath CATEGORY integrator SOURCES gpt.cpp)
Expand Down
Loading

0 comments on commit 7e9f67e

Please sign in to comment.