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

Detailed description

Primary Sample Space MLT renderer

#include <pssmlt.h>

Inheritance diagram for PSSMLT:
RendererInterface

Public Methods

void init (int argc, char **argv, RenderingContext &renderer)
 
void render (const uint32 instance, RenderingContext &renderer)
 
void sample_seeds (const uint32 n_chains)
 
void recover_primary_coordinates (PSSMLTContext &context, RenderingContextView &renderer_view)
 
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

PSSMLTOptions m_options
 
TiledSequence m_sequence
 
BPTQueuesStorage m_queues
 
VertexStorage m_light_vertices
 
DomainBuffer< CUDA_BUFFER, float > m_mut_u
 
DomainBuffer< CUDA_BUFFER, float > m_light_u
 
DomainBuffer< CUDA_BUFFER, float > m_eye_u
 
DomainBuffer< CUDA_BUFFER, float4 > m_path_value
 
DomainBuffer< CUDA_BUFFER, float > m_path_pdf
 
DomainBuffer< CUDA_BUFFER, float4 > m_connections_value
 
DomainBuffer< CUDA_BUFFER, float > m_connections_cdf
 
DomainBuffer< CUDA_BUFFER, uint32 > m_seeds
 
DomainBuffer< CUDA_BUFFER, float > m_st_norms
 
DomainBuffer< CUDA_BUFFER, uint32 > m_rejections
 
float m_image_brightness
 
uint32 m_n_lights
 
uint32 m_n_init_light_paths
 
uint32 m_n_init_paths
 
uint32 m_n_connections
 
float m_time
 
cugar::LFSRGeneratorMatrix m_generator
 
cugar::LFSRRandomStream m_random
 

Member Function Documentation

◆ destroy()

void PSSMLT::destroy ( )
inlinevirtual

this method is responsible for destroying the object itself

Reimplemented from RendererInterface.

◆ init()

void PSSMLT::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 PSSMLT::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: