Gaussian Splatting for OpenFrameworks by Zach Lieberman and Char Stiles
Forks
Forks pushed to more recently than CharStiles/ofxSplat itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.
README
=====================================
First you put your gaussian splat nerf PLY in the data folder, then declare an instance of an ofxSplat, ``
Developed at Future Sketches Group at the MIT Media Lab.
Introduction
This is a nerf gaussian splat renderer modeled after antimatter15's webgl implementation. You can create a splat from a video following instructions from a well written writeup from Alex Carlier here. You can read more about the creative process here.License
MIT LicenseInstallation
Download this and drop it intoopenFrameworks/addons/ folder. Your point clouds go into the data folder in your project.Use
First you put your gaussian splat nerf PLY in the data folder, then declare an instance of an ofxSplat, ``
ofxSplat splat` in your header, say your point cloud is called pointcloud.ply then you call `splat.setup("pointcloud.ply")` to prepare the splats
Then in your update loop call `splat.udate()`
Then in your draw loop call `splat.draw()`` Compatibility
OF 10 and 11Credit
Thanks to Zach Lieberman for writing the meat of the renderer, from the vbo, fixing the shaders, to the sorting and beyond.Developed at Future Sketches Group at the MIT Media Lab.
ofxAddons