feat (wip): real-time gui with rendering in opengl

This commit is contained in:
2025-01-03 19:57:10 +01:00
parent c92d0bc2a9
commit c23a33ebef
22 changed files with 656 additions and 62 deletions

View File

@@ -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