Class plt_bdpt_t¶
Defined in File plt_bdpt.hpp
Nested Relationships¶
Nested Types¶
Inheritance Relationships¶
Base Type¶
public wt::integrator::integrator_t
(Class integrator_t)
Class Documentation¶
-
class plt_bdpt_t : public wt::integrator::integrator_t¶
PLT bi-directional path tracer.
Public Functions
-
plt_bdpt_t(const wt_context_t &ctx, std::string id, options_t opts) noexcept¶
-
inline virtual sensor::sensor_write_flags_e sensor_write_flags() const noexcept override¶
Indicates how the integrator writes to the sensor, and which capabilities are expected from the sensor (or its underlying film).
-
virtual void integrate(const integrator_context_t &ctx, const sensor::block_handle_t &block, const vec3u32_t &sensor_element, std::uint32_t samples_per_element) const noexcept override¶
Integrates light transport in the scene, given a sensor element and samples count. The arguments
block
andsensor_element
are only used whensensor_write_flags()
setswt::sensor::sensor_write_flags_e::writes_block_splats
, otherwise are ignored.- Parameters:
block – block to write samples to
sensor_element – sensor element that
block
belongs tosamples_per_element – sample count to use for this element
Public Static Functions
-
static std::shared_ptr<integrator_t> load(const std::string &id, scene::loader::loader_t *loader, const scene::loader::node_t &node, const wt::wt_context_t &context)¶
-
struct options_t¶
-
plt_bdpt_t(const wt_context_t &ctx, std::string id, options_t opts) noexcept¶