OpenGL -- Easy Peazy Lemon Freezy

Monkey Targets Forums/Desktop/OpenGL -- Easy Peazy Lemon Freezy

AdamRedwoods(Posted 2011) [#1]
Easy Peazy Lemon Freezy.

I see potential problems, but I don't see any obstacles. I also see how this can work for Android and iOS, so......

*Updated to now use vertex arrays.

example:


partial module: monkeyGL.monkey


monkeyGL.cpp



DruggedBunny(Posted 2011) [#2]
Nice! You could become a god among men if you're not careful...


JIM(Posted 2011) [#3]
This could definitely work. Android/iOS are GL-based and HTML5 has a friend called WebGL.


Uncle(Posted 2011) [#4]
Would open up a whole lot of fun if this would work on Android. Currently it doesnt compile as the doesn't recognise the method names and complains about unchecked or unsafe operations. I wish I knew more java to debug this myself. Anyone have any ideas?


AdamRedwoods(Posted 2011) [#5]
I'm still working on the Android. My triangles are off the screen, not sure why.


Uncle(Posted 2011) [#6]
That sounds great Adam. Can you give us some tips on how you got past the compile errors?


AdamRedwoods(Posted 2011) [#7]
Moved to here for other targets:
http://www.monkeycoder.co.nz/Community/posts.php?topic=1818

re:tips on compiling
I had to write the Android part with many hacks for Java.