PDA

View Full Version : RT3DApp and RTPhysics done in Ogles2 and OpenGL



feelthat
11-07-2013, 01:15 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

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/106185541018774360364/albums/5964765088859640225

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 , Jesse Stone

feelthat
11-08-2013, 03:46 PM
http://www.mediafire.com/download/kapp5k8bx9xrl7e/proton_sdk_source_2013083a.zip


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 , Jesse Stone

darkchazz
11-10-2013, 04:22 PM
Nice work :D

Why not merge the changes with the proton svn? Seth did not approve?

Although I'm not going to use gles2 in my current project, those android resume fixes are most welcome.

Seth
11-11-2013, 01:28 AM
I'm afraid to do anything major to the main svn right now (a single bug or compile error could ruin all my automated build systems happening with Growtopia, my MMO) but I am ok with branching off the project to a new svn/git repository or something like. Maybe when I have more time I could officially setup a 2.0 branch or something to insulate the older stuff to insure nothing breaks.

feelthat
11-11-2013, 02: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/29q7sdcqvddlzpe/proton_sdk_source_2013084.zip


I'm afraid to do anything major to the main svn right now (a single bug or compile error could ruin all my automated build systems happening with Growtopia, my MMO) but I am ok with branching off the project to a new svn/git repository or something like. Maybe when I have more time I could officially setup a 2.0 branch or something to insulate the older stuff to insure nothing breaks.

feelthat
11-14-2013, 01: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/ybqxdnq35ymd6a8/proton_sdk_source_2013084b.zip


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

http://www.mediafire.com/download/29q7sdcqvddlzpe/proton_sdk_source_2013084.zip

feelthat
11-14-2013, 09:26 PM
1. high level shader resume fixed

http://www.mediafire.com/download/z251y9b015rnz8k/proton_sdk_source_2013085.zip


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

http://www.mediafire.com/download/ybqxdnq35ymd6a8/proton_sdk_source_2013084b.zip

darkchazz
11-17-2013, 04:31 PM
fixed android resume texture bug
fixed android resume hardwarebuffer bug

Hi.
May I ask how you fixed these bugs? I mean what code exactly did you change?

thanks

feelthat
11-18-2013, 07:24 AM
http://www.mediafire.com/download/aas4c9k89np5lq3/proton_sdk_source_2013086.zip


1. high level shader resume fixed

http://www.mediafire.com/download/z251y9b015rnz8k/proton_sdk_source_2013085.zip

- - - Updated - - -

I have ios device and andoird device and i pasted the screen on irrlicht and proton forum

so download and run will know


Hi.
May I ask how you fixed these bugs? I mean what code exactly did you change?

thanks

feelthat
11-20-2013, 10:31 AM
OGLES2 version, test in ios android win32 ok

today I test pixel shader on a 3d girl model, it's wonderful~~~

http://www.mediafire.com/download/2o3luj84qdb2hbl/proton_sdk_source_2013088.zip



http://www.mediafire.com/download/aas4c9k89np5lq3/proton_sdk_source_2013086.zip



- - - Updated - - -

I have ios device and andoird device and i pasted the screen on irrlicht and proton forum

so download and run will know

feelthat
11-22-2013, 01:27 PM
http://www.mediafire.com/download/6bliyct7tsa1at7/proton_sdk_source_2013088a.zip

after few days will release MacOs version
RT3dApp and RTPhysics


OGLES2 version, test in ios android win32 ok

today I test pixel shader on a 3d girl model, it's wonderful~~~

http://www.mediafire.com/download/2o3luj84qdb2hbl/proton_sdk_source_2013088.zip

feelthat
11-25-2013, 02:52 PM
OSX ver. done and add \RT3DApp\media\update_media.sh use on OSX

make sure
chmod 777 ./update_media.sh


http://www.mediafire.com/download/fzzxe4bw3q0wll6/proton_sdk_source_2013091.zip


http://www.mediafire.com/download/6bliyct7tsa1at7/proton_sdk_source_2013088a.zip

after few days will release MacOs version
RT3dApp and RTPhysics

feelthat
11-26-2013, 02:05 PM
gui 2d text color fixed
ios music mp3 fixed

http://www.mediafire.com/download/7qqf7w6x2uux3j0/proton_sdk_source_2013091a.zip

Test 10501 triangles with textures

iphone 4s
enable follows function
smgr->setAmbientLight(video::SColor(255,80,80,80));
smgr->addLightSceneNode(0, core::vector3df(0,5,-150),video::SColorf(0.45f, 0.45f, 0.45f, 1.0f), 200.0f);
node->setMaterialFlag(video::EMF_LIGHTING, true);
node->getMaterial(objectid).SpecularColor.set(255,50,50, 50);


ios ogles1
have 30 fps
ios ogles2 pixel shader (ogles2 light use self pos calculator)
have 60 fps

HTC Sensation Z710e
android ogles 1 60fps
android ogles 2 25fps



OSX ver. done and add \RT3DApp\media\update_media.sh use on OSX

make sure
chmod 777 ./update_media.sh


http://www.mediafire.com/download/fzzxe4bw3q0wll6/proton_sdk_source_2013091.zip

feelthat
11-28-2013, 04:11 AM
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 threads, critical lock, network, music, sound, memory zip,
memory unzip, boost signal.

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/04b9y41ylhox9kc/proton_sdk_source_2013091b.zip



gut 2d text color fixed
ios music mp3 fixed

http://www.mediafire.com/download/7qqf7w6x2uux3j0/proton_sdk_source_2013091a.zip

Test 10501 triangles with textures

iphone 4s
enable follows function
smgr->setAmbientLight(video::SColor(255,80,80,80));
smgr->addLightSceneNode(0, core::vector3df(0,5,-150),video::SColorf(0.45f, 0.45f, 0.45f, 1.0f), 200.0f);
node->setMaterialFlag(video::EMF_LIGHTING, true);
node->getMaterial(objectid).SpecularColor.set(255,50,50, 50);


ios ogles1
have 30 fps
ios ogles2 pixel shader (ogles2 light use self pos calculator)
have 60 fps

HTC Sensation Z710e
android ogles 1 60fps
android ogles 2 25fps

feelthat
11-29-2013, 02:35 AM
http://www.mediafire.com/download/hs15g43abrb5aaa/proton_sdk_source_2013091c.zip


http://www.cse.ohio-state.edu/~whmin/courses/cse5542-2013-spring/13-GLSL.pdf

here is paper

feelthat
12-11-2013, 11:59 AM
This version can build on Ios, Android, WinXp Win7, MacOsx 10.8

need follow command in MacOsx
chmod 777 ./media/update_media.sh

member origImage memory copy not release fixed,

http://www.mediafire.com/download/0zw69iknbx9zdvi/proton_sdk_source_2013091d.zip


http://www.mediafire.com/download/hs15g43abrb5aaa/proton_sdk_source_2013091c.zip

DanaKeller
12-12-2013, 09:01 AM
I think that's pretty hard to understand.

DarkGator
12-18-2013, 10:45 PM
Nice work feelthat.

feelthat
12-26-2013, 08:23 PM
Nice work feelthat.

welcome welcome, you can do it too, if u want