GLBasic forum

Main forum => GLBasic - en => Topic started by: Goos on 2011-Sep-07

Title: Cubies for Android
Post by: Goos on 2011-Sep-07
Hello,

When I compile Cubies posted in the showroom by Gernot Frish, it comes out beatifull. I mean the stairway not the Cubies. The Cubies are all gone behind the stairs. This is totaly unlike Windows 7 i compiled it with. What is the difference between Windows and Android in this 3D program. I have a ASUS eeepad transformer tablet.
Title: Re: Cubies for Android
Post by: Kitty Hello on 2011-Sep-08
No idea. Can you try:
Code (glbasic) Select

FUNCTION RenderScene: x, y, z
X_MAKE3D 10, 100, 35


Otherwise it might be, that the Z-buffer is not initialized
Title: Re: Cubies for Android
Post by: Goos on 2011-Sep-08
No it makes no difference. The falling Cubies are to be seen on te top off the stairs but they are moving behind and not in front of the stairs as in Windows 7.
Title: Re: Cubies for Android
Post by: MrTAToad on 2011-Sep-08
I mentioned this here : http://www.glbasic.com/forum/index.php?topic=6563.msg52874#msg52874
Title: Re: Cubies for Android
Post by: Kitty Hello on 2011-Sep-08
can you change the drawing order in the RenderScene function? I think the last function call is for the background, so move that before the cubies-loop.
Title: Re: Cubies for Android
Post by: MrTAToad on 2011-Sep-09
I'll try that - just need to charge up my phone first :)
Title: Re: Cubies for Android
Post by: MrTAToad on 2011-Sep-10
Changing the rendering order works!
Title: Re: Cubies for Android
Post by: Goos on 2011-Sep-11
Yes, that does it for me too.
Title: Re: Cubies for Android
Post by: Kitty Hello on 2011-Sep-12
oh. so your device won't make a Z buffer!?
Can you paste the log GLBasic posts?
Title: Re: Cubies for Android
Post by: Goos on 2011-Sep-12
Where can I find then log glbasic posts
Title: Re: Cubies for Android
Post by: Kitty Hello on 2011-Sep-12
in the compiler/android/bin directory should be some file like: "view_log.bat" or so.
When you run that you see the full android log.
Title: Re: Cubies for Android
Post by: MrTAToad on 2011-Sep-12
Bit of a problem with that as it comes up with the error stated in the picture.

It seems the included ADB.EXE file is 0 bytes

Its the cause of the second stage error!

[attachment deleted by admin]
Title: Re: Cubies for Android
Post by: Kitty Hello on 2011-Sep-14
yes. ADB was running while you installed the SDK. Please stop GLBasic, reboot. Uninstall GLBasic, delete the C:\Program Files\GLBasic directory
Then, reinstall, update to the latest version.
Sorry, I have to fix the installer.