Cubies for Android

Previous topic - Next topic

Goos

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.

Kitty Hello

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

Goos

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.


Kitty Hello

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.

MrTAToad

I'll try that - just need to charge up my phone first :)

MrTAToad

Changing the rendering order works!

Goos

Yes, that does it for me too.

Kitty Hello

oh. so your device won't make a Z buffer!?
Can you paste the log GLBasic posts?

Goos

Where can I find then log glbasic posts

Kitty Hello

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.

MrTAToad

#11
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]

Kitty Hello

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.