69 lines
883 B
C++
69 lines
883 B
C++
#pragma once
|
|
|
|
#include <map>
|
|
#include <string>
|
|
|
|
#include "render.h"
|
|
|
|
namespace PlumageRender
|
|
{
|
|
class RenderInput
|
|
{
|
|
public:
|
|
RenderInput();
|
|
~RenderInput();
|
|
|
|
struct Signal
|
|
{
|
|
bool imageSequenceOutputComplete = false;
|
|
bool imageSequenceToVideoComplete = false;
|
|
};
|
|
static Signal signal;
|
|
|
|
std::map<std::string, std::string> environments;
|
|
std::string selectedEnvironment = "papermill";
|
|
std::map<std::string, std::string> scenes;
|
|
std::string selectedScene = "DamagedHelmet";
|
|
|
|
void loadScene();
|
|
|
|
void loadEnvironment(std::string fileName);
|
|
|
|
|
|
private:
|
|
|
|
int32_t animationIndex = 0;
|
|
float animationTimer = 0.0f;
|
|
|
|
|
|
};
|
|
|
|
RenderInput::RenderInput()
|
|
{
|
|
}
|
|
|
|
RenderInput::~RenderInput()
|
|
{
|
|
}
|
|
|
|
|
|
|
|
class RenderOutput
|
|
{
|
|
public:
|
|
RenderOutput();
|
|
~RenderOutput();
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
RenderOutput::RenderOutput()
|
|
{
|
|
}
|
|
|
|
RenderOutput::~RenderOutput()
|
|
{
|
|
}
|
|
}
|