Open GL on Mac - deprecated?
-
Does Open GL still work on Mac? I am working on a project which would require a more "3D" type animation, and I think Webview or GL shaders will probably offer the best options for this. I know the two are differen (OpenGL and GLSL).
However these posts concern me:
https://forum.hise.audio/topic/10504/opengl-shader-is-not-working-in-4-0-0/12
https://forum.hise.audio/topic/2122/open-gl/18The examples seem to work on my Mac still but I am just wondering if any other devs can shed light on this? Is it too risky or were you able to launch a product with it? Are there any other options that exist in HISE I haven't touched on here?
The docs
https://docs.hise.audio/scripting/scripting-api/scriptshader/index.html -
@HISEnberg That’s exactly what I am wondering.
-
-
@HISEnberg The fact is that I have the same questioning... I need better rendering and overall performances. I disregarded shaders, and honestly I don't really understand what settings I should use for which system.
-
@ustk Okay, thanks for your input. I know this is a well-talked about topic. Webview maybe offers the best alternative for this but seems quite overwhelming at first glance.
@Christoph-Hart just fyi the gl MorphBall example no longer seems to work on Mac. It seems to open but when trying to recompile it crashes HISE. Should I avoid this altogether and do you have any alternatives to suggest?
-
@HISEnberg OpenGL is deprecated in macOS. Avoid (unfortunately).. It's Metal or nothing. Vulkan would be our only hope.