Fermat
Functions
PTModuleDetails

Detailed Description

This module defines a path tracing renderer implemented on top of the PTLib library.

Functions

void PathTracer::init (int argc, char **argv, RenderingContext &renderer)
 
void PathTracer::update_vtls_rl (const uint32 instance)
 
void PathTracer::render (const uint32 instance, RenderingContext &renderer)
 
void PathTracer::keyboard (unsigned char character, int x, int y, bool &invalidate)
 
void PathTracer::dump_speed_stats (FILE *stats)
 

Function Documentation

◆ dump_speed_stats()

void PathTracer::dump_speed_stats ( FILE *  stats)
virtual

dump some speed stats

Reimplemented from RendererInterface.

◆ init()

void PathTracer::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.

◆ keyboard()

void PathTracer::keyboard ( unsigned char  character,
int  x,
int  y,
bool &  invalidate 
)
virtual

this method is responsible for handling keyboard events

Reimplemented from RendererInterface.

◆ render()

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

::render_impl

[PT::render-1]

[PT::instantiate_vertex_processor]

[PT::instantiate_vertex_processor] [PT::render-1]

[PT::render-2]

[PT::render-2]

Reimplemented from RendererInterface.