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 | List of all members
PGENLib.PointLightRenderer Class Reference

Class that implements a Point Light renderer. The solid angle integral of the rendering equations can be simplified, because the integrand contains some localized Dirac deltas. More...

Inheritance diagram for PGENLib.PointLightRenderer:
PGENLib.Renderer

Public Member Functions

 PointLightRenderer (World world, Color backGroundColor=default)
 
 PointLightRenderer (Color ambientColor, World world, Color backGroundColor=default)
 
override Color Call (Ray ray)
 Virtual method to Estimate the radiance along a ray. Find it overwritten in class OnOffRenderer and FlatRenderer More...
 
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

Color AmbientColor
 
- Public Attributes inherited from PGENLib.Renderer
World World
 
Color BackgroundColor
 

Additional Inherited Members

- Protected Member Functions inherited from PGENLib.Renderer
 Renderer (World world, Color backgroundColor=default)
 

Detailed Description

Class that implements a Point Light renderer. The solid angle integral of the rendering equations can be simplified, because the integrand contains some localized Dirac deltas.

Member Function Documentation

◆ Call()

override Color PGENLib.PointLightRenderer.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 from PGENLib.Renderer.


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