Photon Engine 2.0.0-beta
A physically based renderer.
|
A virtual world for image synthesis. More...
#include <VisualWorld.h>
Public Member Functions | |
VisualWorld () | |
void | cook (const SceneDescription &rawScene, const CoreCookingContext &coreCtx) |
void | setReceiverPosition (const math::Vector3R &receiverPos) |
const Intersector * | getTLAS () const |
const EmitterSampler * | getEmitterSampler () const |
const Scene * | getScene () const |
CookedResourceCollection * | getCookedResources () const |
TransientResourceCache * | getCache () const |
math::AABB3D | getRootActorsBound () const |
Bounds actors cooked in the first level. The bound is only available after the first level has done cooking. | |
math::AABB3D | getLeafActorsBound () const |
Bounds actors from levels finished cooking. The bound is updated every time a level has done cooking. Generally this bound only grows as it encapsulates all previous levels including the root level. | |
A virtual world for image synthesis.
ph::VisualWorld::VisualWorld | ( | ) |
void ph::VisualWorld::cook | ( | const SceneDescription & | rawScene, |
const CoreCookingContext & | coreCtx ) |
TransientResourceCache * ph::VisualWorld::getCache | ( | ) | const |
CookedResourceCollection * ph::VisualWorld::getCookedResources | ( | ) | const |
|
inline |
math::AABB3D ph::VisualWorld::getLeafActorsBound | ( | ) | const |
Bounds actors from levels finished cooking. The bound is updated every time a level has done cooking. Generally this bound only grows as it encapsulates all previous levels including the root level.
math::AABB3D ph::VisualWorld::getRootActorsBound | ( | ) | const |
Bounds actors cooked in the first level. The bound is only available after the first level has done cooking.
|
inline |
|
inline |
|
inline |