- XNA 4 3D Game Development by Example:Beginner's Guide
- Kurt Jaegers
- 159字
- 2021-08-05 18:55:29
From the ground up
Even if we were to go ahead and implement the code to allow us to utilize the Camera class, there would be nothing to display at this point, as we have not defined any objects in our 3D world other than the camera, and it is invisible.
There are several different ways we could approach drawing the floor of the maze. We could draw the whole floor as a single square in a particular color. We could draw the same giant square using a texture that was repeated over the whole thing.
Both of these methods are quite valid, but we are going to take a slightly different approach. We will build a square for each cell of the maze floor, alternating the colors of the squares to create a checkerboard-like pattern. We will draw all of the floor tiles in a single operation, sending all of the geometry to the graphics card at once.
- 同步:秩序如何從混沌中涌現(xiàn)
- 我們都是數(shù)據(jù)控:用大數(shù)據(jù)改變商業(yè)、生活和思維方式
- 數(shù)據(jù)庫技術(shù)與應(yīng)用教程(Access)
- 大數(shù)據(jù)算法
- OracleDBA實(shí)戰(zhàn)攻略:運(yùn)維管理、診斷優(yōu)化、高可用與最佳實(shí)踐
- 大數(shù)據(jù)架構(gòu)和算法實(shí)現(xiàn)之路:電商系統(tǒng)的技術(shù)實(shí)戰(zhàn)
- Python數(shù)據(jù)分析與數(shù)據(jù)化運(yùn)營
- 數(shù)據(jù)庫應(yīng)用系統(tǒng)開發(fā)實(shí)例
- SQL Server深入詳解
- 企業(yè)主數(shù)據(jù)管理實(shí)務(wù)
- Visual FoxPro數(shù)據(jù)庫技術(shù)基礎(chǔ)
- Oracle 11g+ASP.NET數(shù)據(jù)庫系統(tǒng)開發(fā)案例教程
- 利用Python進(jìn)行數(shù)據(jù)分析(原書第2版)
- 中國云存儲(chǔ)發(fā)展報(bào)告
- 離線和實(shí)時(shí)大數(shù)據(jù)開發(fā)實(shí)戰(zhàn)