[Paper Review] Steps towards prompt-based creation of virtual worlds
This paper proposes using large language models like Codex to enable prompt-based, real-time creation of interactive virtual worlds directly within VR, demonstrating non-deterministic gameplay in Codex VR Pong where natural language prompts dynamically transform 3D objects into semantically coherent, interactive entities (e.g., turning a ball into an egg that fries on impact). The key contribution is showing that generative AI can shift from game development to gameplay, enabling spontaneous, co-created VR experiences with emergent interactions.
Large language models trained for code generation can be applied to speaking virtual worlds into existence (creating virtual worlds). In this work we show that prompt-based methods can both accelerate in-VR level editing, as well as can become part of gameplay rather than just part of game development. As an example, we present Codex VR Pong which shows non-deterministic game mechanics using generative processes to not only create static content but also non-trivial interactions between 3D objects. This demonstration naturally leads to an integral discussion on how one would evaluate and benchmark experiences created by generative models - as there are no qualitative or quantitative metrics that apply in these scenarios. We conclude by discussing impending challenges of AI-assisted co-creation in VR.
Motivation & Objective
- To explore how large language models can accelerate and transform VR content creation by enabling natural language-driven, in-VR scene generation.
- To investigate the integration of code-generating LLMs like Codex into game engines for real-time, interactive world building.
- To demonstrate that prompt-based AI generation can become a core gameplay mechanic rather than just a development tool.
- To identify technical challenges and evaluation gaps in AI-co-created virtual worlds with open-ended, emergent interactions.
- To envision future applications of AI co-creation in VR, including dynamic environments and user-empowered spontaneous worldbuilding.
Proposed method
- Integrating OpenAI Codex with the Unity game engine to translate natural language prompts into executable code for 3D object creation and interaction.
- Using prompt-based generation to dynamically transform game objects (e.g., paddle and ball) into arbitrary 3D entities with semantically sensible physical behaviors.
- Implementing a Holodeck-like system to generate entire virtual environments from natural language descriptions.
- Extending user interaction by enabling real-time transformation of user hands into tools via AI-generated object models.
- Leveraging multimodal capabilities by combining text-to-code (Codex) with text-to-3D (e.g., DreamFusion-style) models for richer scene generation.
- Designing a feedback loop where generated content is tested in real-time VR, enabling iterative refinement of prompts and interactions.
Experimental results
Research questions
- RQ1Can large language models be used to generate interactive 3D scenes and behaviors directly within a VR environment in real time?
- RQ2How can prompt-based AI generation be integrated into gameplay mechanics to enable non-deterministic, emergent interactions between AI-created objects?
- RQ3What technical challenges arise when combining code-generating LLMs with real-time game engines for VR content creation?
- RQ4How can we evaluate the quality of AI-generated VR experiences when traditional metrics are inapplicable due to open-ended, creative outputs?
- RQ5What new modes of user interaction and co-creation become possible when users can 'speak' virtual worlds into existence?
Key findings
- The authors successfully implemented Codex VR Pong, a VR game where natural language prompts transform paddles and the ball into arbitrary 3D objects that interact in semantically meaningful ways, such as an egg frying on a pan.
- The system demonstrates that LLMs can enable emergent, non-deterministic gameplay mechanics that were not pre-programmed by the developer, showcasing spontaneous AI co-creation.
- Technical challenges include latency in model inference, feedback loops for prompt refinement, automation of animations, and selection of 3D model repositories for reliable generation.
- The paper identifies a critical lack of objective evaluation metrics for AI-generated VR experiences, especially when content and rules are mutable and open-ended.
- The authors propose that evaluation may rely on qualitative user feedback or LLM-based scoring of play session creativity, though no standardized benchmarks currently exist.
- The work suggests that future systems must combine text-to-code (Codex) with text-to-3D (e.g., DreamFusion) models to achieve full generative flexibility in VR worldbuilding.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.