r/GraphicsProgramming • u/debix • Jun 10 '26
Realtime Heat Transfer Simulation
Builds on Windows and Linux: https://github.com/tsun3doku/ParaMetal
r/GraphicsProgramming • u/debix • Jun 10 '26
Builds on Windows and Linux: https://github.com/tsun3doku/ParaMetal
r/GraphicsProgramming • u/Background_Shift5408 • Jun 23 '26
r/GraphicsProgramming • u/H0useOfC4rds • Sep 18 '25
Some footage I thought I'd share from my real-time path tracer.
Most of the heavy lifting is done using ReSTIR PT (only reconnection shift so far) and a Conty&Kulla-style light tree. The denoiser is a very rudimentary SVGF variant.
This runs at 150-200fps @ 1080p on a 5090, depending on the scene.
r/GraphicsProgramming
•
u/donotthejar
•
May 15 '25
r/GraphicsProgramming • u/pslayer89 • Jun 25 '24
r/GraphicsProgramming • u/Mago_Malvado • Mar 12 '21
r/GraphicsProgramming • u/Maui-The-Magificent • Feb 14 '26
Hello once more,
I have been taking a break from my particle work and going back to working on the light engine of my no-std integer based CPU graphics engine/framework. And thought I would share the current progress on reflections.
Keep in mind that the included GIF shows a prototype that has most of its parameters either highly clamped or non-functional, as I have ripped out most of the code to focus on reflections. So, this demo recording is not an accurate representation of how the full engine outputs most of the other things on the menu to the right.
The first thing I started working on when I started building Constellation was geometry and light. I have always been quite annoyed about ray tracing. Don't get me wrong, it's an amazing technology with very impressive results. But it is very much a brute force solution for a phenomenon that is inherently deterministic. The idea is that deterministic processes are wasteful to simulate, if you have managed to get a result, then you have solved that process. You can now use the result and offset it by the positional delta between points of interaction and light sources.
The demo above is not optimized, structurally its not doing what it should. There is much more computation being done then what it needs to. But I wanted to share it because, even though the frame rate a lot lower than it should, it at least shows you that you can achieve good reflections without doing any ray tracing, and hopefully it helps illustrate that computing light in graphics isn't solved, but suggest it could be.
//Maui_The_Mupp signing off
r/GraphicsProgramming • u/corysama • Dec 16 '25
r/GraphicsProgramming • u/monema_ • Sep 25 '25
We're building a simulated living being you can adopt and interact with.
To build a simulated animal we need a real time particle simulation.
Today we made our first steps towards building a simulation.
Today we made our first particle.
Once we create our version of Unified Particle Physics for Real-Time Applications.
We will continue building a brain using Izhikevich neurons.
Follow us if you want to get notified when we open source our project!
And reach out to us over Reddit messages if you want to build simulated living being with us!
r/GraphicsProgramming • u/Chemical_Passion_641 • Nov 08 '25
Github: https://github.com/JohnMega/3DConsoleGame/tree/master
The engine itself consists of a map editor (wc) and the game itself, which can run these maps.
There is also multiplayer. That is, you can test the maps with your friends.
r/GraphicsProgramming • u/heypringle • Aug 03 '26
recently i posted my progress on computer graphics "how does it look 2 years in computer graphics".
well I received A LOT of support on that post, and i wanted to thank you all for the positive comments and motivation.
since that post (post here) i focused on "enhance" my project specifically i wanted it to be multi-platform (iOS/macOS) and have lights/shadows.
and luckily i found a 2009 computer graphics class from "UC Davis Academics" which goes insanely deep into all the math/physics behind graphics i recommend it a lot (class here).
so from not knowing what diffusion, specular and lambert's law are, and thinking that reflections are IMPOSSIBLE to calculate with vectors, dot products, normalization and all that...
to implement by myself a lightning system to my 3D engine and also made it multi-platform, here's an iPad demo of the engine.
thank you if you read this, will post the next update, might be some animations/simulations.
r/GraphicsProgramming
•
u/PerceptionCharming
•
Oct 05 '26
Every blade is rendered individually, with enough geometry and detail that you can get right down into the grass and still see the shape of individual blades.
What I'm really happy about is how well that detail holds up into the distance. The grass doesn't just look good up close and then turn into a blurry carpet. There's still a surprising amount of visual fidelity as you move further away.
And this is running at 1080p on a base M1 Mac.
I've spent a huge amount of time working on the rendering, LOD system, culling, tiling, wind, and overall density to get this balance between individual blade detail and performance.
This is essentially what I've been trying to achieve with Three.js Grassworks: pushing procedural grass in Three.js as far as I can while still keeping it practical enough to actually use in a real-time scene.
It's built around WebGPU and Three.js, and the current system can handle different grass types, terrain interaction, distance-based LOD, and large grass fields while maintaining this level of detail.
Still a lot more I want to push with it, but I'm genuinely really happy with where it's at now.
r/GraphicsProgramming • u/tntcproject • Jun 17 '25
r/GraphicsProgramming • u/Maleficent_Clue_7485 • May 08 '25
now i need to add fog, soft shadows, sub surface scattering, palette quantizing, dithering, and scene dynamicness wish me luck ;) (sorry for the bad compression on the gif ...)
r/GraphicsProgramming • u/firelava135 • Sep 09 '24
r/GraphicsProgramming • u/OwnTap3513 • Sep 28 '26
I worked a lot on my path tracer during the summer vacations, and this was superrrr fun ! I wanted to go a little further than my last projects and dive into something a tiny bit more original to get off my comfort zone.
I made it mainly with C++ and OpenGL, without AI appart from the README in the repo. The engine supports switching back and forth between RGB and spectral at runtime, and I also implemented hair / fur rendering the way Disney does it.
I also have a basic scene handling system with saving, loading and moving things around in the scene.
Lastly, the engine also has more "traditional" features I would say, such as VNDF sampling, EON diffuse material, constantly dense volume scattering, etc...
I am plannign to keep working on it, because right now the code is kind of a mess, and many features lack such as denoising, things like BDPT, compatibility with OpenUSD.
If you want to take a look at the repo : https://github.com/SlyZ1/Path-Tracer
And feel free to contribute to it (even though I doubt anyone would want to, but just in case)
r/GraphicsProgramming • u/JBikker • Jun 28 '25
TinyBVH has been updated to version 1.6.0 on the main branch. This version brings faster SBVH builds, voxel objects and "opacity micro maps", which substantially speedup rendering of objects with alpha mapped textures.
The attached video shows a demo of the new functionality running on a 2070 SUPER laptop GPU, at 60+ fps for 1440x900 pixels. Note that this is pure software ray tracing: No RTX / DXR is used and no rasterization is taking place.
You can find the TinyBVH single-header / zero-dependency library at the following link: https://github.com/jbikker/tinybvh . This includes several demos, including the one from the video.
r/GraphicsProgramming
•
u/carlhugoxii
•
Sep 15 '25
To make programmatic animations with hot reload, strong rendering backend and good type guidance, I created DefinedMotion. https://github.com/HugoOlsson/DefinedMotion
Some might know Manim, which was made to produce the amazing videos by 3Blue1Brown. That is the biggest programmatic animation library. I tried it this spring and while good, it was frustrating in the following ways for me (Community version of Manim):
When doing code changes, to see the change, I needed to save -> render -> open video -> scrub to frame. When doing larger animations, this feedback loop became slow.
Manim uses Python, which is a nice language, but for animations with many moving parts, it can become slow. It can also be easy to mistype names or use the wrong types in Python without warnings.
The community version has a somewhat weak 3D renderer. (but very good with some parts like SVG rendering and manipulation)
So I created my own animation library. It is built with TypeScript and Three.js. With this I can give these things:
Use any feature/primitive from Three.js in your animation. This includes materials, lighting, model imports, camera handling, community plugins etc.
Fine-grained hot reloads on save by using Vite and a custom made viewer that traces the animation to the current frame.
Inherently good type guidance since it uses TypeScript. TypeScript also tends to be faster than Python in loops and other bottlenecks.
The project is open source and available to use right now. What's great is that even if DefinedMotion doesn't yet expose a particular feature, since its built on Three.js, any feature can be used from there. This makes it unlikely to run into the problem of "ohh this doesn't exist yet, I'm screwed".
Manim is still more optimized for purely mathematical animations with its extremely good LaTeX renderer and its phenomenal SVG morphs. Just 3Blue1Brow's videos alone shows its incredible potential!
The current all time most upvoted post in r/manim is actually made with DefinedMotion: https://www.reddit.com/r/manim/comments/1k53byc/what_do_you_guys_think_of_my_animation/
r/GraphicsProgramming • u/yetmania • Feb 27 '26
I was learning how to sample rays from the GGX NDF (by following https://agraphicsguynotes.com/posts/sample_microfacet_brdf/), and I wanted to implement it for dielectrics (the red ball in the scene), but the results were different from when I was randomly sampling rays from the normal hemisphere. To get a reference, I recreated the scene in Blender and rendered it in Cycles.
After fixing my math, I started playing around with the roughness and compared the results to Blender Cycles, and I am amazed at how similar they look (if I ignore the tonemapping and denoising). Or are they? Do you notice any difference that I should take note of?
Also, do you know any resources to learn how to replicate Blender's Filmic tonemapper? If not, then I guess I will have to take a dive in Blender's source code. I tried ACES (https://github.com/TheRealMJP/BakingLab/blob/master/BakingLab/ACES.hlsl), but it looks much darker than Blender. My images above use Reinhard.
r/GraphicsProgramming • u/amm0nition • Jan 03 '26
Turns out learnopengl.com is not that scary to follow through (I still don't understand so many terms and codes here and there lol).
How long does it takes for you all to understand the basics of OpenGL?
r/GraphicsProgramming • u/cybereality • Jul 03 '25
Been working on this GL engine for like 2 years now, hopefully close to being able to make a game. Most of the techniques are from LearnOpenGL and old books like GPU Gems. There's SSGI which I added last year (based on the visibility mask method) and I've been recently working on the hair, using the Morgan McGuire order-independent transparency, with a modification so it can write to the depth buffer, meaning transparency has shadows (and works with GTAO, SSGI, etc.). Still tons of work on the editor side of things, but graphics have got to a good place.
r/GraphicsProgramming • u/Crybabylikespasta • Sep 08 '24
r/GraphicsProgramming • u/khongnt62 • Aug 22 '26
Inspired by web design's a lot, wanted to remake it in imgui
geist font along with freetype and for icons lucide.dev
source has been released https://www.reddit.com/r/GraphicsProgramming/comments/1vw63sw/imgui_login_interface_in_c_with_directx_11/
https://github.com/poncippg-spec/Free-Solace-ImGui-Interface (new repo as github terminated old one for no reason )