We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90c38fc commit ba486ebCopy full SHA for ba486eb
2 files changed
DVRViewPlugin/res/shaders/FullDataSampling.comp
@@ -153,11 +153,11 @@ void main()
153
154
// Update brick counters in x-first order.
155
bx++;
156
- if (bx > int(atlasLayout.x))
+ if (bx >= int(atlasLayout.x))
157
{
158
bx = 0;
159
by++;
160
- if (by > int(atlasLayout.y))
+ if (by >= int(atlasLayout.y))
161
162
by = 0;
163
bz++;
DVRViewPlugin/src/VolumeRenderer.cpp
@@ -1069,9 +1069,6 @@ void VolumeRenderer::getGPUFullDataModeBatches(std::vector<float>& frontfacesDat
1069
1070
for (int idx = batchIndex; idx < width * height; idx += numBatches)
1071
1072
- // Skip pixel if it does not hit the volume.
1073
- if (frontfacesData[idx * 3] == 0.0f)
1074
- continue;
1075
1076
// Get positions from the textures.
1077
mv::Vector3f frontPos(
0 commit comments