Inspiration

We were inspired by Google's Genie 3 and its ability to build whole worlds from limited details. I wanted to take this one step further, so I asked the question: What if these worlds were interactable AND persisting? What if, just like Genie 3, you could be the architect of your own world, but this time, your actions stay? That was my motivation for G-reality.

What it does

G-reality makes a high quality scene from a few lines of text and stores changes you make in the world, from interactable commands such as burning trees to new object generation, in a shared world state so that they persist on reload and reinstantiation.

How we built it

G-reality takes a text prompt and uses Gemini for natural language processing. It uses mathematical formulas to generate close-range, interactable 3d shapes and models to which it collates volumetrics and skyboxes (alongside attempted neural rendering methods such as gaussian splatter) to build large, procedurally generated 3d scenes. It incorporates CC0 PBR textures to maximize quality while making its own actual geometry. We utilize a neon database to track a shared world state and mark persisting changes so they persist upon reload. I designed the shared world state architectures and used AI coding aids to support my coding efforts.

Challenges we ran into

The model took very long to load worlds and was very time-inefficient. By combining functions within a simple loop, I was able to greatly shorten times to match that of an average Rocket League or Valorant queue. Even AI models like ChatGPT can sometimes take over a minute to formulate responses.

Accomplishments that we're proud of

I'm very proud of creating a persisting system that actually retained my changes on reload. It felt like my first distinctive improvement from the Genie models.

What we learned

I learned very quickly that generating an image of a world and generating a world you can actually walk around in are two very different problems. I had to work with signed distance functions, constructive solid geometry, shader optimization, and persistent databases, many of which I had limited experience with before this project.

One of the biggest lessons was that adding more detail doesn't necessarily make something better. At one point, loading a world could freeze the browser for over two minutes. After optimizing the shader, I managed to bring that down to around 11 seconds in one of my tests, without sacrificing the visual effects.

I also learned how much the little things matter. Seeing a tree burn is cool, but coming back after reloading the world and finding that same tree still burned was what really made the project feel alive.

What's next for Greality

I want to take G-reality much further than what I could build in a single hackathon.

My biggest goal is multiplayer, where friends can enter the same generated world, explore together, and make changes that everyone can see. I also want to finish integrating Gaussian splatting into the actual renderer, improve the variety and realism of generated environments, and introduce AI-driven NPCs that can remember and react to what players do. ElevenLabs could eventually help give those characters realistic voices.

I'd also like to make G-reality accessible directly through a browser, without requiring users to configure a local backend.

Ultimately, I want anyone to be able to describe a world, step inside it, change it, and come back later to find that their world is still there.

Built With

Share this project:

Updates

Submission history