Fermat
|
A "Hello Path Tracing" renderer
#include <hellopt.h>
Public Methods | |
void | init (int argc, char **argv, RenderingContext &renderer) |
void | render (const uint32 instance, RenderingContext &renderer) |
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 RendererInterface * | factory () |
Public Members | |
HelloPTOptions | m_options |
DomainBuffer< CUDA_BUFFER, uint8 > | m_memory_pool |
TiledSequence | m_sequence |
|
inlinevirtual |
this method is responsible for destroying the object itself
Reimplemented from RendererInterface.
|
virtual |
this method is responsible for any command options parsing / initializations the renderer might need to perform
Reimplemented from RendererInterface.
|
virtual |
this method is responsible for rendering a given frame in a progressive rendering
instance | the frame instance |
Reimplemented from RendererInterface.