rtabmap icon indicating copy to clipboard operation
rtabmap copied to clipboard

Regarding the issue of updating iOS sample programs (upgrading to Metal as OpenGL ES is deprecated)

Open zhangyakai opened this issue 7 months ago • 1 comments

Is it possible to update the iOS sample program to a version that uses Metal for graphic rendering After all, Open GL ES has been deprecated by the new version of iOS for a long time.

zhangyakai avatar May 07 '25 09:05 zhangyakai

That would be a significant change and add more maintenance time. The reason why we still keep OpenGL ES is that same rendering code can be shared with the Android App. I don't have experience with Metal, so it is difficult for me to estimate how much time would be required to convert the C++ OpenGL ES code to Metal (maybe metal-cpp to replace opengl es more easily). I tagged this issue as "enhancement".

Other references:

  • https://stackoverflow.com/questions/59547620/how-do-i-convert-opengles-shaders-to-metal-compatible-ones

I would like to point out that based on my experience it would be better in terms of performance that you try to rewrite the shaders yourself.

  • https://moltengl.com/moltengl/
  • https://github.com/KhronosGroup/MoltenVK

matlabbe avatar May 12 '25 03:05 matlabbe