Show HN: Turning a Gaussian Splat into a videogame

(blog.playcanvas.com)

105 points | by yak32 3 days ago

10 comments

  • pphysch 1 minute ago
    How practical would it be to include LIDAR in the initial real-world environmental scan to get (or at least seed/constrain with real data samples) an even better collision mesh?
  • sev_verso 2 days ago
    Plays decently smooth on my M4 Max. It's probably still a long way from being a production-ready replacement for meshed environments, but I could imagine a hybrid mode where certain elements like grass and shrubbery are drawn with gaussians, perhaps with support for basic procedural animation. Great work with the playable demo!
    • jasonjmcghee 48 minutes ago
      Endless fields of grass and other things where you can make copies of a single base thing and just argue in some parameters like position, color, type etc are cheap to render. Making them sway or react to a body also isn't a problem.
    • reactordev 3 hours ago
      For me, the biggest issue this solves is the blank canvas paralysis problem. Artists are visual thinkers and need a little nudge in the right (art) direction. This is a great way to fill that blank sheet of paper with something that they can take and run with.
      • cyber_kinetist 2 hours ago
        Editing Gaussian Splats is still a pain in the ass in the artist's perspective. Even if you can create a good-enough first try using scanned data or generative AI, you just end up with a rough draft that you cannot polish in any way. Existing mesh-based tools allow you to edit the geometry relatively easily, since they are in a higher level discrete representation rather than just a point cloud data structure.
        • reactordev 1 hour ago
          There’s some movement in this area to be able to surface quantize the splats but you are right, right now it’s simply just visual language and isn’t useful in the pipeline.
          • cyber_kinetist 1 hour ago
            Extracting a surface mesh is possible, but the result is going to be really ugly (like the high-poly meshes from generative AI that are useless to artists)!

            Mesh processing is a very difficult research domain in computer graphics that has been iterated for several decades, and we still don't have a good automated solution for retopology (Partly because the problem is hard to define in a mathematical way, but also since it's not a problem you can just solve with AI by throwing data and compute at it)

            • reactordev 30 minutes ago
              I used voxelization of the splats in the past so I appreciate the notes on the difficulty but this is sort of what PlayCanvas is doing here. Taking the splats, making voxels, meshing.

              It's a novel approach and worked well in BIM a few years ago, though not anything real-time.

              https://github.com/ziplab/VolSplat

    • yak32 2 days ago
      Thanks! Yeah hybrid is a way forward, dynamic stuff is not easy
    • cubefox 1 hour ago
      > but I could imagine a hybrid mode where certain elements like grass and shrubbery are drawn with gaussians

      Those tend to move in the wind. Animations don't work well with splats. Or with any data structure except polygon meshes.

      Edit:

      Responding in the parent because HN says I'm "posting too fast" and should "slow down".

      > Have you seen https://www.4dv.ai/

      Yeah, but this seems to be just a 3D GS video (captured from several different camera angles), similar to how an ordinary 2D video is just a series of still frames. For 3D games this would be unsuitable since animations often have to be generated on the fly based on game physics. Even for pre-baked animations the memory cost of loading each frame individually would be too inefficient. For polygon meshes you have just a single static mesh that is deformed over time.

      > Dreams managed to animate splats on the PS4. Admittedly, not quite the same type of splats, but there is probably a middle ground here where it can be made to work

      I'm pretty sure Dreams only allowed animations as translations and rotations, not something that approximates soft skeletal animations. And even translations and rotations would be problematic since 3D GS scenes rely on baked lighting which would then result in objects no longer fitting the scene.

      • swiftcoder 1 hour ago
        > Animations don't work well with splats

        Dreams managed to animate splats on the PS4. Admittedly, not quite the same type of splats, but there is probably a middle ground here where it can be made to work

      • pants2 58 minutes ago
        Have you seen https://www.4dv.ai/
  • halflife 3 hours ago
    I’m trying to understand from the video why this is better, it looks like a normal high resolution textures with precooked shadow maps.

    It has no dynamic lighting or effects, which makes the video look like a high quality game from 2006.

    • yak32 3 hours ago
      dynamic objects are still largely unsolved problem, I just tried to approach it in this demo. also this particular place doesn't have reflective surfaces, but technology supports it - check for example this splat https://superspl.at/scene/ff1d0393 or this one https://superspl.at/scene/6c822f84
      • halflife 2 hours ago
        This is better, but I think that a demo with more reflections and radiosity would be much more impressive
  • swiftcoder 5 hours ago
    Sort of unfortunate that one ends up putting normal meshed characters that clash with the photorealistic splat environment
    • dnnddidiej 3 hours ago
      Probably for the best as, well, they are being pumped with lead.
    • yak32 3 hours ago
      idealy it should be 4DGS but we are far away from it - real actors scan etc.. but somebody will do it later i am sure
    • DonHopkins 4 hours ago
      [flagged]
  • xnx 1 hour ago
    Strikingly similar to the never completed Unrecord from 3 years ago: https://www.youtube.com/watch?v=IK76q13Aqt0
  • freakynit 2 hours ago
    This tech reminds me of that Source Code(2011) movie for some reason.
  • poly2it 3 hours ago
    I'm looking forward to seeing what will happen when gaussian splatting can be combined with DLSS 5. Gaussian splatting has a lot of potential in video games yet to be realised.
  • handsometong 5 minutes ago
    [dead]
  • ulfen 3 hours ago
    This for some reason reminded me of the "Killerspiele" debate [1] we had in Germany after a dramatic school shooting. The shooter had previously built a map of the school in Counter-Strike. With this it's not a long stretch from there to having a realistic map of a school... Which would have given him a better rating than the one he got for his map: "I'd like to see the school that actually has lighting like this." [2] Hopefully this tech will never used for something like this.

    [1] https://de.wikipedia.org/wiki/Killerspiel [2] https://www.spiegel.de/netzwelt/web/schuelerhobby-mapping-me...

  • 4ndrewl 4 hours ago
    [flagged]