[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/3/ - 3DCG

Search:


View post   

>> No.977133 [View]
File: 1.62 MB, 3157x1958, Buildings.jpg [View same] [iqdb] [saucenao] [google]
977133

>>976409
>>976410
Alright, so I've got a building generator working that grabs a random base, a random middle section, and a random top, from their relevant collections, and stacks them up neatly with random heights.

Now I've run into another issue.
They don't randomize when I instance the building using another geo node group on another object. Is it because you can't nest them like that, or am I just doing something retarded to make a random seed per object. Or fuck, is the fact that it works "per object" the fucking problem since instances aren't objects and don't have location data for the original object to use?

Like it's 2 separate objects.
The building with the GN setup that randomizes them, and another object that instances them. Obviously the final instancing will be a bit more complex (planning on using different "footprints" to instance buildings of different sizes), but if I can't get it working at the simple stage I'm fucked.

I've got 2 "solutions" that could work, though I don't like them.
1st one, I could just duplicate the building object a bunch to get a fuckload of random buildings, then use the collection of those to instance. Which I'll probably do if I can't figure this shit out.
2nd one, put it all into a single nodegroup that creates the building and the city. I'm sure this will work, but I wanted to keep things more modular and have different modules that I can use to build from. A setup that creates buildings, another setup that adds details to the buildings and parts, and another setup that creates the city. If I can't get all these parts to randomize and nest, I'm shit outta luck.

Any help?

Navigation
View posts[+24][+48][+96]