Hi,
I am currently working on a trailblazer clone for the GP2X but I can't get my head around how the map is drawn to the screen. It is my first steps into 3D and it should in theory be simple once I figure it out but I just can't seem to get it drawing correctly.
Does anyone have any suggestions on how to go about doing this or how to calculate which map pixel I should be plotting based on the current screen pixel? I hope to put this into a lookup table and then I can simply loop through this lookup table and offset it by the current position on the map, which should speed things up.
Regards,
Scrapheap.
I am currently working on a trailblazer clone for the GP2X but I can't get my head around how the map is drawn to the screen. It is my first steps into 3D and it should in theory be simple once I figure it out but I just can't seem to get it drawing correctly.
Does anyone have any suggestions on how to go about doing this or how to calculate which map pixel I should be plotting based on the current screen pixel? I hope to put this into a lookup table and then I can simply loop through this lookup table and offset it by the current position on the map, which should speed things up.
Regards,
Scrapheap.