Fermat
Public Methods | Public Members | List of all members
BPTContextBase< TBPTOptions > Struct Template Reference

Detailed description

template<typename TBPTOptions>
struct BPTContextBase< TBPTOptions >

[BPTContextBaseBlock]

Basic context for bidirectional path tracing
This context class is responsible for storing:
  • a set of light vertices, generated throughout the light subpath sampling phase
  • a set of ray queues used throughout the wavefront scheduling process of the entire bidirectional path tracing pipeline
  • an options member, deriving from BPTOptionsBase

#include <bpt_context.h>

Public Methods

 BPTContextBase (const RenderingContextView &_renderer, const VertexStorageView &_light_vertices, const BPTQueuesView &_queues, const TBPTOptions _options=TBPTOptions())
 
void set_camera (const Camera &camera, const uint32 res_x, const uint32 res_y, const float aspect_ratio)
 

Public Members

uint32 in_bounce
 
RayQueue in_queue
 
RayQueue shadow_queue
 
RayQueue scatter_queue
 
VertexStorageView light_vertices
 
cugar::Vector3f camera_U
 
cugar::Vector3f camera_V
 
cugar::Vector3f camera_W
 
float camera_W_len
 
float camera_square_focal_length
 
TBPTOptions options
 

The documentation for this struct was generated from the following file: