有哪些适合游戏编程入门的好书?
我已经编程两年多了,我想开始图形编程并制作一些简单的游戏。我看过的很多学习 DirectX 的书都假设你了解它的基础知识,而我不知道,或者他们只会给你一些片段,并假设你能够消化他们的神秘代码,而无需了解。一个解释。那么,对于图形编程新手但对通用编程有一定了解的人来说,有哪些好书呢?
I've been programming for a little over 2 years now, and I want to get started with graphics programming and make some simple games to start with. A lot of the books I've looked at for learning directx assume you know the basics of it, which I don't, or that they'll just give you some snippets and assume you'll be able to digest their cryptic code without an explanation. So what are some good books for somebody that is truly new to graphics programming but has a some knowledge with general programming?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
毫无疑问,我见过的最好的“图形编程”书是“3D 简介”使用 DirectX 9.0c 进行游戏编程:着色器方法”作者:Frank Luna。它从头开始,介绍了线性代数入门知识(绝对关键),然后解释了 3D 管道的工作原理(模型、世界、相机、ndc、视图)以及如何处理 Directx 的编程噩梦;)
它还涵盖了一些高级技术,例如反射和折射等,但是一旦您掌握了要点(前 8 章),您基本上可以在 directx 中编写任何您想要的内容,剩下的图形编程时间将花在阅读诸如Wolfgang Engel 的“Shader X”系列(Shader X7 特别好) 、GPU Pro(同一作者)和 Nvidia 的 GPU Gems,他们在其网站上免费提供: Gpu 宝石。
Hands down, the best 'graphics programming' book I have ever seen is "An Introduction to 3D Game Programming with DirectX 9.0c: A Shader Approach" by Frank Luna. It starts from the ground up with a linear algebra primer (absolutely critical), then explains how the 3D pipeline works (model, world, camera, ndc, view) and how to deal with the programming nightmare that is Directx ;)
It also covers some advanced techniques, suchs as reflections and refractions etc, but once you've gotten the essentials down (the first 8 chapters) you can basically write anything you want in directx and the rest of your graphics programming time will be spent reading books like the "Shader X" series by Wolfgang Engel, (Shader X7 is particularly good), GPU Pro (same author), and Nvidia's GPU Gems, which they have on their website for free: Gpu Gems.
Android NDK 游戏开发指南 http://www.amazon.com/Android-NDK-Game -Development-Cookbook/dp/1782167781 与 Android NDK 几乎没有什么关系。然而,它专注于用 C++ 从头开始实现便携式游戏引擎,无论平台如何。它的主题主要包括文件系统、网络、音频等底层内容。
Android NDK Game Development Cookbook http://www.amazon.com/Android-NDK-Game-Development-Cookbook/dp/1782167781 has pretty few things to do with Android NDK. However, it focuses on implementing a portable game engine from scratch in C++, regardless of the platform. Its topics mainly include low level things like filesystem, networking, audio and so on.