摘要
在过去,三维场景的计算机呈现是一件非常困难的事情,程序员不仅要具备图形学的基本知识,还要掌握Di-rect3D或OpenGL技术,通过编写大量的代码才能实现。但现在使用WPF显示三维场景是非常容易的,甚至不要写一行代码就可以呈现一个简单的三维场景,添加不超过十行的代码就可以对场景进行实时交互。以实例的形式介绍如何使用WPF呈现一个三维场景,目的是更好地认识并利用它为我们的日常工作服务。
In the past, computer presentation with 3 - D scene is very difficult . It requires that the programmers need not only the basic knowledge of graphics but also Direct3D or OpenGL technology, and needs to be realized by numbers of codes. However, this is very easy to display 3 - D scene with WPF. Even a simple 3 - D scene can be displayed by no code and realized real time interaction by adding codes less than ten lines. With a sample, this paper by which WPF is known and used to serve our daily works describes how to display a 3D scene with WPF.
出处
《武警学院学报》
2009年第6期87-89,共3页
Journal of the Armed Police Academy