3D graphics on the P2?
JT Cook
Posts: 487
I remember seeing way back a video that shows texture mapping on a Propeller 2 dev board. How feasible would it be for the Propeller 2 to display 3D texture mapped graphics?
Comments
There are instructions to do texture mapping and rotation. The recent balls demo does texture mapping and rotation.
Slight clarification: The P2 won't have 32MB of sdram, but will have support for accessing at least that much externally. I believe the initial board that Parallax will be releasing with the P2 on it will have the external 32MB SDRAM on board as well.
As others have pointed out the P2 will natively support 32Mb external SDRAM which will be provided on the reference board/module which most of us will be using so as not to mess with the second power supply and teeny tiny package pins. Considering that DOOM ran on a 20 MHz 80386 I'd expect P2 to make quick work of it.
I think a Doom 1 port is doable, but I just wonder how much rework to the source code and in particular the Doom engine will have to be done, then factor in how to work in a 100MB swap file. Maybe increase the SDRAM to 128MB or 256MB, that shouldn't be too hard?
Might be interesting to look at a Doom port that runs on the Raspberry PI and see how they handle swapping.
With 32MB of SDRAM and an SD card for a filesystem, I think there are some heavy problems solved. What you have left to worry about is implementing an SDL or similar service layer for the C code to be linked against. Then you have to decide if LMM from SDRAM will work or doing overlays in HUB ram will be the prescription.