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

· 10년 전 · 981

<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,043
10년 전 조회 1,017
10년 전 조회 841
10년 전 조회 970
10년 전 조회 861
10년 전 조회 1,161
10년 전 조회 905
10년 전 조회 871
10년 전 조회 904
10년 전 조회 934
10년 전 조회 980
10년 전 조회 896
10년 전 조회 930
10년 전 조회 1,076
10년 전 조회 939
10년 전 조회 998
10년 전 조회 953
10년 전 조회 1,001
10년 전 조회 1,112
10년 전 조회 974
10년 전 조회 951
10년 전 조회 976
10년 전 조회 1,065
10년 전 조회 976
10년 전 조회 933
10년 전 조회 957
10년 전 조회 974
10년 전 조회 909
10년 전 조회 914
10년 전 조회 1,210
10년 전 조회 1,296
10년 전 조회 1,249
10년 전 조회 939
10년 전 조회 960
10년 전 조회 918
10년 전 조회 939
10년 전 조회 1,042
10년 전 조회 991
10년 전 조회 882
10년 전 조회 945
10년 전 조회 1,324
10년 전 조회 1,754
10년 전 조회 1,334
10년 전 조회 1,142
10년 전 조회 1,219
10년 전 조회 973
10년 전 조회 956
10년 전 조회 991
10년 전 조회 946
10년 전 조회 982
10년 전 조회 968
10년 전 조회 1,223
10년 전 조회 1,086
10년 전 조회 1,766
10년 전 조회 1,342
10년 전 조회 1,044
10년 전 조회 1,151
10년 전 조회 1,373
10년 전 조회 1,107
10년 전 조회 1,271
10년 전 조회 1,115
10년 전 조회 1,221
10년 전 조회 1,041
10년 전 조회 1,028
10년 전 조회 1,020
10년 전 조회 1,077
10년 전 조회 1,047
10년 전 조회 1,115
10년 전 조회 1,101
10년 전 조회 1,083
10년 전 조회 1,225
10년 전 조회 1,211
10년 전 조회 1,005
10년 전 조회 1,312
10년 전 조회 1,658
10년 전 조회 1,111
10년 전 조회 1,361
10년 전 조회 1,319
10년 전 조회 1,176
10년 전 조회 1,130
10년 전 조회 1,088
10년 전 조회 1,205
10년 전 조회 965
10년 전 조회 1,025
10년 전 조회 1,240
10년 전 조회 1,066
10년 전 조회 1,030
10년 전 조회 1,018
10년 전 조회 1,012
10년 전 조회 1,011
10년 전 조회 1,009
10년 전 조회 1,028
10년 전 조회 1,028
10년 전 조회 1,136
10년 전 조회 985
10년 전 조회 984
10년 전 조회 1,066
10년 전 조회 1,792
10년 전 조회 1,000
10년 전 조회 1,022