We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2736e08 commit 6369505Copy full SHA for 6369505
2 files changed
DVRViewPlugin/res/shaders/FullDataSampling.comp
@@ -129,11 +129,11 @@ void main()
129
130
// Update brick counters in x-first order.
131
bx++;
132
- if (bx > int(atlasLayout.x))
+ if (bx >= int(atlasLayout.x))
133
{
134
bx = 0;
135
by++;
136
- if (by > int(atlasLayout.y))
+ if (by >= int(atlasLayout.y))
137
138
by = 0;
139
bz++;
DVRViewPlugin/src/VolumeRenderer.cpp
@@ -927,9 +927,6 @@ void VolumeRenderer::getGPUFullDataModeBatches(std::vector<float>& frontfacesDat
927
928
for (int idx = batchIndex; idx < width * height; idx += numBatches)
929
930
- // Skip pixel if it does not hit the volume.
931
- if (frontfacesData[idx * 3] == 0.0f)
932
- continue;
933
934
// Get positions from the textures.
935
mv::Vector3f frontPos(
0 commit comments