mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
It finally looks about right but the code urgently needs to be tidied up
This commit is contained in:
@@ -19,14 +19,17 @@ const double epsilon = 1e-10f;
|
||||
const double infty = 1e15f; // This value is used to represent missing values in data
|
||||
|
||||
// --------------------------- Dataset Constants ---------------------------
|
||||
const float MIN_TEMP = 184.0f;
|
||||
const float MAX_TEMP = 313.0f;
|
||||
const float MIN_TEMP = 210.0f;
|
||||
const float MAX_TEMP = 240.0f;
|
||||
|
||||
const float MIN_SPEED = 0.0F;
|
||||
const float MAX_SPEED = 14.0f;
|
||||
|
||||
|
||||
// --------------------------- Raycasting Constants ---------------------------
|
||||
const int SAMPLES_PER_PIXEL = 1; // TODO: Right now uses simple variance, consider using something more advanced (e.g., some commonly-used noise map)
|
||||
|
||||
const float alphaAcumLimit = 0.4f; // TODO: Idk what a good accumulation value is <--- This finally does something when using alpha in both places at least
|
||||
const float alphaAcumLimit = 1.0f; // TODO: Idk what a good accumulation value is <--- This finally does something when using alpha in both places at least
|
||||
const float minAllowedDensity = 0.001f;
|
||||
|
||||
const float stepSize = 0.02f;
|
||||
|
||||
Reference in New Issue
Block a user