Any interest to update FoxToolkit bridge tp recent VTK versions?
Pof <[email protected]> Mon, 9 Sep 2024 15:53:34 +0200
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Fox'ers, My app exists since 2005 and was from the start designed with the FoxToolkit for UI design and VTK (https://vtk.org/) for 3D visualization (VTK is a cutting edge visualization toolkit for scientific application). The bridge between FoxToolit and VTK uses *vtkfox*, originally written by Doug Henry, to which Pietro Cerutti applied some updates about 10 years ago (https://github.com/gahr/vtkfox) to make it compatible as VTK library evolved (I also applied some very minor modifications). Basically, *vtkfox* provides a canvas widget class (FXVTKCanvas) and an interactor class (vtkFXRenderWindowInteractor) that allows VTK to interact with FOX application. Keyboard and mouse events are translated to allow for "native" VTK functionality. *vtkfox* perfectly does its job for any FOX version (both in 1.6.x and 1.7.x branches), but currently only for VTK version up to VTK6.1 update (it uses OpenGL version 1.2 only, which leads to rather poor visualisation performance compared to nowadays' standard). So I want to update to a more recent VTK version that supports recent OpenGL versions. I successfully compile and link my app with the recent VTK8.2 version, but it fails at runtime with the following errors: - "failed to get valid pixel format." - "GLEW could not be initialized: Missing GL version" - "Shader object was not initialized, cannot attach it." After many tests, I came to the conclusion that these errors are related to *vtkfox*, which would probably need some update to be compatible with recent VTK versions (it evolved deeply since version 6.1). I have tried fixing these errors, but failed to do so (I am not a true software engineer, only a scientist with some coding skills ;-) ). Anybody would be interested in helping to bridge recent VTK versions to the FoxToolkit? Either updating vtkfox or aware of any another solution? That would really be great :-) I can easily provide a minimal example to anyone who would like to give it a try. Regards, Pof _______________________________________________ Foxgui-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/foxgui-users