Fermat
Public Methods | Static Public Methods | Public Members | List of all members
RPT Struct Reference

Detailed description

Reuse-based Path tracer: This class implements a reuse-based path tracer, inspired by the paper: "Accelerating path tracing by re-using paths", by Bekaert et al EGRW '02 Proceedings of the 13th Eurographics workshop on Rendering Pages 125-134

#include <rpt.h>

Inheritance diagram for RPT:
RendererInterface

Public Methods

void init (int argc, char **argv, RenderingContext &renderer)
 
void render (const uint32 instance, RenderingContext &renderer)
 
void setup_samples (const uint32 instance)
 
void destroy ()
 
- Public Methods inherited from RendererInterface
virtual uint32 auxiliary_channel_count ()
 
virtual void register_auxiliary_channels (FBufferStorage &fbuffer, const uint32 channel_offset)
 
virtual void update_scene (RenderingContext &renderer)
 
virtual void keyboard (unsigned char character, int x, int y, bool &invalidate)
 
virtual void mouse (RenderingContext &renderer, int button, int state, int x, int y)
 
virtual void draw (RenderingContext &renderer)
 
virtual void dump_speed_stats (FILE *stats)
 

Static Public Methods

static RendererInterfacefactory ()
 

Public Members

RPTOptions m_options
 
DomainBuffer< CUDA_BUFFER, Raym_rays
 
DomainBuffer< CUDA_BUFFER, Hitm_hits
 
DomainBuffer< CUDA_BUFFER, float4 > m_weights
 
DomainBuffer< CUDA_BUFFER, float4 > m_weights2
 
DomainBuffer< CUDA_BUFFER, float > m_probs
 
DomainBuffer< CUDA_BUFFER, uint32 > m_pixels
 
DomainBuffer< CUDA_BUFFER, uint32 > m_counters
 
RPTVPLStorage m_vpls
 
TiledSequence m_sequence
 
cugar::LFSRGeneratorMatrix m_generator
 
cugar::LFSRRandomStream m_random
 
float m_time
 

Member Function Documentation

◆ destroy()

void RPT::destroy ( )
inlinevirtual

this method is responsible for destroying the object itself

Reimplemented from RendererInterface.

◆ init()

void RPT::init ( int  argc,
char **  argv,
RenderingContext renderer 
)
virtual

this method is responsible for any command options parsing / initializations the renderer might need to perform

Reimplemented from RendererInterface.

◆ render()

void RPT::render ( const uint32  instance,
RenderingContext renderer 
)
virtual

this method is responsible for rendering a given frame in a progressive rendering

Parameters
instancethe frame instance

Reimplemented from RendererInterface.


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