Media Project Week - 10
Final Work on PCGs PCG and Ray Hit Queries: A Perfect Match Procedural Content Generation (PCG): PCG is a method used in game development to automatically create data algorithmically rather than manually. This can include anything from terrain and landscapes to quests and entire game worlds. Ray Hit Queries: Ray hit queries are used in game development to detect what a ray intersects in a game world. This can be useful for many things, including detecting where objects should be placed in a procedurally generated environment. Combining these two powerful techniques allowed me to generate an island landscape in chunks and precisely control where objects, such as trees and buildings, would be placed. Creating the Infinite Landscape 1. Generating Chunks: To manage large terrains efficiently, I divided the terrain into chunks. Each chunk was generated separately, allowing for efficient loading and unloading as the player navigated the world. This chunk-based a...