正在加载视频...
视频加载失败
vibe coding procedural buildings with threejs and codex #4
28,221 次观看 • 4 个月前 •via X (Twitter)
95 条评论

@threejs doing the lord's work right there

@threejs imagine what happened if i open sourced it

@threejs imagine what happens if i do the same 👀

you're having so much more success with this than I am, but I'm trying to get them and Claude to make very weird city styles like Sumerian retrofuturism

you have to describe it really down to every detail for it to prduce anything.. good

yeah I think i need to restart from scratch on what I was doing and have it focus on individual buildings first before populating the city generator, I got a set of ok/kinda meh ones from Gemini and did successfully get some very nice SPOM on some of the textures but they have all been struggling with z-fighting placement on components of the buildings

so sick man. the anti ai / agents crowd never mention this unlimited creativity and joy through making cool stuff

ok, now vibe-blow them up

why do you all want to destroy things

because I can't do it in the real world without getting in trouble

@alightinastorm tbf I aslo wanna see it get nuked

@alightinastorm 🤣 I would throw this into a sideproject game i have right now to blow up immediately if it supported destruction

@alightinastorm I need to swap these buildings out

@e0syn you should first pre allocate the building slices and not slice them up on impact

@e0syn yeah there's a lot that needs to be done on them

you dropped this: 👑

🥲

Looking good man, the full editor with all this implemented is going to be insane

on it

Can you add procedural destruction next? Then we can drop Godzilla in and call it a day 🐲

lmao nothing here is interactive yet man 😭 still got like about 50+ building types to go

Holy christ Just add some volumetric fog and splice sfx / reverb and make a horror game out of this already 👏

the clusteredlightnode from @mrdoob really does the heavy lifting here

@mrdoob No the procedural buildings do the heavy lifting. You've smashed it here mate. There's a ton of tidy up to do but it's a great base + it looks like it's running smooth.

@mrdoob if i turn the lights off it's even smooth on my intel mac, but had to do the recording on my girls apple silicon to keep it 60fps :')

@mrdoob Kind of wild considering those were integrated graphics cards iirc Oh FYI by tidy up I mean mostly the courtyards/roads and stuff. Next to the phenomenal buildings they obvious look less great But again add some smokey atmosphere it kinda won't matter

@mrdoob oh yea the props are just placeholders for screen recordings, this is a dedicated app just for the procedural generators once i got all the building types, i'll be porting it to the world editor!

@mrdoob 🤩🤩 It's wild seeing the amount of params and as you tweak them it actually works. I had a crack at Cinque Terre Italy buidling style procgen last night and gave up as it just felt like a crap seedr I'm now re-inspired haha

you need a clear pipeline and always remind the clanker that some things are better left for texturing, while others shouldbe part of topology (it'll figure out on its own where to draw the line) always go from massing -> vertical massing -> facade -> props -> skinning -> refine

Looks like you lost yourself into another tangent project. That's what I meant by finishing what you start. You can't ship a AAA game if you can't ship a game period, or an MVP demo at least. What makes a game is not making a single scene that looks good, it's making a proper end-to-end product. That's what takes 200 people for 5 years. With love ❤️

uh, how am i supposed to add buildings to the world if i don't work on buildings? don't worry, i know how to ship but it makes no sense to drop something just to drop it

It makes even less sense to never drop it! Scope creep is a thing. You do you though 😄

at least in my creative part of life let me venture out a little 😭 not being pressured by burning money is a blessing

Yeah, I totally get that this scratches the creativity itch. It's crazy that we can pretty much do anything we can think of these days. It's also a curse though hah.

true, my sleep is messed up beyond what i could've ever imagined

bro is making next gTA

i'm actually walking the walk compared to the crypto guy

@repligate This is extremely cool Can’t help but think how long this would take in Maya or UE, not to mention getting it working in real time in a browser

@threejs Absolutely gorgeous stuff man

@threejs 😘

Real Estate RP online 🔜

Very nice work 👍

@threejs Very cool😍

@threejs thanks! much more to come!

@threejs 👀💪🏻

Old games where devs allowed modding and source fill editing could be be reverse engineered by AI models right? If so, that would mean you could potentially have a living city with AI generated animations right from the source correct?

This is cool man. i'm trying to do something similar but struggling a bit.

i already open sourced this like a month ago i think

the procedural bank one? definitely cool but just a single building - I'm curious to how you did your full city layouts.. i'm trying to do fully procedural cities. i'm thinking about using your road system with splines and stuff.

oh shit you're right i'll open source the whole editor and everything next week

oh sick! Thanks dude. looking forward to checking it out..

dude!

right

source code wen

Damn those night time clips tho!!! 🔥

@threejs Niceee

@threejs not sure ue can do the same with its new mcp 😏

Pretty awesome man!

🙃

looking good, whats your plans with this?

vibing through space and time

fifty building types is too many to make alone

That looks very cool :З

thanks!

Those are fake interior shaders, right? How hard is that to do in threejs? Looks better than the parallax interiors I made in Unity lol

@egebasoner ask @codedgar , i just told codex to install three-fenestra and adapt it to my codebase (and switch the window images for this demo)

@CodEdgar Honestly, this looks too good. I am also building a city right now in Unity, but I had to model every building by hand in Blender. Procedural wins every time.

@egebasoner @CodEdgar come to the @threejs side of life my bro

@CodEdgar @threejs shit i might first I gotta give the Unity MCP a shot tho. it is starting to feel like i am hitting two rocks together to light a fire trying to get stuff done in Unity.

@egebasoner @alightinastorm @CodEdgar @threejs I'm trying to build things engine-agnostic as much as possible at this point

@egebasoner @CodEdgar @threejs bro i once tried thai noodles from a kebab place because they felt culture agnostic never again

Next level!

come join our ai gamedev gc, pls dm me with ANY of your game dev related work, there is a bug on x chat so i can't review your profile from there DROP ME A DM I WILL SEE IT AND ACCEPT IF YOU FIT

Looks cool fr

looks pretty good

guess i'm not just a retard after all

if you could make it auto generate LODs so that at a distance it's less triangles that'd be dope

it does have auto LOD, with caching and worker generation :) just not using it for the demos, since it is still having weird edge cases (buildings sometimes disappear on lod change)

Looks quite cool! Have you managed to generate a city plan that is not just a boring grid yet?

not on the macro layer yet no

Open source?

no

bummer - oh well sdk with UE and AI is pretty good now

@threejs This looks cool. We should merge our tech 🤝

@threejs i got a world editor too 😏

Never tried Three.js, but this is sick 🔥 Is procedural lighter on performance/load than full glTF models for big cities/editors? Insanely cool work!

Those liminal empty streets at night have a 2000 vibe, for some reason it made me feel like "modern era" mods for Medal of Honor or the infamous True Combat.

what is your overall codex budget ?

@Meme_God_069 idk i use about 70% of the weekly of $200 pro plan, but always with 5.5 high on fast mode

Did you try using codex as overseer/architecht and delegating tasks to deepseek v4 pro ?

@Meme_God_069 no, i don't use chinese models

How about nemotron 3 or other opensource less costly models. i just think you could have built the game entirely by now using such a workflow.

@Meme_God_069 i don't think i have to be even faster atm, looking to increase quality rn

okay

@Meme_God_069 anyways good to see you're still around broski
