Hi,
I’m making an application where I show a vtkImageData in 3D in a QQuickVTKWindow using a vtkSmartVolumeMapper.
As vtk is rendering it, there is a warning displayed : GL_INVALID_OPERATION: glBlitFramebuffer: Depth/stencil buffer format combination not allowed for blit. I traced it to a blit made in vtkOpenGLGPUVolumeRayCastMapper::vtkInternal::CaptureDepthTexture().
The depth format is here given by the texture DepthTextureObject which has her InternalFormat set with :
this->DepthTextureObject->AllocateDepth(this->WindowSize[0], this->WindowSize[1], 4);
The last parameter set the format and “4” means GL_DEPTH_COMPONENT32 which does not exists in opengl es.
Shouldn’t the format be set to GL_DEPTH_COMPONENT24 if it’s in opengl es ?