Author Topic: GLB 11.556 - 3d some bugs on Android  (Read 4318 times)

Offline Snoopy

  • Dr. Type
  • ****
  • Posts: 250
    • View Profile
GLB 11.556 - 3d some bugs on Android
« on: 2013-Oct-09 »
Apparently there is some differences between v10 and v11.556 in 3D on Android:

In X, the camera seems to be inversed.
X_CULLMODE is inversed.

(thanks Gernot, despite still some problems, this is a very good version  :good:)

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: GLB 11.556 - 3d some bugs on Android
« Reply #1 on: 2013-Oct-09 »
I can not confirm your Problem, 11.556 works fine for me, 3D looks almost the same on Android and Windows (only some smaller differences in colors, think thats ok). Tested on bluestacks, no real device.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline Snoopy

  • Dr. Type
  • ****
  • Posts: 250
    • View Profile
Re: GLB 11.556 - 3d some bugs on Android
« Reply #2 on: 2013-Oct-09 »
Tested on Nexus 7 and Kindle Fire hd.
I'll repeat some tests.

thx for your reply kano  ;)

MrTAToad

  • Guest
Re: GLB 11.556 - 3d some bugs on Android
« Reply #3 on: 2013-Oct-09 »
Have you got some piccies ?

Offline Snoopy

  • Dr. Type
  • ****
  • Posts: 250
    • View Profile
Re: GLB 11.556 - 3d some bugs on Android
« Reply #4 on: 2013-Oct-10 »
I confirm these bugs, but not in all resolutions.

No screenshot MrTAToad, but a simple program to test.

It's a very strange bug and very difficult to detect  :S

Offline Snoopy

  • Dr. Type
  • ****
  • Posts: 250
    • View Profile
Re: GLB 11.556 - 3d some bugs on Android
« Reply #5 on: 2013-Oct-11 »
During my tests, I noticed another bug with SETORIENTATION.
The result is not the same on android  :(

MrTAToad

  • Guest
Re: GLB 11.556 - 3d some bugs on Android
« Reply #6 on: 2013-Oct-11 »
Will have to have a look - need to install a few things first...

MrTAToad

  • Guest
Re: GLB 11.556 - 3d some bugs on Android
« Reply #7 on: 2013-Oct-11 »
On my Huawei phone it is landscape, but the objects are solid and rotate properly.

Will test it on my tablet soonish (and then can get some screenshots)

Offline Snoopy

  • Dr. Type
  • ****
  • Posts: 250
    • View Profile
Re: GLB 11.556 - 3d some bugs on Android
« Reply #8 on: 2013-Oct-11 »
Thank you for your help MrTAToad  :good:

I will also try to take some screenshots.

Offline Snoopy

  • Dr. Type
  • ****
  • Posts: 250
    • View Profile
Re: GLB 11.556 - 3d some bugs on Android
« Reply #9 on: 2013-Oct-11 »
Ooook now, I am unable to compile on xp.  :rant:       GLB v11.556-559 :whip:

I give up, this version is too buggy for me  :giveup:
I return to my old v10.283 (has less bugs in 3d)

Hoping that v11.559 will not be the final v11.  :sick:

Thank you kanonet and MrTAToad for their help  :booze:

MrTAToad

  • Guest
Re: GLB 11.556 - 3d some bugs on Android
« Reply #10 on: 2013-Oct-12 »
Are you finding that when compiling for Android, you end up with two sets of 559 errors ?

I have found that Cleanup in the latest version deletes the android icon file (in the Android release directory) and compiling doesn't create a new one...

Offline Snoopy

  • Dr. Type
  • ****
  • Posts: 250
    • View Profile
Re: GLB 11.556 - 3d some bugs on Android
« Reply #11 on: 2013-Oct-13 »
In fact it's a little problem with the linking (just with my v11 not v10).
But that's not the real problem, the real problem is the 3D.
I reconfirm the bugs mentioned above. :(
Apparently few people complain of this version, i think few people make of true 3D with GLB  :|

Thank you MrTAToad for your interest :good:

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: GLB 11.556 - 3d some bugs on Android
« Reply #12 on: 2013-Oct-13 »
I work with 3D but usually only on Windows. I had a look at your test project:

1. I could not compile your project for android, dont know why. I created a new project, copied your code+image+project settings and it compiled just fine. Something must be wrong with your project. Maybe try 11.559 on your machine again and create a new project.

2. I could confirm your problems, some testing showed they are very strange:
problem a)
can only see small part of the scene and scene is turned 90 degrees.
-> can be fixed/work around if you add a SETSCREEN at top of your program, then it works fine.
problem b)
cullmode is the exact opposite from windows (-1 is 1 and other way around)
-> if you added fix for problem a), problem b) is also gone if I set app size to tablet mode, but if I run it in tablet mode problem is still there...

All tested with 11.559 on bluestacks/win7 x64
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline Snoopy

  • Dr. Type
  • ****
  • Posts: 250
    • View Profile
Re: GLB 11.556 - 3d some bugs on Android
« Reply #13 on: 2013-Oct-13 »
SETSCREEN doesn't work on NEXUS 7 and KINDLE FIRE HD (and probably with others) because this function has no effect on these tablets (the resolution is the desktop resolution)
That's why my prog is fully programmed to work with all resolutions (and not just with a simple stretching of the screen)

In Fact, i think all of this is an orientation problem that disturb the 3d.
Indeed, I noticed that :



Very strange  O_O

Thanks for your tests kanonet  :good:

« Last Edit: 2013-Oct-13 by Snoopy »

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: GLB 11.556 - 3d some bugs on Android
« Reply #14 on: 2013-Oct-13 »
Yes SETSCREEN has no effect on Android - on theory. It did fix one of the issues, like I posted. I guess this is cause it internally sets the viewport or something like that. Just try it.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64