wpf 3D 图形编程初学者指南

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/519200/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 20:01:39  来源:igfitidea点击:

Beginner's guide to 3D graphics programming

wpfgraphics3d

提问by Ash

What are the best guides / tutorials / books / websites for someone with minimal experience (or none) in the world of 3D graphics programming?

对于在 3D 图形编程领域中经验最少(或没有经验)的人来说,最好的指南/教程/书籍/网站是什么?

I realize that the fundamentals of 3D graphics and mathematics apply across platform specific 3D library implementations such as OpenGL, DirectX, WPF etc..

我意识到 3D 图形和数学的基础知识适用于特定于平台的 3D 库实现,例如 OpenGL、DirectX、WPF 等。

Therefore it would be useful if answers would explain if they focus on a specific library implementation, on the fundamentals, or maybe both.

因此,如果答案能够解释它们是否专注于特定的库实现、基础知识,或者两者兼而有之,那将会很有用。

Rationale for for asking this question:

问这个问题的理由:

With Windows Presentation Foundation (WPF) 3D on the scene, it's realistic for many programmers to now seriously consider using 3D for their applications, where this would have been almost impossible even a few years ago.

随着 Windows Presentation Foundation (WPF) 3D 的出现,许多程序员现在认真考虑将 3D 用于他们的应用程序是现实的,而这在几年前几乎是不可能的。

I'm sure there are many programmers out there, like me, who find the leap from 2D to 3D a very big one.

我相信有很多程序员,像我一样,发现从 2D 到 3D 的飞跃是一个非常大的飞跃。

采纳答案by Martin Beckett

Petzold's 3D Programming for Windowsis an obvious start if you are doing WPF.

如果您正在使用 WPF,Petzold 的适用于 Windows3D 编程是一个明显的开始。

For Opengl the book is available free online, there are also tutorials at NeHealthough OpenGL does require that you understand the details of transforms to really do more than cut and paste

对于 Opengl,该书可在线免费获得,NeHe上也有教程,尽管 OpenGL 确实要求您了解转换的细节才能真正做到不仅仅是剪切和粘贴

回答by HyperCas

I recommend that you implement a simple software based 3d rendering engine. Simple stuff like line, quads, lighting etc. You will learn a whole lot more about 3d programming in general, and it will give you a good prescriptive on 3d graphics and it's limitations.

我建议您实现一个简单的基于软件的 3d 渲染引擎。简单的东西,如线、四边形、照明等。一般来说,您将学到更多关于 3d 编程的知识,它将为您提供关于 3d 图形及其局限性的良好说明。

This should get you started: http://www.devmaster.net/articles/software-rendering/part1.php

这应该让你开始:http: //www.devmaster.net/articles/software-rendering/part1.php

回答by Ash

I thought I'd start by providing this resource I found during my own research:

我想我会首先提供我在自己的研究中发现的这个资源:

The Twelve days of WPF 3Dby Eric Sink.

Eric Sink的 WPF 3D 十二天

It is a series of articles focusing on WPF, from the beginner to intermediate level.

它是一系列专注于 WPF 的文章,从初级到中级。

It focuses on getting practical things done with WPF 3D, rather then fundamental 3D math etc, but is great for answering some common questions most WPF 3D programmers eventually come across.

它侧重于使用 WPF 3D 完成实际工作,而不是基本的 3D 数学等,但非常适合回答大多数 WPF 3D 程序员最终遇到的一些常见问题。

回答by Simon Hartcher

One site I have been recommended previously is GameDev. It is full of articles and tutorials for 3D game development.

我之前推荐的一个网站是GameDev。它充满了 3D 游戏开发的文章和教程。

回答by Scott Evernden

What do you want to learn to do? build a graphics / game engine? or USE a graphics or game engine? ..

你想学习做什么?构建图形/游戏引擎?或使用图形或游戏引擎?..

回答by Scott Evernden

I chose the easy route. I am using an available engine - www.3dgamestudio.com - so I can focus on the actual game. I feel that reinventing the wheel takes too much time.

我选择了简单的路线。我正在使用一个可用的引擎 - www.3dgamestudio.com - 所以我可以专注于实际的游戏。我觉得重新发明轮子需要太多时间。

回答by Scottie T

A good handle on the math behind things can be useful. This tutorialis a good place to start.

很好地处理事物背后的数学是很有用的。本教程是一个很好的起点。

回答by ChrisF

One book I'd definitely recommend is Computer Graphicsby Foley and Van Dam.

我绝对推荐的一本书是Foley 和 Van Dam 的《计算机图形学》

回答by kindohm

Here is a good hands-on tutorial for getting started quickly with a little bit of mathematical theory included: http://www.kindohm.com/technical/wpf3dtutorial.htm

这是一个很好的动手教程,可以快速入门,包括一些数学理论:http: //www.kindohm.com/technical/wpf3dtutorial.htm