Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5606 closed defect (wontfix)

3D Animation no longer supported on MacOS

Reported by: Adam Dershowitz Owned by: Martin Sjölund
Priority: blocker Milestone: 1.14.0
Component: Installation program Version:
Keywords: Cc: Martin Sjölund

Description

I've built and am using OMEdit on a Mac. I recently noticed that there is no longer an option (menu or button) to Simulate with Animation. Other simulations, including of mechanical systems, are working fine. It seems that it is just missing at the moment from the Mac version, yet it used to be there and animation was working fine. I am building with the default +qt variant and currently using version 1.14.0~dev-26641, although I've seen the same problem for some older versions as well.
I did notice this ticket: https://trac.openmodelica.org/OpenModelica/ticket/5566 but I don't know if it is related.

Change History (8)

comment:1 by Martin Sjölund, 5 years ago

That would probably mean that the version of OpenSceneGraph installed does not detect properly. You need +osg on macports, which installs port:OpenSceneGraph. It was split into +qt and +osg at some point because OpenSceneGraph doesn't always compile well on Mac...

comment:2 by Adam Dershowitz, 5 years ago

I had the OpenSceneGraph port installed already. So, I just tried to build OM with +osg. It built fine, but I still don't have the Simulation with Animation menu or button. I guess that OM didn't find OSG?

comment:3 by Martin Sjölund, 5 years ago

We have some code in the configure script for OMEdit:
checking for osg/qt include order bugs (broken OSG version)
checking for osg/qt broken OpenGL
etc

I guess it does not help that OSG requires OpenGL and Apple deprecated it.

comment:4 by Adam Dershowitz, 5 years ago

Although, since OSG installs correctly, then I would think that the port creator has worked around that. The current OSG port is 3.6.3_1 which is a fairly recent version.

comment:5 by Francesco Casella, 5 years ago

Milestone: Future1.14.0
Priority: highblocker

Marking this as blocker for 1.14.0, we shouldn't allow this kind of regressions to end up in new releases.

comment:6 by Adeel Asghar, 5 years ago

Component: OMEditInstallation program
Owner: changed from Adeel Asghar to Martin Sjölund
Status: newassigned

comment:7 by Francesco Casella, 5 years ago

Resolution: wontfix
Status: assignedclosed
Summary: OMEdit no longer has Simulate with Animation3D Animation no longer supported on MacOS

I discussed this with @sjoelund.se and @adrpo. Basically

  • OpenSceneGraph is based on OpenGL
  • OpenGL was deprecated by Apple in June 2018, is still somewhat supported but will be discontinued anytime soon
  • Unless someone wants to take care of porting the OMEdit 3D animation to Metal, this feature is no longer available in OMEdit for OSX.

Too bad Apple is not particularly committed to supporting open source...

comment:8 by Adam Dershowitz, 5 years ago

It would be a real shame and loss for Mac OS to become only a partially supported platform for OpenModelica. I understand that for any opensource application that there are limited resources, and I don't currently have the personal resources myself to help port the graphics to Metal, so I can't really point fingers at others.
As OpenGL is still deprecated, but available, I hope that just keeping it working in the short term would be possible.
And, I can only hope that the project will reconsider in the near future, as there is ongoing development to add libraries to allow OpenGL to work with Metal.

Note: See TracTickets for help on using tickets.