GPU power

Not much of this weeks work has affected the graphical part of the project and therefore we dont really have any new screenshots or movies to show. However that does not mean that nothing has been done!

Much time has been spent on trying to optimize the noise. We want to use 3d noise to get as interesting landscapes as possible but to generate lots of voxels in real time on the CPU like this was not efficient enough, as we had guessed. So the plan to have the generation done on the GPU was set in motion and we now have an simplex noise implementation in OpenCL. The gain in performance was huge, the cpu noise we had before, optimized with SSE, took roughly 15 milliseconds for 32768 voxels while the same generation on the GPU only took 0.2 milliseconds.

Be Sociable, Share!