QuickVtk icon indicating copy to clipboard operation
QuickVtk copied to clipboard

Compiled fine with VTK 9.2 ,but one issue that do not show vtk .

Open dezbracaty opened this issue 3 years ago • 2 comments

I had change vtk 8.2 to vtk 9.2 and I ran into a few problems: 1 : Some variables had removed from vtk 9.0 and I have to change that variable to comfortable VTK9.2 2: When init vtk renderWindow from Interactor->Initailize() function ,the program will crash in VTKOpenGLFrameBuffer.cpp :1502 this->Bind(). this can fixed by init opengl state in constructor. and I will show full code. 3: After all , compiled and running program , the vtk will not show ,but vtk::render() function is normal running ! So ,I will push my code and I hope some one who have time to fixed this bug. I'm not very familiar with rendering technology so I hope some one can fix the last issue.

Thanks to the project author for contributing such a good project, let's make everything better together

dezbracaty avatar Jul 29 '22 03:07 dezbracaty

https://github.com/dezbracaty/QuickVtk/commit/a158be80bec1d8481b45dbe029faa1f41ef31f38 This is the commit .

dezbracaty avatar Jul 29 '22 03:07 dezbracaty

I can provide some ideas for fix this issue: 1 reference QQUICKVTKRENDERWINDOW \ QUICKVTKRENDERITEM . 2 See the souce code in VTK renderwindow::render ()

dezbracaty avatar Jul 29 '22 03:07 dezbracaty