FoamSurf: A Voronoi-Surfel Representation for Differentiable Rendering

summary

The gist

FoamSurf presents a hybrid representation that models surfaces with planar Gaussian surfels and the medium with space-filling Voronoi cells to achieve accurate and editable scene reconstruction…

In short

FoamSurf introduces a hybrid representation for reconstructing surfaces and water in scattering media. It models surfaces using planar Gaussian surfels and the medium using space-filling Voronoi cells. This allows for accurate scene reconstruction, editing, and composition within one model by treating surfaces and water as separate entities.

Key concepts

Planar Gaussian Surfels
These are the primitives used to describe surfaces. They are learned structures that have parameters like opacity, shape exponent, and color. They allow for detailed representation of surface geometry while being differentiable, meaning they can be edited easily.
Voronoi Cells
The medium (water) is represented by Voronoi cells. Each cell holds learned information about the site it generates and its attenuation properties. This structure allows for accurate modeling of how light interacts with the space-filling medium.
Exact Hybrid Ray Tracing
A unified differentiable ray tracer is used to render the scene. This tracer handles both intersecting surfaces (using polygon proxies) and traversing the medium (using Voronoi traversal). It updates medium transmittances based on segment lengths, enabling accurate light transport through the water.
Separation Priors
These are learned constraints designed to separate the surface representation from the medium representation. They guide the system to correctly assign appearance and prevent mixing between surfaces and water, leading to a more accurate reconstruction without needing explicit segmentation masks.

Terminology used across episodes

This episode discusses

The paper

FoamSurf: A Voronoi-Surfel Representation for Differentiable Rendering · Read on arXiv

Jagiellonian University · IDEAS Research Institute Wrocław University of Science and Technology Poznan University of Technology Jagiellonian Center for Artificial Intelligence

Scenes inside a scattering medium contain solid surfaces, such as the seabed or rocks, and a semi-transparent medium, such as water, fog, or smoke. Recent Gaussian-based methods produce realistic images of scenes in scattering media, but traces of the medium can remain visible in surface-only renders. Neural fields separate surfaces and medium more accurately, but they are slow to train and difficult to edit. Both approaches evaluate the medium only along camera rays, so its effects along reflected and refracted rays are not modeled. These limitations prevent reliable surface recovery, independent editing of surfaces and the medium, and consistent rendering of inserted objects. We present FoamSurf, a hybrid representation that models surfaces with planar Gaussian surfels and the medium with space-filling Voronoi cells. A single differentiable ray tracer composites both along arbitrary rays, while training priors keep them separate without segmentation masks. Across real underwater scenes, synthetic scenes, and dense fog, FoamSurf achieves image quality on par with the state of the art and the most accurate surface-medium separation among the compared methods. The recovered components can be removed, edited, or stylized independently, and the same reconstruction supports inserted mesh objects with attenuation and scattering along both direct and reflected or refracted rays. Together, these capabilities enable scene restoration, editing, and composition within a single reconstructed model. Project page: https://grzegorzwilczynski.com/foamsurf/

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "FoamSurf: A Voronoi-Surfel Representation for Differentiable Rendering".

Title and authors: Tom: So we're looking at this paper called FoamSurf: A Voronoi-Surfel Representation for Differentiable Rendering. It’s about modeling surfaces and the medium together using two different shapes for each, which is planar Gaussian surfels for the surfaces and space-filling Voronoi cells for the water.

Jane: That sounds complicated, but the main thing they want to show is that they can keep them separate so you can edit one without messing up the other. They are tackling this problem of separating surfaces from the medium in scenes with scattering media like water or fog.

Lu: Exactly, and what makes it interesting is that instead of just using a single model for everything, they give the surfaces and the water their own separate primitives, so an edit reaches one and leaves the other in place. That means scene restoration, editing, and composition can happen within a single reconstructed model.

Meng: I'm wondering how this separation actually works in practice when you're dealing with complex light transport. If you have two separate parts for surfaces and the medium, how do they interact during the actual rendering process?

Tom: Well, they use a unified differentiable ray tracer that composites both components along arbitrary rays. This tracer interleaves two kinds of events: it intersects rays with planar polygon proxies using OptiX, and it performs Voronoi traversal to handle the medium.

Jane: So the core idea is that you have this one tracer doing both jobs at once, tracking two different types of light—the direct signal and the backscatter—and updating how much light gets through or scatters based on segment length.

Lu: Right, and they've got these separation priors introduced to stop things from getting mixed up accidentally. These priors discourage medium leakage and haze surfels without needing any segmentation masks at all.

Meng: That sounds like a big win for deployment because it removes that extra step of having to manually segment the scene before you can even start editing anything. What kind of specific terms are driving those separation priors?

Tom: They include coverage and clearing terms, which encourage an opaque seabed while also preserving scattering in front of it. The coverage term specifically encourages that the seabed occludes the water behind it, but still lets scattering happen in front.

Jane: That makes sense for real-world scenes where you have a solid ground underneath the water, and they’re trying to figure out exactly where that boundary is without needing a manual mask.

Lu: And then for training, they jointly optimize the scene using this loss function which combines photometric error and DSSIM, normalized by the detached prediction to emphasize dark regions. They start training by fitting initial medium coefficients just from point observations at different distances without any masks.

Title and authors: Meng: Fitting coefficients from just point observations sounds like a very fast way to get a starting guess for the medium properties before you even try to fit the complex surfaces. What about how they handle refinement when they get deeper?

Tom: They use densification and pruning, following methods from three dee Gaussian Splatting, but they use attenuation-compensated gradients so water doesn't suppress the refinement of distant surfaces <ref:2611.33462#pg1>. That keeps things stable as you add more detail.

Jane: So even when you’re trying to make the scene super detailed, the presence of water or fog doesn't just muddy everything up and stop you from seeing those far-away details.

Lu: And that leads into where they show real gains. They achieve image quality on par with the state of the art and have shown it has accurate surface-medium separation better than most compared methods, even under hard fog.

Meng: That's important for production because if you can get high quality results in challenging conditions like dense fog, that’s a practical advantage over methods that only work in clear conditions.

Tom: And the paper shows they have applicability beyond just underwater captures; they show how this works when you insert meshes into the scene and their appearance is affected by the water crossed along each path.

Jane: That means you can insert a new object, and its look changes based on whether it's going through clear water or thick fog, which is really powerful for realistic composition.

Lu: They also show that this same tracer serves rays that no camera carried, which lets reflected and refracted rays pass through the reconstructed water in ways a standard camera ray wouldn't see. This applies wherever you observe a scene through what fills it.

Meng: That capability to handle both paths—what the camera sees and what light actually travels through the medium—sounds like it solves a lot of consistency issues when you try to build complex scenes with multiple layers.

Tom: So, for editing, they keep surfaces and water in separate primitives that only meet in the tracer, meaning either can be changed after training without disturbing the other. Surface edits involve moving every surfel center via a Jacobian to map new tangent axes and scales while keeping opacity unchanged.

Jane: And medium edits are more direct; you can just edit the cell coefficients and backscatter color right there in the model. It’s really flexible for artistic control over both elements.

Lu: For style transfer, they optimize surfaces and water separately using a loss function aimed at CLIPGaussian, which lets them achieve separate stylization goals. The loss compares one representation rendered alone on black against the same render before stylization to guide the process.

Meng: How does that style transfer actually affect production cost? Are we talking about adding a huge computational overhead just for stylistic changes?

Title and authors: Tom: They show they can do it, but it's done by optimizing them separately, so you’re not retraining the whole thing every time you want to change the style of one component over the other.

Jane: So, overall, FoamSurf seems to be a really cohesive way to handle scene reconstruction where you get high accuracy on both surfaces and medium properties simultaneously. It’s about having these separate primitives that just meet at the ray tracing level.

Lu: Yeah, it’s about achieving this split representation—planar surfels for surfaces and Voronoi cells for the water—which they claim is the most accurate separation among compared methods on real captures, synthetic scenes, and under dense fog.

Meng: I've seen some results that show strong performance in certain areas, but I always look at what breaks when you try to run this at scale. Does this Voronoi cell representation introduce any specific issues with memory or processing time as the scene gets huge?

Tom: They do mention that the field is first resampled onto a voxel grid and rendered offline, which establishes separation, but editing them requires queries into the field or that same resampling process. It’s a trade-off between initial speed and post-reconstruction edit flexibility.

Jane: That means you get this high fidelity reconstruction upfront, but if you want to tweak something small later, it might require some computation back into the scene structure itself.

Lu: And one limitation they state plainly is that the recovered water reproduces appearance and not actual optical properties because its coefficients are wideband quantities of a single-scattering model. It also notes that the medium's coefficients are position dependent, and each cell holds just one constant value.

Meng: That’s a crucial caveat for anyone trying to use this for scientific applications, because you have to remember that the water is just modeling how light looks, not what it actually does optically.

Tom: And they also note that the representation is piecewise-constant for exact medium integration within each traversed segment. So, it’s an approximation when you integrate everything perfectly over a long path.

Jane: So to wrap up the FoamSurf paper, it gives us a system where surfaces and water have their own primitives—planar surfels and Voronoi cells—and the split is reported as the most accurate method across various tests.

Lu: It really lets you edit surfaces or style the water independently, and inserted objects are seen through that recovered water in a way that respects the path taken.

Meng: For deployment, it’s promising because it handles scene composition and editing within one model, even with dense fog, but we still need to manage the computational cost of those queries into the field for live interaction.

Tom: Yeah, FoamSurf gives each component its own primitives—planar surfels for surfaces and Voronoi cells for the water—and this split is reported as the most accurate method on real captures, synthetic scenes, and under dense fog.

The paper's summary: Tom: So, FoamSurf is basically this new way to model surfaces and water together using two different shapes: planar Gaussian surfels for the surfaces, and Voronoi cells for the water medium.

Jane: Right, it’s about having these two distinct pieces that just meet up when you're rendering light. The main idea they are pushing is that you can have a single model where you edit one part—say, the surface—and leave the other part, the water, completely untouched.

Lu: What makes this specific setup interesting is how they use those two primitives in a unified differentiable ray tracer. It’s not just one system doing everything; it’s an interleaving process where it handles hitting surfaces with polygon proxies and then handling the medium traversal with Voronoi cells.

Meng: So, the naive question is, does this actually make editing easier? Because if I want to change the texture of a rock on top of water, I don't have to re-render or mess up the water underneath it?

Jane: That's exactly what they’re showing. They introduce separation priors into their training process. These priors are like built-in rules that tell the AI how to distinguish between the surface and the medium, even without needing a manual mask telling it where they are.

Tom: And those rules include things like coverage and clearing terms. So, one term encourages the seabed to be solid and block the water behind it, while another term makes sure there's still scattering happening right in front of that surface. That’s how they get the separation accuracy up.

Lu: They found this approach gives them a very accurate surface-medium separation compared to other methods, and they did this across different types of scenes and even under really dense fog, which is pretty tough for these kinds of models.

Jane: It means that if you’re dealing with underwater captures or scenes where the light gets really murky, this system is performing better than what we have right now.

Meng: From a deployment standpoint, that separation accuracy sounds good, but how much computation does this unified tracer actually cost to run on a live system? I’m worried about the speed of those Voronoi traversals.

Tom: Well, they did mention that for initial setup, they resample the field onto a voxel grid and render it offline to establish separation. But for actual editing, you need queries back into that field or you have to run that resampling process again.

Lu: So there’s a trade-off between fast reconstruction and flexible post-reconstruction editing. They also noted a limitation: the water’s coefficients are based on single-scattering models, so it reproduces how light looks, but not the true physical optical properties of the water itself.

Jane: That's a good point to remember—it’s modeling appearance, not physics. But what they showed is that you can insert new objects into this scene, and their look changes based on whether they pass through clear water or thick fog along each path.

Tom: They also show that the same tracing mechanism can handle rays that a camera didn't actually carry, which means reflected light and refracted light can pass through the reconstructed water in ways a standard camera ray wouldn't see. That’s pretty cool for composition.

Lu: So, to sum it up, FoamSurf is about giving surfaces and water their own separate identities—surfels and Voronoi cells—and that split they achieved is reported as the most accurate method among the compared techniques on real captures, synthetic scenes, and under dense fog.

Jane: It really lets you have independent control over both elements while still being able to compose them in a single model. This could change how we build complex, realistic virtual environments. So next up, let’s talk about how this system handles editing and style transfer independently.

The paper's improvements: Tom: So, we're looking at what they suggest improving about FoamSurf now instead of just showing it works for basic rendering. The paper points out a few areas where they think the system can be pushed further.

Jane: They focus on how you edit things, because even though you can edit surfaces and water separately, they want to make that editing process even smoother and more intuitive for users.

Lu: They suggest ways to make the surface edits more precise. For example, when you move a surfel center around on the surface, they have a method using a Jacobian to map out new tangent axes and scales while keeping the color and opacity exactly as they were.

Meng: So you can move the geometry without accidentally changing how it looks or how much light it absorbs? That sounds like something we need for production pipelines.

Tom: Exactly. And for medium edits, they suggest making those direct cell coefficient edits even more robust. They want to ensure that when you change a backscatter color or an attenuation value, the whole scene updates cleanly without any visual artifacts appearing on the water boundary.

Jane: That makes sense because if you’re doing style transfer, you want that stylistic change to apply consistently across the entire medium structure in a predictable way.

Lu: They also look at how they handle light transport more deeply. They mention that using a learned phase gain could help model directional scattering toward the surface better than what’s currently there, which would allow for tracking light effects not easily captured by standard camera models.

Meng: Tracking directional scattering is interesting, but again, if we’re talking about running this at scale, does adding more complex lighting models mean we lose the speed advantage of using Voronoi cells?

Tom: That’s a real question. They are trying to keep the complexity manageable so it doesn't kill performance. The goal is to improve the fidelity of light transport without making the inference time unusable for real-time applications.

Jane: And they also tackle how you compose things—how you put inserted meshes into this scene with their own materials. They’re suggesting ways to ensure that when an object moves, its appearance correctly reflects the water it's crossing along every single path it takes.

Lu: It means the interaction isn't just one-shot; it’s a continuous process of tracing how light and geometry interact through the medium over time. That level of path-dependent realism is a big step forward for scene composition.

Meng: So they are looking to enhance the fidelity of light behavior and the robustness of editing tools, which means they are aiming for better quality in complex scenes while still keeping it usable.

Jane: And they want to make sure that when you’re inserting objects, those objects look just as real as if you had rendered them separately before placing them in the water.

Conclusion: Jane: So to wrap up, FoamSurf is this system that gives surfaces and water their own primitives—planar surfels for surfaces and Voronoi cells for the water—and they say this split is the most accurate method across various tests, especially under dense fog.

Tom: It’s a lot of work on the training side, but when you look at those results, it shows that this way of representing things is genuinely better than what we have right now for separating surfaces from the medium.

Lu: The implication here is that we can do much more complex scene restoration and editing within a single model because everything is structured to interact along those arbitrary rays.

Meng: I still see the cost of running that unified tracer as a major concern for real-time deployment, even with all these improvements they are suggesting.

Lalam: I’m pretty sure this representation is solid; given how it handles composition and editing separately, this looks like it will be used for serious production work soon.

Jane: They also showed that you can insert new meshes into the scene, and their appearance correctly changes based on the water they're crossing along every single path. That’s a huge part of making virtual scenes feel real.

Tom: And that same tracer handles rays no camera ever took, meaning reflected light and refracted light can pass through the reconstructed water in ways we couldn't see directly from the camera. That’s powerful for composition.

Lu: The future work they hint at is pushing those light transport models further to better capture directional scattering, which is a key part of making the water look physically correct.

Meng: So, they’re aiming to make it more physically plausible in terms of light, while trying to keep the computational cost down for engineers like me.

Jane: Overall, FoamSurf gives each component its own primitives—planar surfels for surfaces and Voronoi cells for the water—and this split is reported as the most accurate method on real captures, synthetic scenes, and under dense fog.

Tom: It really shows how detailed representation learning can solve problems in rendering and scene editing simultaneously.

Lu: It’s a significant step in how we model complex interactions between surfaces and their environment.

Jane: We’ve looked at FoamSurf: A Voronoi-Surfel Representation for Differentiable Rendering today, but next time we’ll be diving into how this technology connects to video generation models like TempAct and how it handles temporal plausibility.

More episodes

← Home