Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Andoid and iOS examples are outdated/incomplete #43

Open
gpaluk opened this issue May 29, 2017 · 2 comments
Open

All Andoid and iOS examples are outdated/incomplete #43

gpaluk opened this issue May 29, 2017 · 2 comments

Comments

@gpaluk
Copy link

gpaluk commented May 29, 2017

I am having trouble building the Android or iOS sources from the information provided here. The examples seem to be slightly outdated or incomplete. For example, using ANT to build the Android projects, I get an error that there is the missing build.xml file. The project will not import into Android Studio (which is pretty standard today).

When building the iOS project, it uses an old xcode version that doesn't migrate, when that failed, I tried just to build the third part OpenGL stuff and that failed because the readme.txt doesn't cover hooking up the AppDelegate in a Single View Application (There is no OpenGL ES project option anymore).

@micahpearlman
Copy link
Owner

micahpearlman commented May 29, 2017 via email

@micahpearlman
Copy link
Owner

I have taken a look at the iOS OpenGL example and fixed it by adding a now required base view controller. The issue I am running into is the use of the thirdparty OpenGL ES 1.1 fixed function shader emulation used in the core MonkVG library (https://code.google.com/archive/p/gles2-bc/). Basically if your application is using OpenGL ES 2.0 or greater then MonkVG is broken. If you are using OpenGL ES 1.1 (fixed function GL ES) then it will work properly. I don't have time currently to fully hunt down the issues and fix them, but if you take a look at the branch "feature/update_ios_xcode" you can see where I left things.

Hint: To try out the OpenGL ES 1.1 implementation in the test app then in "EAGLView.m" change "renderer = [[ES2Renderer alloc] init];" to "renderer = [[ES1Renderer alloc] init];".

Hint: To "build" the shaders for gles2-bc run the "update" script (search files). Seems to be some issues with #defines in the fragment shaders that I can't quickly workout. See the debug output from Xcode after running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants