
This video introduces the course with a short message from Penny.
In this lecture students will learn how to perform binary space partitioning to create a binary tree of a scene constructed with polygons.
In this lecture students will learn how to traverse a BSP to draw out a polygon scene given the location of a player character within the map that is represented.
In this lecture students will learn how a BSP will be used to represent a game would and then divided up to create rooms with corridors in a dungeon. The first part of the code to create this in Unity will be examined.
In this lecture students will learn how to divide the game map into two sections with random sizes but still fill the size of the map.
In this lecture students will learn how to create random divisions in a leaf in either a width wise or depth wise direction.
In this lecture students will learn how to write a recursive method to run the BSP algorithm and create a larger binary tree.
In this lecture students will be challenged to draw only the final level of the BSP.
In this lecture students will learn how to control the sizes of the divisions as well as create better proportioned horizontal and vertical splits.
In this lecture students will learn how to add rooms into the divisions to create a game environment map.
In this lecture students will learn how to draw corridors from one leaf to another.
In this lecture students will learn how to enforce that all corridors run horizontally and vertically and touch on each leaf node.
In this lecture students will be challenged to modify the map building functionality to add random corridors and adjust the size of rooms.
Binary Space Partitioning is a technique that's been around for a while and has been used for a number of purposes, in particular 3D polygon divisions, optimised physics collisions, and world map creation within games. Most notably it was used by John Carmack in the creation of the game engine for Doom.
This course uses Unity 2020.
Learn how to program and work with:
space division
polygon ordering for fast rendering and occlusion
binary trees
recursive search algorithms
dungeon map creation
What people are saying about Penny's courses:
Dr. Penny is a wonderful person and a true expert. All of her courses I've taken have been top notch and in my opinion there is no better teacher out there.
Allow me to say how hugely important this is for a person who is interested in certain types of game design. Creating games where you can create AI behaviors that support emergent situations.
I honestly love Holistic's teaching approach and I've never learned so much within a few hours about coding effectively with such detailed explanations!
In this short course, you will gain an overview of the algorithm and how it is used to partition 3D space for optimised polygon drawing as well as get your hands dirty using BSPs to create a game environment dungeon map