PhotoGENius V1.0.0
A basic library for generating photorealistic images, developed for the course Numerical techniques for photorealistic image generation.
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
PGENLib.Renderer Class Reference

A class implementing a solver of the rendering equation. This is an abstract class; you should use a derived concrete class. This class has 2 members:

World type World
BackGroundColor type Color
More...

Inheritance diagram for PGENLib.Renderer:
PGENLib.FlatRenderer PGENLib.OnOffRenderer PGENLib.PathTracer PGENLib.PointLightRenderer

Public Member Functions

virtual Color Call (Ray ray)
 Virtual method to Estimate the radiance along a ray. Find it overwritten in class OnOffRenderer and FlatRenderer More...
 

Public Attributes

World World
 
Color BackgroundColor
 

Protected Member Functions

 Renderer (World world, Color backgroundColor=default)
 

Detailed Description

A class implementing a solver of the rendering equation. This is an abstract class; you should use a derived concrete class. This class has 2 members:

World type World
BackGroundColor type Color

Member Function Documentation

◆ Call()

virtual Color PGENLib.Renderer.Call ( Ray  ray)
virtual

Virtual method to Estimate the radiance along a ray. Find it overwritten in class OnOffRenderer and FlatRenderer

Parameters
ray
Returns
Exceptions
NotImplementedException

Reimplemented in PGENLib.OnOffRenderer, PGENLib.FlatRenderer, PGENLib.PathTracer, and PGENLib.PointLightRenderer.


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