简单的学习了一下材质,光源和如何绘制图元。下面是绘制圆锥的一个例子, 写了许多注释,就不多说了哈! using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using Microsoft.DirectX.Direct3D;using Microsoft.DirectX;namespace DrawTaper} 最后得到的是一个如下的旋转着的圆锥 相关文章: