Samstag, 25. August 2012

Blending two Voxel Scenes

Here a experiment to apply blendshapes to a voxel scene. Its much slower, still runs at interactive framerates (20-30). The video lags as the framecapture@1024x768 took quite a lot of CPU time.


OpenCL Voxel Octree Raycasting

Here the same scene visualized using OpenCL octree raycasting. Eventhough the persistent threads method is not used, its around 20-100% faster than the previous splatting (depending on the scene). The code is ported from my previous CUDA raycaster. Hardware is again the GTX580M.

Each method has its advantages though. While octree raycasting works better for static objects, splatting is better for dynamic scenes.

Freitag, 17. August 2012

OpenCL Voxel Splatting 2.000.000.000 points/s

This time OpenCL is used for rendering the voxels as single points. The gaps between are filled in a post-process. The performance is much better than OpenGL: 2 Billion Points/sec @ GTX580M

Resolution:1024x768 Voxel Field: 20.000 x 20.000 x 1024 Voxels, Framerate: 30-40 Fps, LOD and Frustrum Culling are used. Dataset: 5.4M points  / instance at highest resolution , 6.9M including all levels of detail.

Download : Link1 Link2