Powder Toy - Raspberry Pi

  • DivideByZero
    4th Jan 2013 Member 0 Permalink

    Is there a port of Powder Toy to the Raspberry Pi?

  • jacksonmj
    4th Jan 2013 Developer 0 Permalink

    Getting it to compile isn't too difficult, but it runs extremely slowly. Without overclocking, TPT++ takes about two and a half hours to compile, and dima-gord's destroyable city runs at a little under 2 fps.

     

    I don't think there's much scope for making it faster. Raspberry Pi is single core so multithreading won't help. I'm not aware of any support for OpenCL or other methods of using the GPU for general purpose computing. Some speed improvements may be possible (tweaking the code, and perhaps using OpenGL), but probably not enough to make TPT run at a playable speed.

  • Candunc
    4th Jan 2013 Member 0 Permalink

    Yes, you can compile it yourself by following the guide on the wiki, however porting version 32 gives you 5 FPS with a few specs of dust on the screen, and the latest version will lock up your system trying to run the simulation. I get 15 FPS if I piggyback it off my macbook. If the devs could add a GPU compenent (OpenCL or whatever) you probably could get it playable.