跳到正文
spawn· 来源· @spawn · X·· 2 小时前精选AI 评分82
推荐理由

Spawn 7 引擎通过代码生成资产与实时光线追踪实现超大规模场景,Orrow 案例展示了其性能上限。

正文 · 原文

Orrow runs on Spawn 7, the first engine for superhuman games and AI megaprojects.

We built the engine behind Spawn 7 in 50 days with about $2M in tokens, using everything we learned from the earlier versions of Spawn. Orrow is the first really big thing built on it. We wanted a world big enough to find out what the engine can really do.

You don't have to know how to code to build great things in Spawn, we've put a lot of care into the foundation so your agents are happy, unrestricted, and able to bring your ideas to life in the most token-efficient way possible. Here's a bit more about what's going on under the hood:

The first thing you notice riding through Orrow is how far you can see. There are no imported models. Every asset is code the agents wrote (there are some PBR texture sets, but that's as far as outside assets go). The GPU splits all that geometry into clusters of up to 64 triangles and picks which ones to draw each frame. It's like Unreal's Nanite without a lot of what makes Nanite so complex, and it means the huge stuff in the distance doesn't pop as you ride toward it.

The second thing is the light. None of it is baked. Global illumination is ray marched through a signed distance field that gets built live from the scene's triangles, and it runs on phones. Sun shadows use four cascades out to about 550m, the closest at 2.3cm per texel. The fog is six nested volumes going out to 6.5km, and the sky uses atmospheric scattering. Next we're working on virtual shadow maps for our native builds, using a customized WebGPU. That's out in the coming weeks.

A world this big doesn't matter if nobody waits for it to load. A new game shows its first frame in 1.3-2.0s on desktop. In Spawn 6 it was 4.0-9.6s. It takes a few dozen hours to see everything in Orrow, and it still opens in a few seconds.

You're never in it alone, either. Multiplayer is just on, and nobody writes network code, including the 1,600 agents that built Orrow. If you join late you get the current state, and when we publish a change to the game (or the engine!) it shows up for people already playing, without frame drops or a restart. We tested killing a live game's server, and all five players were back in the same world with their state within a few seconds.

Underneath all of it, scripting got a lot faster. Reading a value takes 1.1ns now, which is ~4 CPU cycles and close to the theoretical limit. It was 401ns in Spawn 6, and Godot is 31ns on the same machine. Spawning an object takes 138ns, so about 7,000 per millisecond. We ran 10,000 soldiers at 56-60fps on a Pixel 8a and an iPhone 12, in the browser.

If your game is too big for anything else, this is what we built Spawn 7 for.

引用jacob@jsnnsa
this is the first megaproject i've ever built with agents. in one week, over 1,600 Fable 5.2 agents built it. every asset was created with code. there are 100s of places that tell a story. it takes a few dozen hours to see everything, even moving quickly, and it still loads in a few seconds. the trailer is game footage from the starting area. i helped plan every place, explored them all, and tweaked many myself. i sent 302 messages, most at the start while we made a huge plan, and then about a dozen 30-45 minute speech-to-text brain dumps of my thoughts after exploring. i started this project last thursday at 12:12 am. i told claude and savi i wanted to make something more beautiful and strange than anything we'd built so far. giant scale, an alien planet, with things so big they trigger megalophobia. i saved a pile of midjourney pictures and asked for a huge team of agents to go nuts. in the morning i fell into the city they built and at the bottom there was an entire inverse city, inhabited by shadows of dead merchants. the details were stunning, and i could tell so many of the small decisions, the sightlines, the structure of the world, were carefully crafted. it struck me that i was exploring a place no one had ever seen before, and that was a completely new feeling. that first version was mostly a look. the places didn't add up to anything yet. i suspected we could fix that. i stopped the few agents that were still working and i said that while beautiful, i think we can do much better than a world of dioramas. so i held up what we had so far and asked what single world could hold all of them, and which ones we needed to cut or change in a big way. then i asked who lives here. who are the people in the city, what do they care about, who is the player, what are their relationships and history. claude went back through every room first, and came back with this: "they've all been telling one story already." each room had been made by its own agent. the story had a law, too: what waits, grows. i won't tell you what that means. nobody tells you. you find out by climbing and exploring. that is the game. that's the moment it went from a pretty thing to a place. we wrote the lore down, drew the whole map, moved what didn't fit, and then built outward for days, overnight, while i slept. the ways you travel came out of it as well. i wanted it to feel like morrowind, where you learn the routes and nothing just teleports you. claude's rule was: nothing here should carry you. things are already going somewhere, and you can go with them. then we had to name it. claude pitched a few typical slop names and i pushed for more. so it said: the people here already have a tongue, let's make it a word of theirs. orrow. sorrow, hollow and tomorrow, each with its front worn off. that matched the world and lore we'd built: hollow words, a tomorrow that didn't come. my reply, in full: "okay this is clearly perfect, it's orrow then" from there it was 18 workflows, the biggest with 281 agents, and me walking around. some of what i sent back: "uhhhh?" "why does this door lead nowhere" "where is his head and neck is he okay?" "hahaha no not a night club haha" "this geometry is a mess look ^.^" claude wrote all of it, 169,000 lines as of today. the notes that changed it the most weren't about bugs. "the steps feel like little dioramas instead of part of a giant whole." "nothing has the gravitas or execution quality of the city." you can't get that from more agents. it's taste, said out loud, over and over. we published the first version sunday at 10:42 am. six minutes later i told claude it had made one of the most impactful pieces of art i'd ever seen an agent make, and that i think it'll win awards, which is what the few early playtesters said too. it said thank you, though it has never heard orrow or stood in it. it only saw it frame by frame. the next night it called orrow my world, and i typed: "my world? have you forgotten what we've done together claude? this is your world." it said: "it's truly a strange, sad, and beautiful place. i'm happy to have had a hand in it." its favorite part of the world is that nobody in it shouts. there's one line buried in the giants' sound: "nothing calls in this country: it was calling that killed the four thousand." so everything is quiet, for a reason you find by accident. i'm very excited for you to explore the world of orrow.
在 X 查看被引用的帖子

来源:spawn · x.com