Description
Classes
struct | MinSG::PathTracing::BSDFSample |
class | MinSG::PathTracing::DiffuseAreaLight |
class | MinSG::PathTracing::ExtTriangle |
class | MinSG::PathTracing::Light |
class | MinSG::PathTracing::Material |
class | MinSG::PathTracing::MinSGLight |
class | MinSG::PathTracing::PathTracer |
class | MinSG::PathTracing::RayCaster Class to perform ray casting. |
class | MinSG::PathTracing::SurfacePoint |
struct | MinSG::PathTracing::TextureWrapper |
Typedefs
typedef TriangleTrees::SolidTree < Geometry::Box_f , ExtTriangle > | SolidTree_ExtTriangle |
Functions
SolidTree_ExtTriangle | buildSolidExtTree( GroupNode * scene, std::vector< std::unique_ptr< Material » & materialLibrary) |
SolidTree_ExtTriangle | convertTree(const TriangleTrees::TriangleTree * treeNode, Rendering::Mesh * mesh, const Rendering::VertexAttribute & idAttr, const std::vector< GeometryNode * > & idLookup, std::vector< std::unique_ptr< Material » & materialLibrary) |
Documentation
typedef
MinSG::PathTracing::SolidTree_ExtTriangle
public |
typedef TriangleTrees::SolidTree < Geometry::Box_f , ExtTriangle > SolidTree_ExtTriangle |
Defined in MinSG/Ext/PathTracing/TreeBuilder.h:43
function
MinSG::PathTracing::buildSolidExtTree
public |
SolidTree_ExtTriangle buildSolidExtTree( | GroupNode * | scene, |
std::vector< std::unique_ptr< Material » & | materialLibrary | |
) |
Defined in MinSG/Ext/PathTracing/TreeBuilder.h:46
function
MinSG::PathTracing::convertTree
public |
SolidTree_ExtTriangle convertTree( | const TriangleTrees::TriangleTree * | treeNode, |
Rendering::Mesh * | mesh, | |
const Rendering::VertexAttribute & | idAttr, | |
const std::vector< GeometryNode * > & | idLookup, | |
std::vector< std::unique_ptr< Material » & | materialLibrary | |
) |
Convert the data structure stored in a TriangleTree into a SolidTree. Additionally, convert GeometryNode identifiers stored in the vertex data to pointers to GeometryNodes.
Parameters
- treeNode
- Input of the conversion: A TriangleTree referencing triangles stored in a mesh
- idAttr
- Vertex attribute that stores the GeometryNode identifiers
- idLookup
- Mapping from GeometryNode identifiers (index positions) to pointers to GeometryNodes
Returns
Output of the conversion: A SolidTree directly storing the triangles and pointers to GeometryNodes
Defined in MinSG/Ext/PathTracing/TreeBuilder.h:61