Loading [MathJax]/extensions/tex2jax.js
Photon Engine
2.0.0-beta
A physically based renderer.
Toggle main menu visibility
Home
Components
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
g
h
k
m
p
r
s
t
u
x
y
z
Typedefs
a
b
c
d
e
f
h
i
k
l
m
p
q
r
s
t
v
Enumerations
e
Enumerator
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
i
k
m
n
o
p
r
s
t
v
w
Enumerations
Related Symbols
Files
File List
File Members
All
b
c
f
i
k
m
p
s
Functions
Typedefs
Macros
▼
Photon Engine
Home
Components
►
Engine
►
Engine Directories
Bibliography
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
Documentation
►
Include
▼
Source
►
Actor
►
Api
►
Common
►
Core
►
DataIO
►
EngineEnv
►
Frame
▼
Math
▼
Algorithm
▼
BVH
►
BvhParams.h
►
TBinaryBvhNode.h
TBinaryBvhNode.ipp
►
TBvhBuilder.h
TBvhBuilder.ipp
►
TBvhInfoNode.h
TBvhInfoNode.ipp
►
TBvhItemInfo.h
TBvhItemInfo.ipp
►
TBvhSimdComputingContext.h
►
TLinearDepthFirstBinaryBvh.h
TLinearDepthFirstBinaryBvh.ipp
►
TLinearDepthFirstWideBvh.h
TLinearDepthFirstWideBvh.ipp
►
TWideBvhNode.h
TWideBvhNode.ipp
►
IndexedKdtree
►
acceleration_structure_basics.h
►
Color
►
Function
►
General
►
Geometry
►
Physics
►
Random
►
Solver
►
Transform
►
constant.h
►
hash.h
►
hash.ipp
►
math.cpp
►
math.h
►
math.ipp
math_common.h
►
math_exceptions.h
►
math_fwd.h
►
math_table.h
►
Real.h
►
TArithmeticArray.h
TArithmeticArray.ipp
►
TFraction.h
►
time.h
►
TMatrix2.h
TMatrix2.ipp
►
TMatrix3.h
TMatrix3.ipp
►
TMatrix4.h
TMatrix4.ipp
►
TOrthonormalBasis3.h
TOrthonormalBasis3.ipp
►
TQuaternion.h
TQuaternion.ipp
►
TVector2.h
TVector2.ipp
►
TVector3.h
TVector3.ipp
►
TVector4.h
TVector4.ipp
►
SDL
►
Utility
►
World
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
BvhParams.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <Common/primitive_type.h>
4
5
#include <cstddef>
6
7
namespace
ph::math
8
{
9
10
enum class
EBvhNodeSplitMethod
11
{
12
EqualItems
,
13
EqualIntervals
,
14
SAH_Buckets_OneAxis
,
15
SAH_Buckets_MultiAxis
,
16
SAH_EdgeSort_OneAxis
17
};
10
enum class
EBvhNodeSplitMethod
{
…
};
18
19
class
BvhParams
final
20
{
21
public
:
23
uint32
maxNodeItems
= 1;
24
26
uint32
numSahBuckets
= 64;
27
29
float32
traversalCost
= 1.0f / 8.0f;
30
32
float32
interactCost
= 1.0f;
33
35
EBvhNodeSplitMethod
splitMethod
=
EBvhNodeSplitMethod::SAH_Buckets_OneAxis
;
36
};
19
class
BvhParams
final {
…
};
37
38
}
// end namespace ph::math
ph::math::BvhParams
Definition
BvhParams.h:20
ph::math::BvhParams::numSahBuckets
uint32 numSahBuckets
Definition
BvhParams.h:26
ph::math::BvhParams::interactCost
float32 interactCost
Definition
BvhParams.h:32
ph::math::BvhParams::traversalCost
float32 traversalCost
Definition
BvhParams.h:29
ph::math::BvhParams::splitMethod
EBvhNodeSplitMethod splitMethod
Definition
BvhParams.h:35
ph::math::BvhParams::maxNodeItems
uint32 maxNodeItems
Definition
BvhParams.h:23
ph::math
Math functions and utilities.
Definition
TransformInfo.h:10
ph::math::EBvhNodeSplitMethod
EBvhNodeSplitMethod
Definition
BvhParams.h:11
ph::math::EBvhNodeSplitMethod::SAH_Buckets_MultiAxis
@ SAH_Buckets_MultiAxis
ph::math::EBvhNodeSplitMethod::SAH_EdgeSort_OneAxis
@ SAH_EdgeSort_OneAxis
ph::math::EBvhNodeSplitMethod::EqualIntervals
@ EqualIntervals
ph::math::EBvhNodeSplitMethod::SAH_Buckets_OneAxis
@ SAH_Buckets_OneAxis
ph::math::EBvhNodeSplitMethod::EqualItems
@ EqualItems
Source
Math
Algorithm
BVH
BvhParams.h
Generated by
1.11.0