By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
  • AI
  • Blender
  • Graphic Design
  • GIMP
  • Hardware
  • 3D
Pix Cores
Pix CoresPix Cores
  • AI
  • Blender
  • Graphic Design
  • GIMP
  • Hardware
  • 3D
Search
  • AI
  • Blender
  • Graphic Design
  • GIMP
  • Hardware
  • 3D
  • About Us
  • Contact Us
  • Privacy Policy
Pix Cores > Blog > Blender > How to Make City Generator in Blender
Blender

How to Make City Generator in Blender

Prajyot
Last updated: March 21, 2023 7:01 PM
Prajyot
Share
3 Min Read
Screenshot 2022 12 04 132924 min - How to Make City Generator in Blender

If you’ve been in the Blender community for a while you must have understood the power geometry nodes hold. You can even make your very own city generator with it, So that’s what we’re going to do.

Contents
ConceptBasic node setupNode setup of tall building.Node setup of small buildings.Some important things.

Today I will guide you through how to make your very own city generator through geo nodes.

Concept

The concept is simple: you have a flat mesh, then you will distribute some points to the mesh, and then you will replace the distributed points with your own modal.

Basic node setup

Node setup of tall building.

image 1 - How to Make City Generator in Blender

First, create your geometry node tree. Then add a grid (or any ground you want) and scale it as much as you want. Then add a join geometry node.

Then add the “distribute point on faces” node. It’s basically going to distribute points on faces, which we will be using to distribute the buildings. Connect the mesh output of “grid” to the “distribute point on faces” node. Then add an instance on a point node and connect it to distribute points on faces. We will be using it to instance the building on the point. then connect it to the join geometry.

Now, if you have your own building, drag it to the geometry node tree; when you do this, you will have an object info node. Connect the geometry socket to the instance socket of instance at the point node, and then adjust the scale.

Add transform node between object info and instance on point and set translation z-axis to 1.

Make sure the buildings are not too dense, to that change the density of distributed points on faces.

Add random value node and change it to vector and connect it to the scale of instance on point node, then adjust the scale.

Node setup of small buildings.

Screenshot 2022 12 04 125415 - How to Make City Generator in Blender

Duplicate everything except “join geo,” “grid,” and “group output.”

Then connect the “grid” output to the second “distribute point on faces” and change the seed (and density, if needed).

Change the object information for the small building by doing the same thing that we did earlier.

Reduce the value of random to make the building smaller. Then connect it to join geometry.

Some important things.

Screenshot 2022 12 04 132821 min - How to Make City Generator in Blender

The same original material will be applied to every building.

You can change the base mesh by changing the “grid” to whatever type of ground you like.

You can connect the blank output of group input to anything, and it will be added to the modifier tab, and then you can change that.

When you want to increase the size of the building, change the axis of random value, or else you will run into some problems.

TAGGED: 3D, Blender
Share This Article
Facebook Twitter Email Print
What do you think?
Love0
Sad0
Happy0
Angry0
Wink0
By Prajyot
Prajyot Kumar is a talented 3D artist with experience in game development and environment design. He has worked as a freelancer for several years and is skilled in creating detailed and realistic 3D models. Prajyot is passionate about designing immersive environments and is always seeking out new challenges to push his creativity.

Recent

image 3 - 7 Best Custom Nodes for Comfy UI
7 Best Custom Nodes for Comfy UI
AI
Slider LORA for SDXL - 16 Best Concept Sliders LORAs for SDXL
16 Best Concept Sliders LORAs for SDXL
AI
ComicCraft - 7 Best Comic Book Lora And Model (SDXL and 1.5)
7 Best Comic Book Lora And Model (SDXL and 1.5)
AI
building - 6 Best Blender Add-Ons for Making Anime
6 Best Blender Add-Ons for Making Anime
3D

Pix Cores is for Modern Artist who loves to live in cutting edge.

  • About Us
  • Contact Us
  • Privacy Policy

© Pix Cores Network. All Rights Reserved.

Welcome Back!

Sign in to your account

Lost your password?