mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
feat (wip): real-time gui with rendering in opengl
This commit is contained in:
@@ -9,8 +9,8 @@ const int VOLUME_WIDTH = 49;
|
||||
const int VOLUME_HEIGHT = 51;
|
||||
const int VOLUME_DEPTH = 42;
|
||||
|
||||
const int IMAGE_WIDTH = 2560;
|
||||
const int IMAGE_HEIGHT = 1440;
|
||||
const int IMAGE_WIDTH = 800;
|
||||
const int IMAGE_HEIGHT = 600;
|
||||
|
||||
const double epsilon = 1e-10f;
|
||||
const double infty = 1e15f; // This vlalue is used to represent missing values in data
|
||||
@@ -41,4 +41,4 @@ extern __device__ Point3 d_lightPos;
|
||||
// --------------------------- Functions for handling external constants ---------------------------
|
||||
void copyConstantsToDevice();
|
||||
|
||||
#endif // CONSTS_H
|
||||
#endif // CONSTS_H
|
||||
|
||||
Reference in New Issue
Block a user