← Back

ofxSplat

github.com/CharStiles/ofxSplat · @CharStiles
OF 0.12 Graphics Shaders

Gaussian Splatting for OpenFrameworks by Zach Lieberman and Char Stiles

27 4 Last commit 2y ago Created 2y ago

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.

fridjemolk/ofxSplat by @fridjemolk · ★ 0 · pushed 19d ago
keysemails/ofxSplat by @keysemails · ★ 0 · pushed 8mo ago
hanasaan/ofxSplat by @hanasaan · ★ 0 · pushed 9mo ago

README

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

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.

Get this addon

HTTPS
SSH