1
0
Fork 0
Diplomový projekt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
raytracer/tracerconfig.h

25 lines
465 B

#ifndef TRACERCONFIG_H
#define TRACERCONFIG_H
#include <QString>
#include <CL/cl.h>
struct TracerConfig
{
bool valid;
QString error;
cl_int traceDepth;
cl_int numFrames;
cl_float frameStep;
cl_float3 lightPos;
cl_float3 lightColor;
cl_float3 cameraPos;
cl_float3 cameraCenter;
cl_uint2 imgSize;
QString model;
TracerConfig();
static TracerConfig loadFromFile(const QString &path);
};
#endif // TRACERCONFIG_H