天天看点

使用Cg编写PTM

在使用软件方法实现PTM时,256×256约需50ms,但改用Cg进行加速后,速度可达到2ms!加速了25倍!我的显卡是Geforce 6800 GT