Hi,
I've found an error using Polyvector with GP2X :-(
I've wrote this little program for test it .
Obviously under windows the program run ok
but under GP2X frozen it.
Please resolve it because the 7 July is near ;-)
// --------------------------------- //
// Project: TestPolyvector
// Start: Wednesday, June 27, 2007
// IDE Version: 4.230
SETSCREEN 320,240,0
WBciclo = TRUE
WHILE WBciclo
STARTPOLY -1
POLYVECTOR 0, 0, 0, 0, RGB(255,255,255)
POLYVECTOR 0, 239, 64, 0, RGB(42,22,111)
POLYVECTOR 319, 239, 64, 64, RGB(42,22,111)
POLYVECTOR 319, 0, 0, 64, RGB(255,255,255)
ENDPOLY
PRINT "Test PolyVector",50,50
SHOWSCREEN
IF KEY(32) = 1 // B key
PRINT "bye", 50, 100
WBciclo = FALSE
ENDIF
WEND
//---------------------------
Regards,
Neurox
Oh dear. Polyvector is not working on GP2X/PocketPC, yet.
What's on 7th July?
Quote from: GernotFrischWhat's on 7th July?
End of GBAX2007 :-)
Neurox
All righty. I see what I can do. But it might cause some trouble.
Hi,
Quote from: GernotFrischAll righty. I see what I can do.
Thanks!!!
Quote from: GernotFrischBut it might cause some trouble.
???
What type of trouble ?
Bye,
Neurox
PolyVector trouble. ;) It is basically a rendering of a colored, textured triangle fan, which - on GP2X - does not work so far. I've been debugging this a lot, but it's totally crazy. Might be due to the software implementation of floating point number support in the gcc compiler. I don't know.
Quote from: GernotFrischPolyVector trouble. ;) It is basically a rendering of a colored, textured triangle fan, which - on GP2X - does not work so far. I've been debugging this a lot, but it's totally crazy. Might be due to the software implementation of floating point number support in the gcc compiler. I don't know.
Ok, I understand!
Is very trouble, I'll resolve my problem in other way.
Neurox
No way to fix this, Gernot?
There is quite a good mature development community at ...
http://www.gp32x.com/board/index.php?s=bc3fb3889fe1a79cf4798419950cf92d&showforum=45
... why not post a question, maybe someone else has already solved this type of thing?
More specifically, here's a discussion on a complete software triangle rasteriser using fixed point maths for divs...
http://www.gp32x.com/board/index.php?showtopic=36934
Yes, I'm planning to fix POLYVECTOR. It's a really useful function, thus it should work. I'm already working on it.
OK, I've got the first version of POLYVECTOR working. I'm working on the 3D fix now. If all works good, I might have a working 3D/Polyvector implementation for GP2X/PocketPC/XBox-Linux after the weekend.
It's quite fast. I expect it to be about as fast as RotoSprite. Maybe faster - then I'll be doing rotosprite with polyvector as well.
That's really great! I look forward to this. Then a perfect Blockout clone for the GP2X could become reality.