文件名称:Clock-Wipe
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:5.26mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1. 首先把兩張圖讀進來,求出高與寬和設定time的最大值
2. 利用atan()這個數學函式算出角度,以圖的中心為基準width/2和height/2
把x,y帶入atan(-(y-height/2)/(x-width/2))*180/PI
- 當求出的角度<隨著時間比例變的角度,則將新的圖覆蓋到舊的圖
- 反之,用舊的圖覆蓋舊的圖
3. 但是,這會產生一個問題,因為斜率一樣,且atan()求出的角度範圍只有-90~90度,所以一三象限或者二四象限會發生同時wipe的情況。為了解決這個情況,我將atan()求出的角度轉成0~360度,這樣各自的象限就有自己的工作,則不會產生同時wipe的情況
4. 以上簡述就可完成clock wipe的功能-1. two maps read come, find the height and width and set the time of maximum
2. Use atan () math functions calculate the angle to the center of the benchmark the width/height/2
X, y into the atan (- (y-height/2)/(x-width/2))* 180/PI
- Obtained when the angle <With time the proportion of change of angle, then the new map to cover the old map
- On the contrary, cover with the old map old map
3. this will create a problem because of the slope, and atan () Find the angle range of-90 to 90 degrees, so the thirteen quadrant or twenty-four-quadrant will occur at the same time wipe. In order to address this situation, I will atan () Find the angle of turn into a 0 to 360 degrees, so that the respective quadrant has its own work, is not at the same time wipe
4. briefly summarized above, can be completed clock wipe one s function
2. 利用atan()這個數學函式算出角度,以圖的中心為基準width/2和height/2
把x,y帶入atan(-(y-height/2)/(x-width/2))*180/PI
- 當求出的角度<隨著時間比例變的角度,則將新的圖覆蓋到舊的圖
- 反之,用舊的圖覆蓋舊的圖
3. 但是,這會產生一個問題,因為斜率一樣,且atan()求出的角度範圍只有-90~90度,所以一三象限或者二四象限會發生同時wipe的情況。為了解決這個情況,我將atan()求出的角度轉成0~360度,這樣各自的象限就有自己的工作,則不會產生同時wipe的情況
4. 以上簡述就可完成clock wipe的功能-1. two maps read come, find the height and width and set the time of maximum
2. Use atan () math functions calculate the angle to the center of the benchmark the width/height/2
X, y into the atan (- (y-height/2)/(x-width/2))* 180/PI
- Obtained when the angle <With time the proportion of change of angle, then the new map to cover the old map
- On the contrary, cover with the old map old map
3. this will create a problem because of the slope, and atan () Find the angle range of-90 to 90 degrees, so the thirteen quadrant or twenty-four-quadrant will occur at the same time wipe. In order to address this situation, I will atan () Find the angle of turn into a 0 to 360 degrees, so that the respective quadrant has its own work, is not at the same time wipe
4. briefly summarized above, can be completed clock wipe one s function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
angle.png
clock wipe/
clock wipe/clock wipe/
clock wipe/clock wipe.ncb
clock wipe/clock wipe.sln
clock wipe/clock wipe.suo
clock wipe/clock wipe/clock wipe.cpp
clock wipe/clock wipe/clock wipe.vcproj
clock wipe/clock wipe/clock wipe.vcproj.SA074463.sa074463.user
clock wipe/clock wipe/Debug/
clock wipe/clock wipe/Debug/BuildLog.htm
clock wipe/clock wipe/Debug/clock wipe.exe.embed.manifest
clock wipe/clock wipe/Debug/clock wipe.exe.embed.manifest.res
clock wipe/clock wipe/Debug/clock wipe.exe.intermediate.manifest
clock wipe/clock wipe/Debug/clock wipe.obj
clock wipe/clock wipe/Debug/clock wipe.pch
clock wipe/clock wipe/Debug/mt.dep
clock wipe/clock wipe/Debug/stdafx.obj
clock wipe/clock wipe/Debug/vc90.idb
clock wipe/clock wipe/Debug/vc90.pdb
clock wipe/clock wipe/lena.jpg
clock wipe/clock wipe/pic1.jpg
clock wipe/clock wipe/ReadMe.txt
clock wipe/clock wipe/stdafx.cpp
clock wipe/clock wipe/stdafx.h
clock wipe/clock wipe/targetver.h
clock wipe/Debug/
clock wipe/Debug/clock wipe.exe
clock wipe/Debug/clock wipe.ilk
clock wipe/Debug/clock wipe.pdb
Explain.txt
clock wipe/
clock wipe/clock wipe/
clock wipe/clock wipe.ncb
clock wipe/clock wipe.sln
clock wipe/clock wipe.suo
clock wipe/clock wipe/clock wipe.cpp
clock wipe/clock wipe/clock wipe.vcproj
clock wipe/clock wipe/clock wipe.vcproj.SA074463.sa074463.user
clock wipe/clock wipe/Debug/
clock wipe/clock wipe/Debug/BuildLog.htm
clock wipe/clock wipe/Debug/clock wipe.exe.embed.manifest
clock wipe/clock wipe/Debug/clock wipe.exe.embed.manifest.res
clock wipe/clock wipe/Debug/clock wipe.exe.intermediate.manifest
clock wipe/clock wipe/Debug/clock wipe.obj
clock wipe/clock wipe/Debug/clock wipe.pch
clock wipe/clock wipe/Debug/mt.dep
clock wipe/clock wipe/Debug/stdafx.obj
clock wipe/clock wipe/Debug/vc90.idb
clock wipe/clock wipe/Debug/vc90.pdb
clock wipe/clock wipe/lena.jpg
clock wipe/clock wipe/pic1.jpg
clock wipe/clock wipe/ReadMe.txt
clock wipe/clock wipe/stdafx.cpp
clock wipe/clock wipe/stdafx.h
clock wipe/clock wipe/targetver.h
clock wipe/Debug/
clock wipe/Debug/clock wipe.exe
clock wipe/Debug/clock wipe.ilk
clock wipe/Debug/clock wipe.pdb
Explain.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.