GLB 11.556 - 3d some bugs on Android

Previous topic - Next topic

SnooPI

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:)

kanonet

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

SnooPI

Tested on Nexus 7 and Kindle Fire hd.
I'll repeat some tests.

thx for your reply kano  ;)

MrTAToad

Have you got some piccies ?

SnooPI

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

SnooPI

During my tests, I noticed another bug with SETORIENTATION.
The result is not the same on android  :(

MrTAToad

Will have to have a look - need to install a few things first...

MrTAToad

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)

SnooPI

Thank you for your help MrTAToad  :good:

I will also try to take some screenshots.

SnooPI

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

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...

SnooPI

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:

kanonet

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

SnooPI

#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:


kanonet

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