Note that there are some explanatory texts on larger screens.

plurals
  1. POLooking for OpenGL ES framework for cross-platform development on Win/Linux/MacOSX/Android/IOS
    primarykey
    data
    text
    <p>I have to develop a cross-platform multimedia application that will run on <strong>Windows, Linux, MacOSX, Android and IOS</strong>. This application will have to be able to play audio/video content, display photos and graphs and, probably, show simple 2D animations. After lot of searching, it seems that the "most portable approach" to the problem is to use <strong><code>C++</code></strong> as language and <strong><code>OpenGL ES</code></strong> as drawing APIs, because both are supported on almost any pair of device/OS, the performance level will be good and the visual appearance should be near the same on each (group of) devices.</p> <p>Obviously, I know that I'll have to tweak the appearance of the app to "scale" on different devices with different display sizes and resolutions. I also know that it's unrealistic to demand the exact same behavior for any piece of code on such different architectures. I just want to minimize the written code (e.g. the rewrite of a piece of interface first in C++, then in Java must be avoided).</p> <p>I'm not an expert in OpenGL ES programming, but looking at some samples, it seems that I will need a framework to have some ready-made widget (menus, buttons, textboxes). I'd prefer not to reinvent the wheel.</p> <p>This is a low-budget project, so I'll need a framework that is <strong>completely free and opensource</strong>. The latter requirement also gives the freedom to add/modify APIs of the framework when something important is missing or is misbehaving. I'm not asking for a multipurpose framework (such Qt for example), able to handle input, networking, storage, etc., just because I strongly suspect that such a framework doesn't exist for the platforms I mentioned. I just want a sort of OpenGL wrapper able to abstract many of its low level details but also offering some UI widget as Qt would do. I'll handle intput, networking, storage, sensors separately, probably using other cross-platform open source libraries, as suggested <a href="http://blog.burhum.com/post/36166554007/cross-platform-ios-android-mobile-app-development" rel="nofollow noreferrer">here</a>.</p> <p>I've read a lot of similar questions on Stackoverflow and <a href="https://gamedev.stackexchange.com/">Gamedev</a>, and I've heard about a lot of frameworks (<a href="http://unity3d.com/" rel="nofollow noreferrer">Unity</a>, <a href="http://www.coronalabs.com/products/corona-sdk/" rel="nofollow noreferrer">Corona SDK</a>, <a href="https://love2d.org/" rel="nofollow noreferrer">LÖVE</a>, <a href="http://libgdx.badlogicgames.com/" rel="nofollow noreferrer">LibGDX</a>, <a href="http://www.ogre3d.org/" rel="nofollow noreferrer">Ogre</a>, <a href="http://www.cocos2d-x.org/" rel="nofollow noreferrer">Cocos2D-x</a>), mainly created for game development. Ogre and Cocos2D-x, for example seem to match some of my requirements, but if I decide to use one of them I'll have to code almost all my UI elements (not such a big burden, someone might argue).</p> <p>A few remarks:</p> <ul> <li>the application is 2D, so OpenGL might seem like overkill. However, OpenGL ES has been chosen because of it's very good portability and its high performance level even on old hardware.</li> <li>I'm basically a Linux C++ developer, so I'd prefer not to switch to HTML5 (still too young) or .NET/Mono (less efficient) without remarkable advantages in return. Moreover, I couldn't realistically master these languages in the short period.</li> <li>I've been impressed with the story in <a href="http://www.cocos2d-iphone.org/archives/215418" rel="nofollow noreferrer">this article</a>. I believe that this could be the right approach: a mix of open source tools and libraries that fit the project needs. But I'm still missing the most important piece: the graphics framework.</li> <li>Writing this question, I found <a href="https://stackoverflow.com/a/4161096/1396334">this discouraging answer</a>. I hope my requirements doesn't produce an empty set. I really can't affort to maintain <em>n</em> different UIs on <em>n</em> different platform. I really need something that is platform agnostic.</li> </ul> <p>Any help or advice would be greatly appreciated.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload