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

· 10년 전 · 1278

<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,342
10년 전 조회 1,262
10년 전 조회 1,165
10년 전 조회 1,295
10년 전 조회 1,161
10년 전 조회 1,501
10년 전 조회 1,219
10년 전 조회 1,233
10년 전 조회 1,213
10년 전 조회 1,242
10년 전 조회 1,298
10년 전 조회 1,205
10년 전 조회 1,221
10년 전 조회 1,418
10년 전 조회 1,224
10년 전 조회 1,331
10년 전 조회 1,297
10년 전 조회 1,313
10년 전 조회 1,429
10년 전 조회 1,297
10년 전 조회 1,256
10년 전 조회 1,273
10년 전 조회 1,387
10년 전 조회 1,270
10년 전 조회 1,226
10년 전 조회 1,253
10년 전 조회 1,267
10년 전 조회 1,324
10년 전 조회 1,251
10년 전 조회 1,469
10년 전 조회 1,619
10년 전 조회 1,514
10년 전 조회 1,279
10년 전 조회 1,272
10년 전 조회 1,239
10년 전 조회 1,230
10년 전 조회 1,352
10년 전 조회 1,278
10년 전 조회 1,223
10년 전 조회 1,277
10년 전 조회 1,627
10년 전 조회 2,086
10년 전 조회 1,662
10년 전 조회 1,494
10년 전 조회 1,462
10년 전 조회 1,302
10년 전 조회 1,292
10년 전 조회 1,307
10년 전 조회 1,265
10년 전 조회 1,279
10년 전 조회 1,309
10년 전 조회 1,472
10년 전 조회 1,374
10년 전 조회 2,099
10년 전 조회 1,635
10년 전 조회 1,383
10년 전 조회 1,467
10년 전 조회 1,716
10년 전 조회 1,392
10년 전 조회 1,578
10년 전 조회 1,403
10년 전 조회 1,526
10년 전 조회 1,368
10년 전 조회 1,334
10년 전 조회 1,331
10년 전 조회 1,370
10년 전 조회 1,366
10년 전 조회 1,397
10년 전 조회 1,425
10년 전 조회 1,397
10년 전 조회 1,552
10년 전 조회 1,536
10년 전 조회 1,328
10년 전 조회 1,630
10년 전 조회 1,981
10년 전 조회 1,430
10년 전 조회 1,682
10년 전 조회 1,645
10년 전 조회 1,501
10년 전 조회 1,445
10년 전 조회 1,414
10년 전 조회 1,530
10년 전 조회 1,260
10년 전 조회 1,356
10년 전 조회 1,575
10년 전 조회 1,392
10년 전 조회 1,391
10년 전 조회 1,338
10년 전 조회 1,382
10년 전 조회 1,365
10년 전 조회 1,370
10년 전 조회 1,402
10년 전 조회 1,333
10년 전 조회 1,505
10년 전 조회 1,331
10년 전 조회 1,341
10년 전 조회 1,432
10년 전 조회 2,159
10년 전 조회 1,401
10년 전 조회 1,387