2012年3月1日 星期四

HW03



此次上課既有深度又有趣

是開學至今覺得學到最多的一堂課

希望之後的課也可以這麼精彩

此外HW03 有關Logo的bug是在內層的for迴圈之中

ptr2[3*(x+x1)]=alpha*ptr1[3*(x)] + (1-alpha)*ptr2[3*(x+x1)];

ptr2[3*(x+x1)+1]=alpha*ptr1[3*(x)+1] + (1-alpha)*ptr2[3*(x+x1)+1];

ptr2[3*(x+x1)+2]=alpha*ptr1[3*(x)+2] + (1-alpha)*ptr2[3*(x+x1)+2];

括號內的 (x) 原本是 (x+x1) 是錯誤的 , 只要讀Logo的座標位置就好
不需要讀要放在原圖的位置

沒有留言:

張貼留言