Added samples per pixel gui param

This commit is contained in:
2025-01-15 20:03:39 +01:00
parent 91c9aa193c
commit 2c6594244e
5 changed files with 21 additions and 14 deletions

View File

@@ -30,9 +30,6 @@ const float MAX_SPEED = 14.0f;
// --------------------------- Raycasting Constants ---------------------------
const int SAMPLES_PER_PIXEL = 4;
// const float alphaAcumLimit = 0.4f; // TODO: Atm, this only works with sigmoid
const float minAllowedDensity = 0.001f;
const float stepSize = 0.02f;
@@ -74,6 +71,8 @@ extern __device__ int d_tfComboSelected;
extern __device__ int d_tfComboSelectedColor;
// constant opacity option
extern __device__ float d_opacityConst;
// samples per pixel
extern __device__ int d_samplesPerPixel;
const int lenStopsPythonLike = 5;
const int lenStopsGrayscale = 2;