Photon Engine
2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ThinFilm.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Actor/Material/SurfaceMaterial.h
"
4
#include "
Math/math_fwd.h
"
5
#include "
Actor/Image/Image.h
"
6
#include "
DataIO/FileSystem/Path.h
"
7
8
#include <memory>
9
#include <vector>
10
11
namespace
ph
12
{
13
14
class
ThinFilm
:
public
SurfaceMaterial
15
{
16
public
:
17
ThinFilm
();
18
19
void
genSurface
(
const
CookingContext
& ctx,
SurfaceBehavior
& behavior)
const override
;
20
21
private
:
22
std::vector<real> m_wavelengthTable;
23
std::vector<real> m_reflectanceTable;
24
std::vector<real> m_transmittanceTable;
25
};
26
27
}
// end namespace ph
Image.h
Path.h
SurfaceMaterial.h
ph::CookingContext
Information about the world being cooked.
Definition
CookingContext.h:24
ph::SurfaceBehavior
Definition
SurfaceBehavior.h:15
ph::SurfaceMaterial
Definition
SurfaceMaterial.h:15
ph::ThinFilm
Definition
ThinFilm.h:15
ph::ThinFilm::genSurface
void genSurface(const CookingContext &ctx, SurfaceBehavior &behavior) const override
Definition
ThinFilm.cpp:15
ph::ThinFilm::ThinFilm
ThinFilm()
Definition
ThinFilm.cpp:11
math_fwd.h
ph
The root for all renderer implementations.
Definition
EEngineProject.h:6
Source
Actor
Material
ThinFilm.h
Generated by
1.11.0