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

· 10년 전 · 1147

<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,204
10년 전 조회 1,123
10년 전 조회 1,023
10년 전 조회 1,156
10년 전 조회 1,034
10년 전 조회 1,327
10년 전 조회 1,075
10년 전 조회 1,046
10년 전 조회 1,092
10년 전 조회 1,114
10년 전 조회 1,148
10년 전 조회 1,085
10년 전 조회 1,101
10년 전 조회 1,269
10년 전 조회 1,092
10년 전 조회 1,187
10년 전 조회 1,120
10년 전 조회 1,184
10년 전 조회 1,285
10년 전 조회 1,155
10년 전 조회 1,130
10년 전 조회 1,153
10년 전 조회 1,228
10년 전 조회 1,143
10년 전 조회 1,097
10년 전 조회 1,125
10년 전 조회 1,127
10년 전 조회 1,077
10년 전 조회 1,098
10년 전 조회 1,311
10년 전 조회 1,472
10년 전 조회 1,370
10년 전 조회 1,126
10년 전 조회 1,128
10년 전 조회 1,092
10년 전 조회 1,102
10년 전 조회 1,198
10년 전 조회 1,145
10년 전 조회 1,044
10년 전 조회 1,114
10년 전 조회 1,491
10년 전 조회 1,922
10년 전 조회 1,516
10년 전 조회 1,312
10년 전 조회 1,326
10년 전 조회 1,141
10년 전 조회 1,134
10년 전 조회 1,165
10년 전 조회 1,121
10년 전 조회 1,148
10년 전 조회 1,143
10년 전 조회 1,320
10년 전 조회 1,247
10년 전 조회 1,958
10년 전 조회 1,500
10년 전 조회 1,225
10년 전 조회 1,317
10년 전 조회 1,578
10년 전 조회 1,262
10년 전 조회 1,448
10년 전 조회 1,279
10년 전 조회 1,387
10년 전 조회 1,220
10년 전 조회 1,201
10년 전 조회 1,178
10년 전 조회 1,235
10년 전 조회 1,223
10년 전 조회 1,269
10년 전 조회 1,268
10년 전 조회 1,246
10년 전 조회 1,402
10년 전 조회 1,397
10년 전 조회 1,185
10년 전 조회 1,486
10년 전 조회 1,844
10년 전 조회 1,274
10년 전 조회 1,529
10년 전 조회 1,495
10년 전 조회 1,350
10년 전 조회 1,302
10년 전 조회 1,266
10년 전 조회 1,374
10년 전 조회 1,130
10년 전 조회 1,194
10년 전 조회 1,415
10년 전 조회 1,228
10년 전 조회 1,220
10년 전 조회 1,193
10년 전 조회 1,205
10년 전 조회 1,188
10년 전 조회 1,192
10년 전 조회 1,213
10년 전 조회 1,213
10년 전 조회 1,342
10년 전 조회 1,160
10년 전 조회 1,164
10년 전 조회 1,248
10년 전 조회 1,988
10년 전 조회 1,200
10년 전 조회 1,217