【翻译】Managed DirectX(第九章)[20]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

                    new Rectangle(10,10,0,0), DrawTextFormat.NoClip,Color.BlanchedAlmond);

font.DrawText(null,string.Format("number faces in mesh: {0}",((BaseMesh)progressiveMesh).NumberFaces),

                   new Rectangle(10,30,0,0),DrawTextFormat.NoClip,Color.BlanchedAlmond);

特别提示:储存多个细节级别

更常见的做法是储存多个细节级别的mesh,而不是使用一个单独的progressiveMesh对象来控制整个细节范围。如果你查找SDKProgressive Mesh的示例,可以看到这种方法的实现。可以使用ProgressiveMesh对象上的TrimByFacesTrimByVertices方法来改变细节的级别。

 

 

Rendering Patch Meshes

本文关键:【翻译】Managed DirectX(第九章)
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top