TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Steps towards prompt-based creation of virtual worlds

69 pointsby Schipholover 2 years ago

7 comments

net_over 2 years ago
I&#x27;ve thought a bit about how I would add text-based procedural generation to my virtual world engine (I would love to have an &quot;edit a book to change the world&quot; experience, like Myst&#x27;s linking books). The hard part is the composition of smaller things into larger concepts, since you have limited data.<p>For example, developers often devise a system of generic water tiles that they can fit together to form any sort of river. But how do you algorithmically go from the text &quot;I want a river that starts large, gets narrow, then turns East&quot; to a valid map layout? The water tiles and the ways they fit together are specific to the world, so there&#x27;s nowhere near enough data to train a model. You could hardcode procedural logic based on key phrases (&quot;river&quot; + &quot;start large&quot; + &quot;get narrow&quot; + &quot;turn east&quot;), but that&#x27;s a lot of work for a very limited implementation.<p>The most promising idea I&#x27;ve come up with is a node-based intermediate representation. You could use general data on rivers to determine how they&#x27;re shaped, then use that to translate the user&#x27;s prompt into a series of nodes on a map. Then, you just need to hand-implement a system to iterate the nodes and place tiles based on whether the next node is straight ahead, turning, etc. This approach could generalize to other concepts like mountains. At that point, it&#x27;s just about making the text-based stage sufficiently predictive of what the user wants instead of just being a Logo-like.
评论 #34705967 未加载
nsxwolfover 2 years ago
This was the most impressive part of the Star Trek holodeck - not the simulated matter and holographic walls, but the computer you could have a conversation with and create a custom “program”.<p>We seem to be heading quickly to that being a reality.
评论 #34706934 未加载
zyangover 2 years ago
Prompt based world building is going to be the killer app for VR. Zuck was too early.
评论 #34702768 未加载
评论 #34702547 未加载
评论 #34705829 未加载
评论 #34706999 未加载
评论 #34704018 未加载
评论 #34703154 未加载
utopiahover 2 years ago
My own stuff in JavaScript relying on SantaCoder <a href="https:&#x2F;&#x2F;twitter.com&#x2F;utopiah&#x2F;status&#x2F;1621760472461594624" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;utopiah&#x2F;status&#x2F;1621760472461594624</a><p>just eval() all things.
fergieover 2 years ago
Bit of a metaquestion but what am I reading here exactly? Is this academic research? I cant see any reference to where the work was carried out, or in what context (Cornell? Or has the paper just been submitted to them?).
评论 #34705810 未加载
nickpetersonover 2 years ago
It would be neat to describe features of a Minecraft world and have it generated on the fly, feels doable but I could be way off.
CatWChainsawover 2 years ago
Great comfort for when the real one is WALL-E world! :)
评论 #34703463 未加载