|
Path Tracer
|
Defines the Scene class and some functions around it. More...
#include <omp.h>#include "DoubleMatrix33.h"#include "KDTreeNode.h"#include "Object3DGroup.h"#include "PerspectiveCamera.h"#include "Picture.h"#include <fbxsdk.h>#include <fbxsdk/fileio/fbxiosettings.h>#include <fbxsdk/utils/fbxgeometryconverter.h>Go to the source code of this file.
Classes | |
| class | Scene |
| Stores object groups and a camera for the render. More... | |
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... | |
Defines the Scene class and some functions around it.
| 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. |