OK, working on getting vtk9.5 (custom build) to work on my M series mac, and running into failures when running. Have narrowed it down to vktOpenGLState failing when calling lines like this:
::glGetFloatv(GL_DEPTH_CLEAR_VALUE, &fparams);
As in the past with previous versions, I’ve been using the 2.4.0-rc4 version of the openGL/glugen jars, and my build script hasn’t changed. Any thoughts on what is going on here?
In addition - it looks like the WebGPU/Dawn path is how I can attempt to use Metal vs OpenGL?
Ugh. That is unfortunate about macOS support in vtk9.5 - everything I read in documentation seemed to indicate otherwise. If that ends up getting enabled in a future release, I am more than happy to help test.
I am using the Java bindings, yes. We have been building like this for years. When it tries to initialize the render, I get a hard core dump.
I’ve narrowed it down (by going into the C code, commenting out, rebuilding) to it failing when trying to invoke vtkOpenGLState -> Reset(), and in particular when in that function when it tries to call functions similar to the one I mentioned before (::glGetFloatv(GL_DEPTH_CLEAR_VALUE, &fparams);
Let me know if there is anything else I can provide. Looking forward to being able to upgrade to vtk9.5. Thanks.
Our application also uses VTK 9.5 on MacOS. What I would be interested in knowing is what version of MacOS are you using and what version of Xcode are you using to compile everything.
I am at least able to build master now (this change was done after 9.5.2 was released) and the test code (JoglConeRendering) works now as expected without the segfault. I’m getting ready to test it against our main application, but it seems to work so far. I also updated to use the latest JOGL 2.6 versions. I discovered this was ready for prime time thanks to https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/dev/improve-jogl-integration.md
And @Michael_Jackson - I am on macOS 15.7.1, and I’m using Xcode 16 with a custom build script using cmake to build everything. One of these days I will submit my script for people to check out…