- Procedural Content Generation for C++ Game Development
- Dale Green
- 127字
- 2021-07-16 09:37:46
Creating unique art
Generating textures and materials from scratch using procedural generation is a very large subject. There are lots of ways by which this can be achieved. Traditionally, we use things such as Perlin noise as their basis function and then build upon it with patterns and colors. We're not going to go into this topic to this extent. Instead, we're going to use the built-in image processing features of Simple and Fast Multimedia Library (SFML) to create unique textures during the runtime.
Starting with a simple approach, we'll change image properties such as size, color, and scale to create a variation in the existing assets. We'll then use render textures to combine multiple sprite components on the fly to create unique assets for our enemies.
推薦閱讀
- SQL Server 從入門到項目實踐(超值版)
- ExtGWT Rich Internet Application Cookbook
- Visual Basic學習手冊
- Python漫游數學王國:高等數學、線性代數、數理統計及運籌學
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- Oracle JDeveloper 11gR2 Cookbook
- 琢石成器:Windows環境下32位匯編語言程序設計
- Swift 4 Protocol-Oriented Programming(Third Edition)
- Beginning C++ Game Programming
- Red Hat Enterprise Linux Troubleshooting Guide
- .NET 4.0面向對象編程漫談:應用篇
- Instant GLEW
- Splunk Essentials
- 計算機常用算法與程序設計教程(第2版)
- Web前端開發全程實戰:HTML5+CSS3+JavaScript+jQuery+Bootstrap