r/computergraphics • • 28d ago

I replaced the in-scattering in a cloud raymarch with a tiny neural network, then checked it against a path tracer

109 Upvotes

Light inside a cloud is expensive to get right, so games use a few simple formulas tuned until it looks good. I wanted to see how far off that really is, and whether a small network could do better.

I wrote a path tracer as the reference, trained a network on it in Python, and ran it in plain HLSL in Unity 6. It replaces one thing, the light scattered toward the camera at each step. Everything else in the raymarch stays the same.

Then I moved the sun from behind the camera to behind the cloud and scored both against the path tracer, where 1.00 is correct. The classic lighting goes from 0.21 to 2.17. The network stays between 0.90 and 1.01 until you look straight into the sun, where it reaches 1.20. It costs about 20% more GPU time.

I had a great time building this, and I think we've barely started finding out what tiny networks can do inside a shader. If you try one yourself, I'd love to see what you make!

https://charlesgrassi.dev/blog/neural-volumetric-clouds/


r/computergraphics • • 27d ago

The Forest | Cover Art (3ds Max + V-Ray)

Thumbnail gallery
1 Upvotes

r/computergraphics • • 28d ago

How to optimize high dimensional axis aligned box slicing?

1 Upvotes

So the basic starting point is a ray, find minimum and maximum and then maximum of minimums and minimum of maximums in travel, that finds one pixel. I might be able to go line of pixels by line, measuring how far it needs to move on the line from the two edges then going directly to the start of shape, finding the outline. So how is this defined? Euclidean higher dimensions with slicing, so we have a view point and a view plane, if an object is past the view plane and a ray to the view point exactly passes the view plane, then it is viewed, otherwise it is not viewed.

I want triangles of this and the full representation of higher dimensional boxes requires about the number of dimensions factorial or 2 to the power of number of dimensions, both huge. With this at least each ray can be like the number of dimensions, no power or factorial. I am trying to do it with opacity. If it were a solid color I could triangulate the bounding lines and be done. I can also do like on a line edge of the box where a line found starts and ends, like get an initial point, get another point, use those to get ends of validity. I would have to do this kind of thing per box and one dimension can function like a normal z dimension.

So far the algorithm is basically per line of pixels, go from one end to the first valid, get second point, determine line ends, from far end, get second point, continue until far end of shape or meet in the middle. After that, connect the bounds and ends to form lines and triangulate based on lines. Note that the boxes are axis aligned but the view may not be. Still not sure if this can be improved and linear algebra on 1000d becomes bad for performance, thoughts? All this parallel on the GPU, like per dimension mostly and per thing that can be separated. I can also chunk minimums and maximums for parallelism. I also may have to use the maximum of the travel to the object or travel to the pixel. I am just asking about what can be optimized. X E.


r/computergraphics • • 29d ago

Fallingwater Work-in-Progress #2

Post image
7 Upvotes

r/computergraphics • • 29d ago

[OptiX 9 / CUDA] Real-Time Path Tracing on a 4060 Laptop: 2.2 Gigarays/s, 256 SPP & Solving the Crevice Noise Trap

Thumbnail
reddit.com
0 Upvotes

r/computergraphics • • 29d ago

fractal flame Daniel's Magic Lamp Spiral solid 3D composite raytrace by pgmatg on DeviantArt

Thumbnail
deviantart.com
1 Upvotes

r/computergraphics • • 29d ago

Thermocline, a 4K seamless loop I made

4 Upvotes

r/computergraphics • • 29d ago

Made a browser tour of the inside of a PC from the case down to the CPU booting. React Three Fiber, feedback welcome

4 Upvotes

I made a 3D tour of how a computer works that runs in the browser. You drop inside the tower onto the motherboard and follow a signal as the CPU boots. There are also older machines (ENIAC, IBM 7090, Apple II).

It's React Three Fiber, GSAP for the camera moves, and some bloom.

Two things I can't judge anymore after staring at it too long: the glow on the data bus looks a bit much to me, and I don't know if the camera transitions are too slow. Does the glow help you follow the signal or just get in the way?

voltscenes.com


r/computergraphics • • Oct 31 '26

The City Above the City: a dystopian liminal brutalist scene, rendered entirely in my own programming language

Thumbnail
youtube.com
3 Upvotes

r/computergraphics • • Oct 31 '26

I designed my own Lego set. (Blender) Does it look realistic?

Post image
7 Upvotes

r/computergraphics • • Oct 31 '26

UE5 3D/4D Gaussian Splatting Plugin MLSLabsRender V2 Tutorial for Pico V...

2 Upvotes

https://www.youtube.com/watch?v=IoY80YsT9Wc&t=14s

In this video, we walk through how to use the UE5 3D Gaussian Splatting MLSLabsRenderer v2 (GitHub: https://github.com/mlslabs/MLSLabsGaussianSplattingRenderer-UE ). This is a high-performance plugin developed specifically for Unreal Engine 5 (UE5), supporting real-time rendering of 3D Gaussian Splatting (3DGS) and dynamic volumetric video (4DGS).

Unlike traditional Niagara-based solutions, we use a custom low-level rendering pipeline that supports:

✅ Ultra-high-performance static 3DGS: maintains 60+ FPS even with 7M+ Gaussian points

✅ Dynamic 4DGS playback: supports dynamic sequences with 100K+ Gaussian points at frame rates up to 120+ FPS

✅ Seamless integration with UE Sequencer: supports professional editing and control in the Sequence Editor

✅ High-compression static 3DGS: supports the .sog format for high-compression-ratio 3DGS

✅ Android support: supports Gaussian splatting rendering on Android devices, with 250K+ Gaussian points at 60+ FPS (tested on REDMI K80)

✅ VR headset support: supports running directly on VR headsets, with 250K+ Gaussian points at 30+ FPS (tested on Pico 4 Ultra Enterprise); PC streaming playback is also supported


r/computergraphics • • Oct 30 '26

Thaw, a 4K seamless loop I made

19 Upvotes

r/computergraphics • • Oct 29 '26

I'm scared, I'm only at the third level of the iceberg.

26 Upvotes

I started learning computer graphics a few months ago, but when I reached the advanced section on LearnOpenGL.com, it started to get really intimidating.


r/computergraphics • • Oct 30 '26

The Shore SOP in TouchDesigner

Thumbnail
youtube.com
1 Upvotes

r/computergraphics • • Oct 29 '26

Vajra - New 3D Artwork

Thumbnail
gallery
6 Upvotes

Breakdown: https://www.artstation.com/artwork/G11NVW

Connect me on LinkedIn: https://www.linkedin.com/in/garv-gautam-b98650345/

A 3D game asset inspired by the Vajra at Swayambhunath Stupa, Nepal. The goal was to bring its intricate design into a game-ready prop while preserving the character of the original monument.

The process involved detailed ornamental modeling, PBR texturing, and creating aged gold, painted details, and weathered stone. Special attention went into surface wear, roughness variation, and keeping the details readable for real-time use in a game environment.

Going to share full turntable video of Texturing and high poly in the next post.

would love to hear your thoughts.


r/computergraphics • • Oct 28 '26

I wrote a tiny software rasterizer in Lua that renders 3D models straight to pixel art

Thumbnail
gallery
104 Upvotes

It runs inside Aseprite as a script. No Blender or shaders, just triangles, a z-buffer and a bunch of rounding.

Turns out rendering big and scaling down looks like garbage, so everything is drawn at its final size (32, 64 or 128 px). Lighting is quantized to 4-5 tones per material, outlines come from depth differences between parts, and hard edges get a 1px highlight. Grain is tied to world position so it doesn't crawl around when the model spins.

Bayer dithering only works on light transitions. On 1-2px strips it just turns into a weird zigzag.

Circuit boards were a pain. Traces use A*, but in 2:1 iso you need 2px between parallel lines or they merge. So on a 32px board you're stuck with a tiny 6x4 grid. Bigger sizes look way better.

Still can't get the dithering to look right during rotation. It's screen-space, so it shimmers like crazy. Anyone figured out a way to keep it stable without it sliding around the surface?


r/computergraphics • • Oct 29 '26

A computer vision web app for videography

0 Upvotes

Outside of my job as a software engineer, I’m really into filmmaking and videography. I’ve always thought there was a lot of creative potential in computer vision that hasn’t really been explored. I’ve used touchdesigner and after effects but the cv tools are quite cumbersome and difficult to tweak/edit.

So I’ve been working on a side project, a browser-based tool for messing around with face tracking, body tracking, blob tracking, motion tracking and different video effects.

Still early days and plenty I want to add, but it’s been good fun working on it. Would love to hear what people think or if anyone has ideas for other creative uses of CV!


r/computergraphics • • Oct 29 '26

Recursive helix fractal in a custom engine — precision loss and framerate collapse at depth. Where would you start?

Thumbnail
youtu.be
2 Upvotes

The shape: take a line, wrap it into a helix. Treat the resulting helix as a new line, wrap that into a helix. Repeat. The limit is a 3D self-similar structure where every wire is a spring and every spring is a wire.

I generate geometry on the fly relative to the camera, with per-level color coding. It looks great until you fly too deep — then it's classic precision death plus a vertex-count explosion, and either the geometry disappears or the frame rate tanks.

Full disclosure: I'm not a professional graphics programmer and my code is fairly basic. I threw AI at it hoping it would clean things up; it didn't meaningfully help and clearly didn't grasp the recursive structure. So I'm asking people who actually know this domain.

Would you go analytic SDF + raymarching instead of mesh generation? Interval arithmetic? Log-space or double-double coordinates? A real LOD scheme? What's the first thing you'd rip out?

Video: https://youtu.be/zy_hQV324hg
Repo: https://github.com/rupomthegreat/spring-made-of-spring-infinity-fractral
Codepen: https://codepen.io/editor/rupomthegreat/pen/01a18b63-c3a3-76f6-9db0-a7fc04384bf7


r/computergraphics • • Oct 28 '26

Volumetric Rendering: The "How-to" - Blog post Out now!

2 Upvotes

In our previous What The Graphics! blog, we explored Volume Rendering and why it matters.

Now, we're going deeper into how it works. From raw voxel data to 3D textures, we explore 3D Texture Slicing and how a stack of textured polygons can bring an entire volume to life.

Read it here 🔗 - https://www.3denginerd.com/blog/volumetric-rendering-how-to

You can check out our accompanying public repo here - https://github.com/mikejernil/volumetric-render-engine

Written by us over at 3D ENGINERD.

 


r/computergraphics • • Oct 28 '26

Which shades of colors are shown the worst on color models?

0 Upvotes

Hi I am learning color models and color spaces, I assume it depends on gamut but I have this question on a test and I really can't find the answer anywhere 🥲


r/computergraphics • • Oct 28 '26

Spooky Halloween

Thumbnail
superspl.at
1 Upvotes

My first splat (worth sharing) 😂

Insta360 video trained with Spirula Studio

Original splat was 5M splats 100,000 iterations.

What do you all think?


r/computergraphics • • Oct 27 '26

ASCIIfy Compositor Addon for Blender 5.x (Eevee, realtime) [Promo]

Thumbnail
lgo.itch.io
1 Upvotes

r/computergraphics • • Oct 27 '26

Walk cycle design

Thumbnail
youtube.com
1 Upvotes

r/computergraphics • • Oct 27 '26

Nugget

Thumbnail
superspl.at
1 Upvotes

❤️ gaussian splat