3D Game Engine Design and Implementation (18)

xiaoxiao2021-03-06  66

These days have been encapsulated camera categories, they can be freely walking in the map, and is only 5 degree of freedom of camera systems. 5 degrees of freedom can be rotated to the right, backward, left, right, upward, down, X-axis, and Y-axis. Basically, use this five freedom, you can roam in the 3D world. If you add a collision detection, you can let this camera will pass through the wall.

It is found here that if there is no loading texture, the display line block diagram is a good debugging method.

The content you want to write is how to load texture, how to set the texture coordinates of each vertex.

The line block diagram of currently displayed is as follows:

转载请注明原文地址:https://www.9cbs.com/read-86777.html

New Post(0)