Thanks. The volume rendering seems to work fine with just one problem.
When I rotate an image in a 2d window and get back to the 3d window,
and try to rotate the 3d object, it crashes again.
VTK must be changing the gl state and so I must call resetOpenGLState
before I rotate the view except I can
On Monday 15 December 2014 14:16:17 Cartik Sharma wrote:
> Thanks so much. I tried a view.resetOpenGLState and it works without
> crashing.
One of the common ways this crashes the driver is inside calls to
glDrawElements if you have a bad element buffer bound which then indexes into
some random
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 wrote:
>
> Maybe try a call to QQuickWindow::resetOpenGLState() after VTK finishes.
> It may be some dangling GL state that messes up for the rendere
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 wrote:
>
> Hello,
>
> I'm trying to do volumetric rendering with VTK using the
> QVTKFramebuffer
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