Proton SDK - component based C++ framework for iOS, Android

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby fmx » Sun Apr 29, 2012 8:32 pm

I tried UDK too, its great and all but I prefer raw code to "node programming" and scripting.

You need a mac if you want to release any iOS apps onto appstore, but I'd recommend experimenting with Proton on PC first before you go and purchase a mac.
you never know, you might not like it :wink:

I've never tried Proton myself, but it has huge potential considering that Seth (the developer) has got it working on various other mobile platforms too.
Android and WebOS worth mentioning, maybe Windows Phone in the future too
User avatar
fmx
 
Posts: 559
Joined: Wed Dec 06, 2006 9:28 am
Location: UK

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Wed Feb 06, 2013 7:47 pm

Build proton 3d engine to Android in win32 and Linux, debug in c++ IDE

Ref:
http://www.rtsoft.com/wiki/doku.php?id= ... #v2_styles
http://www.rtsoft.com/wiki/doku.php?id= ... inux_setup
http://www.rtsoft.com/forums/showthread ... ected+file

/////////////////////////////Android win32/////////////////////
from http://www.wretch.cc/blog/fatalfeel/858089

1.Install Cygwin
http://www.cygwin.com/
switch Devel Default to install

2.download follows
(1)proton sdk
http://www.rtsoft.com/wiki/doku.php?id=proton:download
(2)android sdk
http://dl.google.com/android/android-sd ... indows.zip
(3)platform-tools
http://www.rtsoft.com/temp2/android-sdk ... ls_r19.zip
(4)tools
http://www.rtsoft.com/temp2/android-sdk-tools_r19.zip
(5)apache ant
http://ftp.mirror.tw/pub/apache//ant/bi ... .4-bin.zip

3.copy file and set path
copy file to correct directory and set path in environment of control panel
[C]:\Program Files\Android\android-sdk\platform-tools;
[C]:\Program Files\Android\android-sdk\tools;
[C]:\apache-ant-1.8.4\bin;
[C]:\android-ndk-r8d

4.
android sdk manager
update
extra/google/usb_driver

5.
AVD manager
add android-15 device

6.
modify C:\proton\RT3DApp\android\app_info_setup.bat
call android update project -p ./
to
call android update project -p . -t android-15

7.
run build.bat

//////////////////////Android Linux///////////////////

1.
download proton sdk
http://www.rtsoft.com/wiki/doku.php?id=proton:download

1.
Execute in win32 system
[C:]\proton_sdk\RT3DApp\media\update_media.bat

2.
copy [C:]\proton_sdk\*.* to linux system

3.
apt-get install tofrodos
ln -s /usr/bin/fromdos /usr/bin/dos2unix
ln -s /usr/bin/todos /usr/bin/unix2dos
or
(option)
modify /[proton_sdk]/tools/linux/prepareAndroid.sh
dos2unix $ANDROID_MANIFES
to
fromdos $ANDROID_MANIFES

4.
gpedit /etc/environment
add path
/usr/local/android-sdk-linux/platform-tools:
/usr/local/android-sdk-linux/tools:
/usr/local/android-ndk-r7-crystax-5.beta3 (unofficial ndk for debug c++ use)

5.
android list targets
android update project -p . -t android-15

6.
apt-get install ant1.8
[proton_sdk]/RT3DApp/android# ../../tools/linux/prepareAndroid.sh -i
-i = Include IAP
-t = Include Tapjoy (option, in win32 system is off)

7.
delete
[proton_sdk]/RT3DApp/android/src/*.*

copy
[proton_sdk]/RT3DApp/android/temp_final_src/com/*.*
to
[proton_sdk]/RT3DApp/android/src/com

delete
[proton_sdk]/RT3DApp/android/temp_final_src/*.*

delete
[proton_sdk]/RT3DApp/android/temp_src/*.*

8.modify /root/proton_sdk/RT3DApp/android/jni/Application.mk
APP_OPTIM=release
to
APP_OPTIM=debug

(option for build one project only)
APP_ABI := armeabi armeabi-v7a
to
APP_ABI := armeabi

9.
gpedit [proton_sdk]\RT3DApp\android\AndroidManifest.xml
add
android:debuggable="true"

10.
[proton_sdk]/RT3DApp/android# ndk-build NDK_DEBUG=1

11.
[proton_sdk]/RT3DApp/android# ../../tools/linux/androidSyncAssets.sh

12.
If use Motodev to debug
[c/c++ application] -> [stop on startup at:] = Java_com_rtsoft_rt3dapp_AppRenderer_nativeInit

13.
RTPhysics cpp fixed

(1)
copy
[proton_sdk]/shared/android/v2_src/cpp/AndroidApp.cpp
to
[proton_sdk]/RTPhysics/android/temp_final_cpp_src/AndroidApp.cpp

(2)
gpedit [proton_sdk]/RTPhysics/android/temp_final_cpp_src/AndroidApp.cpp
replace all
${PACKAGE_NAME_WITH_UNDERSCORES}
to
'com_rtsoft_rtphysics'

14.
RTPhysics Android.mk fixed

(1)
gpedit [proton_sdk]/RTPhysics/android/jni/Android.mk
replace
$(SHARED)/android/AndroidApp.cpp
to
../temp_final_cpp_src/AndroidApp.cpp

(2)
gpedit [proton_sdk]/RTPhysics/android/jni/Android.mk
find
$(COMPPATH)/EmitVirtualKeyComponent.cpp
after add
$(COMPPATH)/RenderScissorComponent.cpp

15.RTPhysics java fixed
gpedit [proton_sdk]/RTPhysics/android/src/com/rtsoft/rtphysics/main.java
find
super.onCreate(savedInstanceState);
beffore add
System.loadLibrary(dllname);


Enable Framebuffer mode in Ubuntu
http://www.wretch.cc/blog/fatalfeel/655235

Install MOTODEV IDE
http://www.wretch.cc/blog/fatalfeel/857768

setting debug environment
http://www.wretch.cc/blog/fatalfeel/844598
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Tue Feb 12, 2013 4:12 am

debug IDE for c++ in android photo link
https://picasaweb.google.com/1126240894 ... 8296034018
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

irrlicht for gles 2 on android and ios

Postby feelthat » Tue Feb 19, 2013 7:32 pm

If someone build GLES 2.0 in proton 3d done, please let us know, post a thread here.

Android GLES 2.0 source from

android Git
https://github.com/reizencroft/irrAndroid

android and ios Git
https://github.com/kexplo/irrlicht_ogl-es

android and ios svn
http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

RT3DApp and RTPhysics done in Ogles2 and OpenGL

Postby feelthat » Thu Nov 07, 2013 1:17 am

fixed Gui font bug
fixed android resume texture bug
fixed android resume hardwarebuffer bug

Switch OGLES1 or OGLES2 in App.cpp

If android need one more step, need unmark to open

public AppGLSurfaceView(Context context, SharedActivity _app)
{
super(context);
app = _app;

/*setEGLConfigChooser(8, 8, 8, 8, 16, 0);
getHolder().setFormat(PixelFormat.TRANSLUCENT);*/

//by stone, Create an OpenGL ES 2.0 context
//setEGLContextClientVersion(2); //need unmark to open, just here

mRenderer = new AppRenderer(_app);

setRenderer(mRenderer);
//////////////////////////////////////////////////////////////////////////////////////

demo photo
https://plus.google.com/photos/114692154049719647435/albums/5943314709752402113?banner=pwa

download address
http://www.mediafire.com/download/trox2t9v3iy9ysm/proton_sdk_source_2013083.zip

thanks Nadro
thanks Seth
thanks irrlicht 3d, proton 3d all staff

any question can email: fatalfeel@yahoo.com.tw
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: RT3DApp and RTPhysics done in Ogles2 and OpenGL

Postby feelthat » Mon Nov 11, 2013 2:04 pm

1. add quakeshader example
2. fix B3d read path
3. fixed ios read path
4. housescene path fixed

http://www.mediafire.com/download/29q7s ... 013084.zip


feelthat wrote:fixed Gui font bug
fixed android resume texture bug
fixed android resume hardwarebuffer bug

Switch OGLES1 or OGLES2 in App.cpp

If android need one more step, need unmark to open

public AppGLSurfaceView(Context context, SharedActivity _app)
{
super(context);
app = _app;

/*setEGLConfigChooser(8, 8, 8, 8, 16, 0);
getHolder().setFormat(PixelFormat.TRANSLUCENT);*/

//by stone, Create an OpenGL ES 2.0 context
//setEGLContextClientVersion(2); //need unmark to open, just here

mRenderer = new AppRenderer(_app);

setRenderer(mRenderer);
//////////////////////////////////////////////////////////////////////////////////////

demo photo
https://plus.google.com/photos/114692154049719647435/albums/5943314709752402113?banner=pwa

download address
http://www.mediafire.com/download/trox2t9v3iy9ysm/proton_sdk_source_2013083.zip

thanks Nadro
thanks Seth
thanks irrlicht 3d, proton 3d all staff

any question can email: fatalfeel@yahoo.com.tw
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Thu Nov 14, 2013 1:41 pm

1. android 32 bits png color
2. add setGroupMaterialTexture function, you can assign different texture on same layer

http://www.mediafire.com/download/ybqxd ... 13084b.zip
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Thu Nov 14, 2013 9:27 pm

1. high level shader resume fixed
http://www.mediafire.com/download/z251y ... 013085.zip

and please refer to
http://www.rtsoft.com/forums/forumdispl ... Proton-SDK

I will put new fixed version there.


feelthat wrote:1. android 32 bits png color
2. add setGroupMaterialTexture function, you can assign different texture on same layer

http://www.mediafire.com/download/ybqxd ... 13084b.zip
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Wed Nov 20, 2013 10:32 am

OGLES2 version, test in ios android win32 ok
Add full irrlicht GUI function apply unicode words , simplize RT3DApp RTPhysics

http://www.mediafire.com/download/2o3lu ... 013088.zip
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Thu Nov 28, 2013 4:10 am

This final version proton_sdk_source_2013091d.zip
use IRRLICHT SDK VERSION "1.9.0"
can build on Ios, Android, WinXp Win7, MacOsx 10.8

This version test pass in real mobile iphone4s and HTC and Samsung android

also pass on win32 and mac osx 10.8

switch with OGLES1 and OGLES2 in app.cpp

android switch OGLES2 on setEGLContextClientVersion(2);

other option function are thread, critical lock, network, music, sound

in win32, android play .ogg music
in ios, osx play .mp3

win32 need run update_media.bat

mac need run update_media.sh make sure chmod 777 update_media.sh

http://www.mediafire.com/download/04b9y ... 13091b.zip

Demo picture
https://plus.google.com/photos/10618554 ... 8859640225

future fixed version will release on http://www.rtsoft.com/forums proton sdk
or directly address here
http://www.rtsoft.com/forums/showthread ... and-OpenGL
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Mon Feb 24, 2014 10:44 am

This final version proton_sdk_source_2013091d.zip
http://www.rtsoft.com/forums/forumdispl ... Proton-SDK

fixed gui font bug
fixed android resume texture bug
fixed android resume hardwarebuffer bug

now transfer to Git site use IRRLICHT SDK VERSION "1.9.0"
can build on Ios, Android, WinXp Win7, MacOsx 10.8

Here to download lastest version
https://github.com/fatalfeel/proton_sdk_source

Rember first run
xxxxxx/media/update_media.bat in Win32
or
chmod 777 xxxxxx/media/update_media.sh in MacOs
xxxxxx/media/update_media.sh

Switch OGLES1 or OGLES2 in App.cpp

If android need one more step, need unmark to open

public AppGLSurfaceView(Context context, SharedActivity _app)
{
super(context);
app = _app;

/*setEGLConfigChooser(8, 8, 8, 8, 16, 0);
getHolder().setFormat(PixelFormat.TRANSLUCENT);*/

//by stone, Create an OpenGL ES 2.0 context
//setEGLContextClientVersion(2); //need unmark to open, just here

mRenderer = new AppRenderer(_app);

setRenderer(mRenderer);
//////////////////////////////////////////////////////////////////////////////////////

thanks Nadro
thanks Seth
thanks irrlicht 3d, proton 3d all staff
any question can email: fatalfeel@yahoo.com.tw , Jesse Stone
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Tue Aug 12, 2014 6:31 am

Cross Platform 3D engine OpenGL OGLES1,2 on Proton

Port on android
Port on ios
Port on win32
Port on mac

Add StencilBuffer for shadow and separate blend on OGLES1 OGLES2

fixed apk read buffer release

Here to download lastest version
https://github.com/fatalfeel/proton_sdk_source

original form Nadro and Seth
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby jronald » Sat Dec 06, 2014 4:41 am

seems great, try first, thanks.
jronald
 
Posts: 8
Joined: Sat Dec 06, 2014 4:31 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Thu Feb 26, 2015 3:49 am

I will add cocos2d gui on win32 ios android

https://github.com/fatalfeel/proton_cm_open
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: Proton SDK - component based C++ framework for iOS, Andr

Postby feelthat » Thu Mar 12, 2015 9:55 pm

https://github.com/fatalfeel/proton_cm_open

combine togther done, will apply later in win32

detail on http://www.rtsoft.com/forums/forumdispl ... Proton-SDK



feelthat wrote:I will add cocos2d gui on win32 ios android

https://github.com/fatalfeel/proton_cm_open
feelthat
 
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

PreviousNext

Return to Project Announcements

Who is online

Users browsing this forum: No registered users and 1 guest

cron