KlayGE的PNTriangle例子支持Instanced Tessellation了

转载请注明出处为KlayGE游戏引擎,本文地址为http://www.klayge.org/?p=841 

 

花了几个小时吧Instanced Tessellation实现了一下,并集成到PNTriangle例子中了。这下在D3D10级别的显卡上也可以支持tessellation。Instanced Tessellation速度不错,蛮实用的。相关资料在:http://developer.download.nvidia.com/presentations/2008/GDC/Inst_Tess_Compatible.pdf

目前还不支持Adaptive tessellation,所以每个三角形的细分级别都是一样的,对GPU来说是个负担。以后有空再做改进了。


对比图片在http://www.klayge.org/?p=841

posted on 2011-02-01 17:16  龚敏敏  阅读(1451)  评论(0编辑  收藏  举报