DirectX의 와이프 기능을 사용한 이미지 스와핑 효과 내기 입니다.

· 10년 전 · 995

<SCRIPT>
<!--
// 첫번째 이미지
var picture1="http://www.00fun.com/hillbilly_chic_laughing_lg_wht.gif"

// 두번째 이미지
var picture2="http://sir.co.kr/image/v9_lptitle.gif"

// 이미지의 크기를 설정 합니다
var picturewidth=240
var pictureheight=154
//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript">
<!--
if (document.all) {
document.write('<OBJECT ID="DAControl_Wipe" ')
document.write('STYLE="width:'+picturewidth+';height:'+pictureheight+'"')
document.write('CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">')
document.write('</OBJECT>')
m = DAControl_Wipe.MeterLibrary;

whatTransformation = new ActiveXObject("DXImageTransform.Microsoft.Wipe");

whatPictures = new Array();     
whatPictures[0] = m.ImportImage(picture1);
whatPictures[1] = m.ImportImage(picture2);

forward = m.Interpolate(0, 1, 3);
back = m.Interpolate(1, 0, 2);
whatMovement = m.Sequence(forward, back).RepeatForever();

whatTransformation.GradientSize = 1.0;
whatTransformation.WipeStyle = 0;

theResult = m.ApplyDXTransform( whatTransformation, whatPictures, whatMovement );
 
DAControl_Wipe.Image = theResult.OutputBvr;
DAControl_Wipe.Start();

}
//-->
</SCRIPT>  

|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
10년 전 조회 1,051
10년 전 조회 1,025
10년 전 조회 852
10년 전 조회 986
10년 전 조회 876
10년 전 조회 1,173
10년 전 조회 921
10년 전 조회 879
10년 전 조회 916
10년 전 조회 949
10년 전 조회 998
10년 전 조회 919
10년 전 조회 940
10년 전 조회 1,096
10년 전 조회 948
10년 전 조회 1,013
10년 전 조회 964
10년 전 조회 1,016
10년 전 조회 1,121
10년 전 조회 993
10년 전 조회 965
10년 전 조회 986
10년 전 조회 1,077
10년 전 조회 988
10년 전 조회 942
10년 전 조회 964
10년 전 조회 988
10년 전 조회 918
10년 전 조회 932
10년 전 조회 1,223
10년 전 조회 1,312
10년 전 조회 1,260
10년 전 조회 954
10년 전 조회 971
10년 전 조회 934
10년 전 조회 948
10년 전 조회 1,052
10년 전 조회 1,002
10년 전 조회 897
10년 전 조회 952
10년 전 조회 1,338
10년 전 조회 1,766
10년 전 조회 1,353
10년 전 조회 1,152
10년 전 조회 1,223
10년 전 조회 983
10년 전 조회 963
10년 전 조회 1,002
10년 전 조회 955
10년 전 조회 996
10년 전 조회 986
10년 전 조회 1,229
10년 전 조회 1,098
10년 전 조회 1,776
10년 전 조회 1,356
10년 전 조회 1,057
10년 전 조회 1,160
10년 전 조회 1,388
10년 전 조회 1,116
10년 전 조회 1,287
10년 전 조회 1,127
10년 전 조회 1,231
10년 전 조회 1,054
10년 전 조회 1,042
10년 전 조회 1,030
10년 전 조회 1,088
10년 전 조회 1,059
10년 전 조회 1,130
10년 전 조회 1,119
10년 전 조회 1,095
10년 전 조회 1,237
10년 전 조회 1,220
10년 전 조회 1,013
10년 전 조회 1,322
10년 전 조회 1,672
10년 전 조회 1,123
10년 전 조회 1,375
10년 전 조회 1,329
10년 전 조회 1,186
10년 전 조회 1,140
10년 전 조회 1,101
10년 전 조회 1,218
10년 전 조회 975
10년 전 조회 1,033
10년 전 조회 1,249
10년 전 조회 1,079
10년 전 조회 1,044
10년 전 조회 1,029
10년 전 조회 1,027
10년 전 조회 1,022
10년 전 조회 1,021
10년 전 조회 1,044
10년 전 조회 1,041
10년 전 조회 1,148
10년 전 조회 1,000
10년 전 조회 1,001
10년 전 조회 1,080
10년 전 조회 1,803
10년 전 조회 1,016
10년 전 조회 1,038