- Status Closed
- Percent Complete
- Task Type Bugs
- Category Games
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#9380 - spacerocks shows funny rocks
Sometimes the rocks shown have wrong edges (see screenshots). The lines jump between different points while rotating.
I’ve seen this on H100, H300 and X5
Closed by teru
2009-12-12 14:11
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2009-12-12 14:11
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Fixed in r23944.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Hi, I committed a fix to the 16 bits lcd driver which fixed one problem with spacerocks in the sim but i have been unable to reproduce this on target.
It’s not fixed in r18691 (your lcd fix)
Yes, I was able to reproduce this on my h300 finally.
I tried letting it run in the h300 sim for a long while too and observed an interesting effect, some of the rocks keep increasing in size and get so big they are mostly outside the display all the time.
This happens due to the way the rock’s vertices are being rotated. There is an accumulating error which affects the shape of the rocks.
The reason is due to the way the vertices are being sined and cosined, by being multiplied with a constant of a four digits accuracy.
The error is not being reset at all, even if the asteroid completes a full round…
See code at:
http://svn.rockbox.org/viewvc.cgi/trunk/apps/plugins/spacerocks.c?view=markup
I’m developing a new game, partly based on spacerocks, and I fixed this error in my code. When I find the time, I’ll fix spacerocks either.
If anyone is interesting, I can attach my draft code here.
Tomer, if you would post your work somewhere and point out what the fix is I could try to incorporate it into spacerocks.
Btw I reproduced this on my Gigabeast so the title was incorrect, and will be changed soon.
Also I noted that the rocks first got bigger and then turned into funny shapes so it seems related.
I made a fix for this issue. this seems to work to me on my gigabeat x.