Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Einlander

#1
Code Snippets / Stop Watch
2010-May-20
This is my first complete Glbasic program its a stopwatch and it took me a week of beeing lazy to write it.

Included is the source and an executable for the pc and wince devices.

bugs I've found that aren't my programs fault:
If you run it on the pc you will see som nasty artifacts on the sprites, it happens everytime i call the any mouse function (mousewait, mousestate,etc)
and if you notice after the mousewaits there are are some functions to correct mouse input for wince because they are way off.


Its fairly accurate if you use it on a device, on a pc sometimes if its under heavy load the time gets off.




[attachment deleted by admin]
#2
ahh, that might be the reason. Is it using direct3d? if you need help i have 4 devices i can help you test on 1 wvga(touch pro), 2qvga (kaiser and wizard), and 1 sqvga (blackjack2)
#3
I have an htc touch pro2 running a custom rom with the latest opengl drivers. It has a screen resolution of 800x480. If i write a simple 3d program such as the one for the x_cullmode example, it will run at about 5fps, but if i were to go get an opengl game it would run at 50+ fps or even an opengles demo progam which would reach 0+ fps.

I like the ease that glbasic provides but i find it unbearably slow at higher resolutions. its decent at 320x240 on my htc kaiser/tilt but it has opengl glitches where it simply dosent render correctly, same on the touch pro 2.

so bugs:
Massive speed slow down at resolutions > 320x240
Rendering glitches in simple objects

the last one i will provide video if needed