News for hackers. Stuff that matters.
Re:Apple introduces macOS Mojave by electricslpnsld on Monday June 04, 2018 @04:09PM (#17231841)
> DEPRECATING OpenGL

Wow, does this mean Maya, Houdini, and basically every 3D package out there will no longer run on macOS? If so that seriously sucks for 3D pros.

Re:Apple introduces macOS Mojave by obl on Monday June 04, 2018 @04:11PM (#17231869)
I'm guessing it's not the end of the world for Autodesk to add a metal backend to maya. Some smaller teams might very well choose to let go of mac though.
Re:Apple introduces macOS Mojave by DonHopkins on Monday June 04, 2018 @04:49PM (#17232287)
If they weren't already doing that just for the performance improvement itself.
Re:Apple introduces macOS Mojave by agumonkey on Monday June 04, 2018 @04:55PM (#17232362)
Apple will easily ease the transition. That would be way too stupid to kill partners that way.
Re:Apple introduces macOS Mojave by pjmlp on Monday June 04, 2018 @05:05PM (#17232453)
No, because contrary to HN beliefs about 3D APIs, in the real world most business already added Metal backends to their rendering engines.
Re:Apple introduces macOS Mojave by hellofunk on Monday June 04, 2018 @06:16PM (#17233124)
Exactly. Not sure why everyone thinks their favorite Mac apps are using OpenGL anyway. They probably moved to Metal a long time ago — it is much better.
Re:Apple introduces macOS Mojave by pfranz on Monday June 04, 2018 @11:43PM (#17234822)
I'm sure everyone's favorite /exclusive/ Mac apps are probably using Metal.

I'm guessing you haven't used apps like Maya, Nuke, or Houdini. They were all written in the mid-90's on IRIX machines and later ported to Linux, Windows, and OSX. Surprisingly, 3d performance isn't always big goal of their's. My guess is the core features don't sell new versions, so even though they have annual releases those things don't get much attention. They'll have drawing issues and transparency sorting problems for years. Same with audio bugs.

Their Mac support was spotty and irregular until the past 5-10 years.

Re:Apple introduces macOS Mojave by SCdF on Tuesday June 05, 2018 @03:32AM (#17235619)
Re:Apple introduces macOS Mojave by saagarjha on Monday June 04, 2018 @04:31PM (#17232096)
OpenGL has just been deprecated. It hasn’t been removed.
Re:Apple introduces macOS Mojave by yreg on Wednesday June 06, 2018 @03:15AM (#17244980)
It will be in a year.
Re:Apple introduces macOS Mojave by nsxwolf on Monday June 04, 2018 @05:25PM (#17232661)
Won't there just be OpenGL drivers as a separate download? Is this any different than when they removed Java?
Re:Apple introduces macOS Mojave by Lio on Monday June 04, 2018 @05:05PM (#17232452)
Does anyone know how this will effect Blender in the short term?
Re:Apple introduces macOS Mojave by eddieh on Monday June 04, 2018 @05:11PM (#17232494)
When Metal was introduced for the Mac they had the Modo devs at WWDC and they ported their code to Metal in like a week or two. Not really the apocalypse.
Re:Apple introduces macOS Mojave by vvanders on Monday June 04, 2018 @05:15PM (#17232529)
Wat.

Metal and OpenGL two completely different APIs, shading languages and probably a whole host of other things.

I've ported my fair share of things from fixed-function to programmable shader pipelines and you'd be effing naive if you think you can do that in a couple weeks on anything more than a toy demo.

Re:Apple introduces macOS Mojave by rys on Monday June 04, 2018 @05:31PM (#17232722)
I worked with a AAA gamedev recently who had written a Vulkan renderer for their game to demo quality level in 2 weeks. It all depends on existing level of abstraction for the rendering API and shading language (and to some extent assets), and how much performance and efficiency you’re happy leaving on the table.
Re:Apple introduces macOS Mojave by vvanders on Monday June 04, 2018 @05:37PM (#17232783)
> demo quality level in 2 weeks

Getting pixels on the screen and shipping something to end users are to very, very different things, 90/10 rule and all that.

Vulkan also has the benefit of multiple platforms supporting it so you're not doing all that work for a minority(which is what OSX is in the graphics space) platform.

Re:Apple introduces macOS Mojave by seba_dos1 on Monday June 04, 2018 @05:43PM (#17232828)
If you already had an architecture with replaceable renderers, especially with DirectX 12 one already written, adding Vulkan one will be a matter of just a few weeks. If you hadn't, it will be much tougher.
Re:Apple introduces macOS Mojave by eddieh on Monday June 04, 2018 @07:07PM (#17233446)
Well Modo isn’t a toy.
Re:Apple introduces macOS Mojave by seandougall on Tuesday June 05, 2018 @01:01AM (#17235115)
The question is, how many devs did they have working those two weeks (and what resources did Apple provide to help them)?

I develop an OpenGL-based video engine for a live media playback application, which is very nearly as simple an application of OpenGL as you can expect to find in the real world, and there's no way I could expect to port it to Metal in a week or two singlehandedly. Like others have mentioned, it's a completely different paradigm, not just a matter of changing around some function calls.

That said, I welcome this change with open arms (and secure in the knowledge that legacy code will continue to work for the foreseeable future). OpenGL is a fragmented, brittle, spaghetti-inducing pile of global state. Rewriting in Metal isn't anywhere near as small a project as Apple claims, but I'm perversely looking forward to it -- I'll be very happy to have OpenGL in my rearview mirror.