Results 1 to 19 of 19

Thread: RT3DApp and RTPhysics done in Ogles2 and OpenGL

  1. #1
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default RT3DApp and RTPhysics done in Ogles2 and OpenGL

    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/10618...65088859640225

    download address
    http://www.mediafire.com/download/tr...ce_2013083.zip

    thanks Nadro
    thanks Seth
    thanks irrlicht 3d, proton 3d all staff
    any question can email: fatalfeel@yahoo.com.tw , Jesse Stone
    Last edited by feelthat; 01-06-2014 at 06:49 AM.

  2. #2
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default added zip file read

    http://www.mediafire.com/download/ka...e_2013083a.zip

    Quote Originally Posted by feelthat View Post
    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/11469...113?banner=pwa

    download address
    http://www.mediafire.com/download/tr...ce_2013083.zip

    thanks Nadro
    thanks Seth
    thanks irrlicht 3d, proton 3d all staff
    any question can email: fatalfeel@yahoo.com.tw , Jesse Stone

  3. #3
    Lesser Knight
    Join Date
    Jul 2011
    Posts
    51

    Default

    Nice work

    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.

  4. #4
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,340

    Default

    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.
    Seth A. Robinson
    Robinson Technologies

  5. #5
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default RT3DApp and RTPhysics done in Ogles2 and OpenGL fixed

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

    http://www.mediafire.com/download/29...ce_2013084.zip

    Quote Originally Posted by Seth View Post
    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.

  6. #6
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default fixed new ver proton_sdk_source_2013084b

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

    http://www.mediafire.com/download/yb...e_2013084b.zip

    Quote Originally Posted by feelthat View Post
    1. add quakeshader example
    2. fix B3d read path
    3. fixed ios read path
    4. housescene path fixed

    http://www.mediafire.com/download/29...ce_2013084.zip

  7. #7
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default high level shader resume fixed

    1. high level shader resume fixed

    http://www.mediafire.com/download/z2...ce_2013085.zip

    Quote Originally Posted by feelthat View Post
    1. android 32 bits png color
    2. add setGroupMaterialTexture function, you can assign different texture on same layer

    http://www.mediafire.com/download/yb...e_2013084b.zip

  8. #8
    Lesser Knight
    Join Date
    Jul 2011
    Posts
    51

    Default

    Quote Originally Posted by feelthat View Post
    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

  9. #9
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default high level shader attach nodetext resume fixed

    http://www.mediafire.com/download/aa...ce_2013086.zip

    Quote Originally Posted by feelthat View Post
    - - - Updated - - -

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

    so download and run will know

    Quote Originally Posted by darkchazz View Post
    Hi.
    May I ask how you fixed these bugs? I mean what code exactly did you change?

    thanks

  10. #10
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default Add full irrlicht GUI function apply unicode words , simplize RT3DApp 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/2o...ce_2013088.zip


    Quote Originally Posted by feelthat View Post
    http://www.mediafire.com/download/aa...ce_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
    Last edited by feelthat; 11-20-2013 at 09:15 PM.

  11. #11
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default button press error fixed

    http://www.mediafire.com/download/6b...e_2013088a.zip

    after few days will release MacOs version
    RT3dApp and RTPhysics

    Quote Originally Posted by feelthat View Post
    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/2o...ce_2013088.zip
    Last edited by feelthat; 11-24-2013 at 03:33 AM.

  12. #12
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default OSX done

    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/fz...ce_2013091.zip

    Quote Originally Posted by feelthat View Post
    http://www.mediafire.com/download/6b...e_2013088a.zip

    after few days will release MacOs version
    RT3dApp and RTPhysics

  13. #13
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default gut 2d text color fixed

    gui 2d text color fixed
    ios music mp3 fixed

    http://www.mediafire.com/download/7q...e_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


    Quote Originally Posted by feelthat View Post
    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/fz...ce_2013091.zip
    Last edited by feelthat; 12-11-2013 at 01:23 PM.

  14. #14
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default osx init opengl error fixed

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


    Quote Originally Posted by feelthat View Post
    gut 2d text color fixed
    ios music mp3 fixed

    http://www.mediafire.com/download/7q...e_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
    Last edited by feelthat; 12-02-2013 at 08:33 AM.

  15. #15
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default change android resume sequence for safe


  16. #16
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default win32, android, reload image memory not release bug fixed

    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/0z...e_2013091d.zip

    Last edited by feelthat; 01-05-2014 at 11:45 AM.

  17. #17
    Squire
    Join Date
    Nov 2013
    Location
    Fort Worth
    Posts
    10

    Default

    I think that's pretty hard to understand.

  18. #18
    Lesser Wizard DarkGator's Avatar
    Join Date
    Nov 2013
    Location
    XprivateX
    Posts
    223

    Default

    Nice work feelthat.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Growtopia IGN: Badgator

    Tanked IGN: DarkGator (Retired)

    http://m.youtube.com/watch?v=JwOya18u8_Q
    This Song is one of my favs: A beautiful Lie.

    http://zackshideout.boards.net/ < Click on it to be a member of that Forum!
    http://giveadamn.co.uk/profile
    Give me a damn..Or do a damn.

  19. #19
    Lesser Wizard
    Join Date
    Feb 2013
    Posts
    142

    Default thanks

    Quote Originally Posted by DarkGator View Post
    Nice work feelthat.
    welcome welcome, you can do it too, if u want

Similar Threads

  1. integrated OGLES2 into Proton 3D
    By feelthat in forum Proton SDK
    Replies: 5
    Last Post: 10-22-2013, 12:03 PM
  2. Error compiling rtphysics for android
    By darkchazz in forum Proton SDK
    Replies: 4
    Last Post: 08-03-2013, 12:05 AM
  3. Replies: 1
    Last Post: 11-22-2012, 05:44 AM
  4. RTPhysics android compile problem
    By youngvleo in forum Proton SDK
    Replies: 2
    Last Post: 11-20-2012, 02:56 AM
  5. Compile RTPhysics error
    By hua1350 in forum Proton SDK
    Replies: 4
    Last Post: 10-17-2011, 01:09 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •