LERROR("Could not load Shader for OpenGL reduction. Reduction will not work!");
return;
...
...
@@ -100,7 +100,6 @@ namespace campvis {
returntoReturn;
}
//tgtAssert(texture->getNumChannels() == 1, "Reduction of images with more than one channel currently not implemented! Somebody was too lazy (or stressed - deadline was close) to do that...");
tgtAssert(texture->getDimensions().z==1,"Reduction of 3D images not yet implemented! Somebody was too lazy (or stressed - deadline was close) to do that...");
std::vector<float>readBackBuffer;
...
...
@@ -116,14 +115,14 @@ namespace campvis {
tgt::TextureUnitinputUnit;
// create temporary textures
tgt::Texture*tempTextures[2];
for(size_ti=0;i<2;++i){
//_tempTextures[i] = new tgt::Texture(0, tgt::ivec3(currentSize, 1), GL_RED, GL_R32F, GL_FLOAT, tgt::Texture::NEAREST);