fogleman / Craft

A simple Minecraft clone written in C using modern OpenGL (shaders).
http://www.michaelfogleman.com/craft/
MIT License
10.44k stars 1.39k forks source link

SIMD sped up noise gen? #199

Open jackmott opened 6 years ago

jackmott commented 6 years ago

Would you be interested in this? It can speed up terrain gen by ~3x to 7x depending on cpu. What are the target platforms? x64 only or x86 and ARM as well?

twetzel59 commented 4 years ago

I think the target platform was probably both 32 and 64 bit Intel when the project was created, but today seven years later, I'd be fine with saying 64-bit is the standard.

I don't imagine any ARM support - it's built on raw OpenGL, and not ES, so it wouldn't be supported without a rewrite.

SIMD would make sense for worldgen, but the noise library has to support it.