Fixed mismatch between coordinates indices (rather min/max values thereof)

This commit is contained in:
Martin committed 2025-01-11 13:26:05 +01:00
1 parent 4971d693fd
commit b151e70167
3 files changed
+27 -16

No files matched your search

+2 -1
View File
@@ -22,7 +22,8 @@ __global__ void raycastKernel(float* volumeData, FrameBuffer framebuffer) {
float accumG = 0.0f;
float accumB = 0.0f;
float accumA = 1.0f;
// Initialize random state
// Initialize random state for ray scattering
curandState randState;
curand_init(1234, px + py * IMAGE_WIDTH, 0, &randState);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.