[Development] QSG render thread crashes during volumetric rendering

Gunnar Sletta gunnar at sletta.org
Mon Dec 15 19:53:06 CET 2014


Maybe try a call to QQuickWindow::resetOpenGLState() after VTK finishes. It may be some dangling GL state that messes up for the renderer.

cheers,
Gunnar

> On 12 Dec 2014, at 21:19, Cartik Sharma <cartik.sharma at gmail.com> wrote:
> 
> Hello,
> 
> I'm trying to do volumetric rendering with VTK using the QVTKFramebufferObject class from https://gist.github.com/nocnokneo/c3fb01bb7ecaf437f7d6 <https://gist.github.com/nocnokneo/c3fb01bb7ecaf437f7d6>
> 
> Essentially this is a class based on QQuickFramebufferObject and over rides rendering with certain presets for OpenGL states.
> 
> It works well for images and 3D objects but crashes the QSG render thread during render calls from vtkFixedPointVolumeRayCastMapper. I need help debugging the crash and fixing this error. (please refer crash report in render_crash.txt)
> 
> Best regards,
> Cartik 
> <render_crash.txt>_______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20141215/1ebb53c5/attachment.html>


More information about the Development mailing list