|
Path Tracer
|
#include "Scene.h"Functions | |
| bool | importTrianglesFromFbxNode (FbxNode *node, Material *material, std::vector< Object3D * > &objects) |
| Imports recursively all triangles present in a FBXNode. More... | |
| void | displayRenderingProgression (unsigned int numberPixelXAlreadyComputed, unsigned int pictureWidth, double loopBeginningTime) |
| Prints the progression information. More... | |
| void displayRenderingProgression | ( | unsigned int | numberPixelXAlreadyComputed, |
| unsigned int | pictureWidth, | ||
| double | loopBeginningTime | ||
| ) |
Prints the progression information.
This is used during the rendering.
| numberPixelXAlreadyComputed | The x coordinate of the pixel we are currently treating. |
| pictureWidth | The width of the picture we are rendering. |
| loopBeginningTime | The number of seconds between 1st January 1970 and the beginning of the render. |
| bool importTrianglesFromFbxNode | ( | FbxNode * | node, |
| Material * | material, | ||
| std::vector< Object3D * > & | objects | ||
| ) |
Imports recursively all triangles present in a FBXNode.
| node | The node from which we want to import the mesh. |
| material | The material with which the triangles will be instanciated. |
| objects | A reference to a vector of objects in which the triangles will be added. |