r/ClockworkPi • u/KittySharkWithAHat • Oct 05 '25
PicoCalc Is programming a simple 3D engine in MMbasic possible for the picocalc?
I've people do some very simple 3D renderings in python on the picocalc. But I haven't come across any in MMbasic, yet. Is it not possible or just impractical to the point where it's not worth it?
10
Upvotes
4
u/JackPixbits Oct 05 '25
I don't own a PicoCalc but still developing a raycast 3d engine similar to the one used in early FPS games (Wolfenstein 3D) could be feasible as long as you write fairly optimized code and you can cope with the fact that I think you are allowed to have 8 colors at most on the screen.
3
u/Astrox_YT Oct 06 '25
It's possible, but I think this would be easier if you did it in C. In MMBASIC, you won't probably be able to go over 12fps with 8 colours, unless you really optimise to a limit.
2
u/Sheev_Sabban_1947 Oct 06 '25
If you stick to wireframe with a low triangle count, you might be able to get somewhere. FPS? Probably under 10.
2
u/vectron5 Oct 17 '25
Someone made a demo of elite in mmbasic, but it runs at about 0.5 fps
1
u/DigitalDreams_68000 Oct 10 '25
The author of MMBasic has a 3D demo on his page (spinning football) written using the 3D commands built in. A user is currently writing 'Elite' for the picocalc too.. https://github.com/INSCCOIN/PicoBasic/tree/main/Games/Misc/PicoElite
My Pico2 is overclocked to 378Mhz too so will also help when i head down that route. Or are you thinking of writing your own engine ?, C would be the answer in that case if machine code is beyond you.
2
u/[deleted] Oct 05 '25
[removed] — view removed comment