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 <[email protected]> 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 <[email protected]> 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
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/development
>
>
>

-- 
"There is plenty of room at the bottom!" R. Feynman
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to