AnimEngine
Public Member Functions | Static Public Member Functions | List of all members
GlobalIllumination Class Reference
Inheritance diagram for GlobalIllumination:
Inheritance graph
[legend]
Collaboration diagram for GlobalIllumination:
Collaboration graph
[legend]

Public Member Functions

void init (GLFWwindow *window)
 
void initQuad ()
 
void initVPLBuffer ()
 
void initGeometryBuffer ()
 
void initCustomShaderBuffer ()
 
void initRenderBuffer ()
 
void initCompositeBuffer ()
 
const std::string & getOutputDir () const
 
void setOutputDir (const std::string &aOutputDir)
 
void process (Scene &scene)
 
virtual void processEntity (Scene &scene, const MVPset &MVP, Entity *entity, Program *shader) override
 
void VPLpass (Program &vplShader, Scene &scene)
 
void geometryPass (Program &geometryShader, Scene &scene)
 
void renderPass (Program &renderShader, Scene &scene)
 
void customShaderPass (Program &toonShader, Scene &scene)
 
void compositePass (Program &screenShader, Scene &scene)
 
void screenPass (Program &finalShader, Scene &scene)
 
void drawQuad ()
 
glm::mat4 getLightProjMatrix ()
 
glm::mat4 getLightViewMatrix (glm::vec3 position, glm::vec3 direction, glm::vec3 up)
 
glm::mat4 getProjectionMatrix ()
 
glm::mat4 getViewMatrix (vec3 position, vec3 lookat)
 
- Public Member Functions inherited from Render_System
virtual void processPanels (Scene &scene, vector< unsigned int > alphaMaps, unsigned int panelOutline, int frameCount)
 
virtual void processEntityPanels (Scene &scene, const MVPset &MVP, Entity *entity, int alphaMapIdx, Program *shader=nullptr)
 
virtual glm::ivec2 getRenderDimensions () const
 
virtual void setPanelParams (int alphaMapIdx)
 
virtual void drawPigSpider (Scene &scene, const MVPset &MVP, Entity *entity, int i)
 
virtual void processPigSpider (Scene &scene, const MVPset &MVP, Entity *entity, int i)
 
virtual void enableIgnoreGloballyIlluminated ()
 
virtual void disableIgnoreGloballyIlluminated ()
 

Static Public Member Functions

static GlobalIlluminationgetInstance ()
 
- Static Public Member Functions inherited from Render_System
static Render_SystemgetInstance ()
 
static Pose getFinalWorldPose (Entity *entity)
 
static void drawAxes (MVPset MVP)
 
static void drawAxes (const Pose &pose, const glm::mat4 &V, const glm::mat4 &P)
 
static void changeViewport (int x1, int y1, int x2, int y2)
 
static void onResize (GLFWwindow *window, int width, int height)
 
static int getWidth ()
 
static int getHeight ()
 

Additional Inherited Members

- Protected Attributes inherited from Render_System
GLFWwindow * _mWindow = nullptr
 

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