正在加载视频...

视频加载失败

vibe coding procedural buildings with threejs and codex #4

28,221 次观看 • 4 个月前 •via X (Twitter)

95 条评论

CuddlySalmon 的头像
CuddlySalmon4 个月前

@threejs doing the lord's work right there

robot 2.0 的头像
robot 2.04 个月前

@threejs imagine what happened if i open sourced it

CuddlySalmon 的头像
CuddlySalmon4 个月前

@threejs imagine what happens if i do the same 👀

Utah teapot 🫖 的头像
Utah teapot 🫖4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

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

Utah teapot 🫖 的头像
Utah teapot 🫖4 个月前

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

Frederick James 的头像
Frederick James4 个月前

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

kvick 的头像
kvick4 个月前

ok, now vibe-blow them up

robot 2.0 的头像
robot 2.04 个月前

why do you all want to destroy things

kvick 的头像
kvick4 个月前

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

🇨‌🇦‌🇷‌🇿‌🇪‌🇳‌ 的头像
🇨‌🇦‌🇷‌🇿‌🇪‌🇳‌4 个月前

@alightinastorm tbf I aslo wanna see it get nuked

kvick 的头像
kvick4 个月前

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

kvick 的头像
kvick4 个月前

@alightinastorm I need to swap these buildings out

robot 2.0 的头像
robot 2.04 个月前

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

kvick 的头像
kvick4 个月前

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

zac.eth 的头像
zac.eth4 个月前

you dropped this: 👑

robot 2.0 的头像
robot 2.04 个月前

🥲

Sam 💀 的头像
Sam 💀4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

on it

Majid Manzarpour 的头像
Majid Manzarpour4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

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

Matt 的头像
Matt4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

the clusteredlightnode from @mrdoob really does the heavy lifting here

Matt 的头像
Matt4 个月前

@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.

robot 2.0 的头像
robot 2.04 个月前

@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 :')

Matt 的头像
Matt4 个月前

@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

robot 2.0 的头像
robot 2.04 个月前

@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!

Matt 的头像
Matt4 个月前

@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

robot 2.0 的头像
robot 2.04 个月前

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

Verekia | ManaBlade.com 的头像
Verekia | ManaBlade.com4 个月前

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 ❤️

robot 2.0 的头像
robot 2.04 个月前

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

Verekia | ManaBlade.com 的头像
Verekia | ManaBlade.com4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

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

Verekia | ManaBlade.com 的头像
Verekia | ManaBlade.com4 个月前

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.

robot 2.0 的头像
robot 2.04 个月前

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

J A Z I I 的头像
J A Z I I4 个月前

bro is making next gTA

robot 2.0 的头像
robot 2.04 个月前

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

Anders Hjemdahl 的头像
Anders Hjemdahl4 个月前

@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

Nick Diaz Of Nauts 的头像
Nick Diaz Of Nauts4 个月前

@threejs Absolutely gorgeous stuff man

robot 2.0 的头像
robot 2.04 个月前

@threejs 😘

Alex So 的头像
Alex So4 个月前

Real Estate RP online 🔜

EmEsEs 的头像
EmEsEs4 个月前

Very nice work 👍

Carolina Aiazzi 的头像
Carolina Aiazzi4 个月前

@threejs Very cool😍

robot 2.0 的头像
robot 2.04 个月前

@threejs thanks! much more to come!

Carolina Aiazzi 的头像
Carolina Aiazzi4 个月前

@threejs 👀💪🏻

ANOMOLY 的头像
ANOMOLY4 个月前

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?

Anthony R. Risen 的头像
Anthony R. Risen2 个月前

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

robot 2.0 的头像
robot 2.02 个月前

i already open sourced this like a month ago i think

Anthony R. Risen 的头像
Anthony R. Risen2 个月前

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.

robot 2.0 的头像
robot 2.02 个月前

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

Anthony R. Risen 的头像
Anthony R. Risen2 个月前

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

Phanos Ha 的头像
Phanos Ha4 个月前

dude!

robot 2.0 的头像
robot 2.04 个月前

right

Phanos Ha 的头像
Phanos Ha4 个月前

source code wen

Izkimar 的头像
Izkimar4 个月前

Damn those night time clips tho!!! 🔥

🔥GameDevMicah🔥UE6 的头像
🔥GameDevMicah🔥UE64 个月前

@threejs Niceee

robot 2.0 的头像
robot 2.04 个月前

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

André 的头像
André4 个月前

Pretty awesome man!

robot 2.0 的头像
robot 2.04 个月前

🙃

Mick Solo 的头像
Mick Solo4 个月前

looking good, whats your plans with this?

robot 2.0 的头像
robot 2.04 个月前

vibing through space and time

Prateek Tripathi 的头像
Prateek Tripathi4 个月前

fifty building types is too many to make alone

xedanter | Indie Dev 的头像
xedanter | Indie Dev4 个月前

That looks very cool :З

robot 2.0 的头像
robot 2.04 个月前

thanks!

Basoner 的头像
Basoner4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

@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)

Basoner 的头像
Basoner4 个月前

@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.

robot 2.0 的头像
robot 2.04 个月前

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

Basoner 的头像
Basoner4 个月前

@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.

kvick 的头像
kvick4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

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

Matthew Man e/acc ⏩ 的头像
Matthew Man e/acc ⏩4 个月前

Next level!

robot 2.0 的头像
robot 2.04 个月前

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

Numbe 的头像
Numbe4 个月前

Looks cool fr

Kevin Klatt 的头像
Kevin Klatt4 个月前

looks pretty good

robot 2.0 的头像
robot 2.04 个月前

guess i'm not just a retard after all

Kevin Klatt 的头像
Kevin Klatt4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

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)

Vincent Jouty 的头像
Vincent Jouty4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

not on the macro layer yet no

Eric Henderson 的头像
Eric Henderson4 个月前

Open source?

robot 2.0 的头像
robot 2.04 个月前

no

Eric Henderson 的头像
Eric Henderson4 个月前

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

Playda 的头像
Playda4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

@threejs i got a world editor too 😏

Takdir 的头像
Takdir4 个月前

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!

TypeDrifter 的头像
TypeDrifter4 个月前

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.

Kakashi 的头像
Kakashi4 个月前

what is your overall codex budget ?

robot 2.0 的头像
robot 2.04 个月前

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

Kakashi 的头像
Kakashi4 个月前

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

robot 2.0 的头像
robot 2.04 个月前

@Meme_God_069 no, i don't use chinese models

Kakashi 的头像
Kakashi4 个月前

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.

robot 2.0 的头像
robot 2.04 个月前

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

Kakashi 的头像
Kakashi4 个月前

okay

robot 2.0 的头像
robot 2.04 个月前

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

相关视频