Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

vibe coding procedural buildings with threejs and codex #4

28,221 Aufrufe • vor 4 Monaten •via X (Twitter)

95 Kommentare

Profilbild von CuddlySalmon
CuddlySalmonvor 4 Monaten

@threejs doing the lord's work right there

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

@threejs imagine what happened if i open sourced it

Profilbild von CuddlySalmon
CuddlySalmonvor 4 Monaten

@threejs imagine what happens if i do the same 👀

Profilbild von Utah teapot 🫖
Utah teapot 🫖vor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Utah teapot 🫖
Utah teapot 🫖vor 4 Monaten

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

Profilbild von Frederick James
Frederick Jamesvor 4 Monaten

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

Profilbild von kvick
kvickvor 4 Monaten

ok, now vibe-blow them up

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

why do you all want to destroy things

Profilbild von kvick
kvickvor 4 Monaten

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

Profilbild von 🇨‌🇦‌🇷‌🇿‌🇪‌🇳‌
🇨‌🇦‌🇷‌🇿‌🇪‌🇳‌vor 4 Monaten

@alightinastorm tbf I aslo wanna see it get nuked

Profilbild von kvick
kvickvor 4 Monaten

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

Profilbild von kvick
kvickvor 4 Monaten

@alightinastorm I need to swap these buildings out

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von kvick
kvickvor 4 Monaten

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

Profilbild von zac.eth
zac.ethvor 4 Monaten

you dropped this: 👑

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

🥲

Profilbild von Sam 💀
Sam 💀vor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

on it

Profilbild von Majid Manzarpour
Majid Manzarpourvor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Matt
Mattvor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

the clusteredlightnode from @mrdoob really does the heavy lifting here

Profilbild von Matt
Mattvor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Matt
Mattvor 4 Monaten

@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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Matt
Mattvor 4 Monaten

@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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Verekia | ManaBlade.com
Verekia | ManaBlade.comvor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Verekia | ManaBlade.com
Verekia | ManaBlade.comvor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Verekia | ManaBlade.com
Verekia | ManaBlade.comvor 4 Monaten

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.

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von J A Z I I
J A Z I Ivor 4 Monaten

bro is making next gTA

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Anders Hjemdahl
Anders Hjemdahlvor 4 Monaten

@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

Profilbild von Nick Diaz Of Nauts
Nick Diaz Of Nautsvor 4 Monaten

@threejs Absolutely gorgeous stuff man

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

@threejs 😘

Profilbild von Alex So
Alex Sovor 4 Monaten

Real Estate RP online 🔜

Profilbild von EmEsEs
EmEsEsvor 4 Monaten

Very nice work 👍

Profilbild von Carolina Aiazzi
Carolina Aiazzivor 4 Monaten

@threejs Very cool😍

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

@threejs thanks! much more to come!

Profilbild von Carolina Aiazzi
Carolina Aiazzivor 4 Monaten

@threejs 👀💪🏻

Profilbild von ANOMOLY
ANOMOLYvor 4 Monaten

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?

Profilbild von Anthony R. Risen
Anthony R. Risenvor 2 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 2 Monaten

i already open sourced this like a month ago i think

Profilbild von Anthony R. Risen
Anthony R. Risenvor 2 Monaten

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.

Profilbild von robot 2.0
robot 2.0vor 2 Monaten

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

Profilbild von Anthony R. Risen
Anthony R. Risenvor 2 Monaten

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

Profilbild von Phanos Ha
Phanos Havor 4 Monaten

dude!

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

right

Profilbild von Phanos Ha
Phanos Havor 4 Monaten

source code wen

Profilbild von Izkimar
Izkimarvor 4 Monaten

Damn those night time clips tho!!! 🔥

Profilbild von 🔥GameDevMicah🔥UE6
🔥GameDevMicah🔥UE6vor 4 Monaten

@threejs Niceee

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von André
Andrévor 4 Monaten

Pretty awesome man!

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

🙃

Profilbild von Mick Solo
Mick Solovor 4 Monaten

looking good, whats your plans with this?

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

vibing through space and time

Profilbild von Prateek Tripathi
Prateek Tripathivor 4 Monaten

fifty building types is too many to make alone

Profilbild von xedanter | Indie Dev
xedanter | Indie Devvor 4 Monaten

That looks very cool :З

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

thanks!

Profilbild von Basoner
Basonervor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Basoner
Basonervor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Basoner
Basonervor 4 Monaten

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

Profilbild von kvick
kvickvor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Matthew Man e/acc ⏩
Matthew Man e/acc ⏩vor 4 Monaten

Next level!

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Numbe
Numbevor 4 Monaten

Looks cool fr

Profilbild von Kevin Klatt
Kevin Klattvor 4 Monaten

looks pretty good

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

guess i'm not just a retard after all

Profilbild von Kevin Klatt
Kevin Klattvor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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)

Profilbild von Vincent Jouty
Vincent Joutyvor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

not on the macro layer yet no

Profilbild von Eric Henderson
Eric Hendersonvor 4 Monaten

Open source?

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

no

Profilbild von Eric Henderson
Eric Hendersonvor 4 Monaten

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

Profilbild von Playda
Playdavor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

@threejs i got a world editor too 😏

Profilbild von Takdir
Takdirvor 4 Monaten

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!

Profilbild von TypeDrifter
TypeDriftervor 4 Monaten

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.

Profilbild von Kakashi
Kakashivor 4 Monaten

what is your overall codex budget ?

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Kakashi
Kakashivor 4 Monaten

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

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

@Meme_God_069 no, i don't use chinese models

Profilbild von Kakashi
Kakashivor 4 Monaten

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.

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Profilbild von Kakashi
Kakashivor 4 Monaten

okay

Profilbild von robot 2.0
robot 2.0vor 4 Monaten

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

Ähnliche Videos