Hi Huanglin
我用P4 2.4G 双CPU,Ram 1,000,000执行单一色所耗费的时间
15.03 seconds ( 13.14 seconds CPU) to trace 400,000 out of 1,381,615
28.69 seconds ( 26.42 seconds CPU) to trace 800,000 out of 1,763,231
81.55 seconds ( 78.16 seconds CPU) to trace 1,200,000 out of 1,954,030
3.06 minutes ( 2.80 minutes CPU) to trace 1,600,000of 4.53 minutes ( 4.14 minutes CPU) to trace 1,954,030
真实时间至少 x3
以范例133X160的图当光源
但是若把图文件分辨率变大
ray的数目变多
可能会run很久
<p>
参考看看
<p>
<p>
<img src="data/attachment/forum/dvbbs/2004-3/200432521569977.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'data/attachment/forum/dvbbs/2004-3/200432521569977.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
<p>
<p>
<p>
<p>
[此贴子已经被作者于2004-3-25 23:25:08编辑过]
|