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.