MobileRT
1.0
A multi platform C++ CPU progressive Ray Tracer.
|
#include "C_wrapper.h"
#include "Components/Cameras/Orthographic.hpp"
#include "Components/Cameras/Perspective.hpp"
#include "Components/Lights/AreaLight.hpp"
#include "Components/Lights/PointLight.hpp"
#include "Components/Loaders/CameraFactory.hpp"
#include "Components/Loaders/OBJLoader.hpp"
#include "Components/Samplers/Constant.hpp"
#include "Components/Samplers/HaltonSeq.hpp"
#include "Components/Samplers/MersenneTwister.hpp"
#include "Components/Samplers/StaticHaltonSeq.hpp"
#include "Components/Samplers/StaticMersenneTwister.hpp"
#include "Components/Samplers/Stratified.hpp"
#include "Components/Shaders/DepthMap.hpp"
#include "Components/Shaders/DiffuseMaterial.hpp"
#include "Components/Shaders/NoShadows.hpp"
#include "Components/Shaders/PathTracer.hpp"
#include "Components/Shaders/Whitted.hpp"
#include "MobileRT/Config.hpp"
#include "MobileRT/Renderer.hpp"
#include "MobileRT/Scene.hpp"
#include "Scenes/Scenes.hpp"
#include <chrono>
#include <cstring>
#include <fstream>
#include <functional>
Functions | |
static void | work_thread (::MobileRT::Config &config) |
void | stopRender () |
void | RayTrace (::MobileRT::Config &config, const bool async) |
Variables | |
static ::std::unique_ptr<::MobileRT::Renderer > | renderer_ {} |
void RayTrace | ( | ::MobileRT::Config & | config, |
const bool | async | ||
) |
Helper method that starts the Ray Tracer engine.
config | The MobileRT configurator. |
async | Whether the Ray Tracer should render the image asynchronously or synchronously. |
void stopRender | ( | ) |
Helper method that stops the Ray Tracing process.
|
static |
Helper method that starts the Ray Tracer engine.
config | The MobileRT configurator. |
::std::unique_ptr<::MobileRT::Renderer> renderer_ {} |