Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dezbracaty opened this issue Jul 29, 2022 · 2 comments
Open

Comments

@dezbracaty
Copy link

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
Copy link
Author

@dezbracaty
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant