Skip to content

Adds simplified splatting example to examples TOC and gives it a README #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@ Welcome to SlangPy examples! Here you'll find well written and documented exampl
| Name | Output | Description |
| ------- | ------------ | ----------------------------------------- |
| [signed_distance_field](signed_distance_field/readme.md) | <img src="signed_distance_field/output.png" height="100"> | Use of SlangPy to generate a signed distance field and execute multiple eikonal passes to obtain accurate distance away from the zero point. |
| [toy-restir](toy-restir/README.md) | <img src="toy-restir/toy-restir.png" height="100"> | Uses ReSTIR to render the view of an animated 2D toy scene |
| [toy-restir](toy-restir/README.md) | <img src="toy-restir/toy-restir.png" height="100"> | Uses ReSTIR to render the view of an animated 2D toy scene
| [Simplified Splatting](simplified-splatting/README.md) | <img src="simplified-splatting/simple-splat-ex.png" height="100"> | A simplified implementation of 3D Gaussian Splatting for educational purposes


## Documentation Samples
19 changes: 19 additions & 0 deletions examples/simplified-splatting/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Simplified Gaussian Splatting

This example demonstrates a simplified implementation of 2D Gaussian Splatting for educational purposes. It provides a more accessible way to understand the core concepts behind the Gaussian Splatting technique for neural rendering.

## Overview

3D Gaussian Splatting is a novel approach to neural rendering that represents scenes using a collection of 3D Gaussians. This simplified 2D implementation focuses on the fundamental aspects of the technique for readability and ease of understanding.

This example outputs frames to 'tev', similar to other examples.

For an in-depth explanation of the code in this example, refer to the [Neural Graphics in an Afternoon blog post](https://shader-slang.org/blog/2025/04/04/neural-gfx-in-an-afternoon/)

## Output Example
![Output visualization](simple-splat-ex.png)

## References

- ["3D Gaussian Splatting for Real-Time Radiance Field Rendering"](https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/)
- ["Adam: A Method for Stochastic Optimization"](https://arxiv.org/abs/1412.6980)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.