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

This renderer estimates the solution of the rendering equation by neglecting any contribution of the light. It just uses the pigment of each surface to determine how to compute the final radiance. More...

Inheritance diagram for PGENLib.FlatRenderer:
PGENLib.Renderer

Public Member Functions

 FlatRenderer (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...
 

Additional Inherited Members

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

Detailed Description

This renderer estimates the solution of the rendering equation by neglecting any contribution of the light. It just uses the pigment of each surface to determine how to compute the final radiance.

Member Function Documentation

◆ Call()

override Color PGENLib.FlatRenderer.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: