[Development] QSG render thread crashes during volumetric rendering

Cartik Sharma cartik.sharma at gmail.com
Mon Dec 15 20:16:17 CET 2014


Thanks so much. I tried a view.resetOpenGLState and it works without
crashing.

Best regards,
Cartik

On Mon, Dec 15, 2014 at 1:53 PM, Gunnar Sletta <gunnar at sletta.org> wrote:
>
> 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
>
> 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
>
>
>

-- 
"There is plenty of room at the bottom!" R. Feynman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20141215/69a4add1/attachment.html>


More information about the Development mailing list