Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.42 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.42 KB

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

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.