Let’s Build a Building Using the PCG Spline Controller
Welcome to Chapter 7! I hope you thoroughly enjoyed exploring landscape materials to distribute foliage procedurally in Chapter 6. Now, we’re stepping up to a new challenge. In this chapter, you’ll learn how to create buildings using PCG—yes, you heard me right, buildings! This is an excellent introduction for those eager to craft their own cities using the principles I’m about to share.
In this chapter, we’ll dive into the methods of procedurally generating building structures, including walls that are complete with open gaps for windows. Following that, we’ll develop an algorithm within the PCG graph that allows you to control and increase the number of floors. Get ready for an engaging journey into building your own urban building structure with PCG!
This chapter is structured into a primary section that addresses the walls, which are built using simple cube shapes. All...