I have posted this on the official pocketGL forum but it seems very quiet and I also noticed a few familiar names from pocketmatrix so I thought I'd post here as well.
I have recently purchased the full version of PocketGL and I'm hoping to use it with the MS Smartphone platform. I checked with Pierre (the author) prior to purchase that it should work as long as I modify the blit routine to take account of the smartphone screen size (which is 176*220). And that is where I'm getting stuck.
I'm currently only trying to get the demos to work - they run but the screen is all messed up. For example with the solar system demo you can see that things are moving but that the pixels are being drawn in the wrong place - which follows exactly what Pierre said.
The MS Smartphone has an ARM processor and as the device won't correspond to any pocket pc, I assume the Flush_Standard method is being called. I'm assuming that I need to change some of the values in the flush method and also in the blit (which I assume is handled in the blitARM.s file) as well as the DISP_X and DISP_Y values defined in board3D.h.
I know a few people have asked before about different screen sizes so I was wondering if anyone had been successful. Any advice on what values to change where would be greatly appreciated.
Many thanks.
I have recently purchased the full version of PocketGL and I'm hoping to use it with the MS Smartphone platform. I checked with Pierre (the author) prior to purchase that it should work as long as I modify the blit routine to take account of the smartphone screen size (which is 176*220). And that is where I'm getting stuck.
I'm currently only trying to get the demos to work - they run but the screen is all messed up. For example with the solar system demo you can see that things are moving but that the pixels are being drawn in the wrong place - which follows exactly what Pierre said.
The MS Smartphone has an ARM processor and as the device won't correspond to any pocket pc, I assume the Flush_Standard method is being called. I'm assuming that I need to change some of the values in the flush method and also in the blit (which I assume is handled in the blitARM.s file) as well as the DISP_X and DISP_Y values defined in board3D.h.
I know a few people have asked before about different screen sizes so I was wondering if anyone had been successful. Any advice on what values to change where would be greatly appreciated.
Many thanks.