Skip to content

Gaussian Splatting for OpenFrameworks by Zach Lieberman and Char Stiles

License

Notifications You must be signed in to change notification settings

CharStiles/ofxSplat

Repository files navigation

=====================================

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 License

Installation

Download this and drop it into openFrameworks/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 11

Credit

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.

About

Gaussian Splatting for OpenFrameworks by Zach Lieberman and Char Stiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published