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

· 10년 전 · 1283

<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,263
10년 전 조회 1,167
10년 전 조회 1,296
10년 전 조회 1,163
10년 전 조회 1,503
10년 전 조회 1,222
10년 전 조회 1,235
10년 전 조회 1,216
10년 전 조회 1,242
10년 전 조회 1,302
10년 전 조회 1,208
10년 전 조회 1,224
10년 전 조회 1,422
10년 전 조회 1,228
10년 전 조회 1,334
10년 전 조회 1,300
10년 전 조회 1,314
10년 전 조회 1,435
10년 전 조회 1,300
10년 전 조회 1,257
10년 전 조회 1,274
10년 전 조회 1,395
10년 전 조회 1,271
10년 전 조회 1,230
10년 전 조회 1,259
10년 전 조회 1,270
10년 전 조회 1,325
10년 전 조회 1,253
10년 전 조회 1,471
10년 전 조회 1,619
10년 전 조회 1,516
10년 전 조회 1,283
10년 전 조회 1,276
10년 전 조회 1,242
10년 전 조회 1,234
10년 전 조회 1,354
10년 전 조회 1,280
10년 전 조회 1,225
10년 전 조회 1,278
10년 전 조회 1,629
10년 전 조회 2,091
10년 전 조회 1,666
10년 전 조회 1,496
10년 전 조회 1,466
10년 전 조회 1,303
10년 전 조회 1,292
10년 전 조회 1,308
10년 전 조회 1,268
10년 전 조회 1,284
10년 전 조회 1,312
10년 전 조회 1,473
10년 전 조회 1,376
10년 전 조회 2,101
10년 전 조회 1,637
10년 전 조회 1,383
10년 전 조회 1,472
10년 전 조회 1,716
10년 전 조회 1,394
10년 전 조회 1,578
10년 전 조회 1,406
10년 전 조회 1,529
10년 전 조회 1,371
10년 전 조회 1,335
10년 전 조회 1,334
10년 전 조회 1,371
10년 전 조회 1,368
10년 전 조회 1,399
10년 전 조회 1,425
10년 전 조회 1,399
10년 전 조회 1,554
10년 전 조회 1,538
10년 전 조회 1,331
10년 전 조회 1,633
10년 전 조회 1,983
10년 전 조회 1,431
10년 전 조회 1,684
10년 전 조회 1,646
10년 전 조회 1,504
10년 전 조회 1,447
10년 전 조회 1,417
10년 전 조회 1,531
10년 전 조회 1,262
10년 전 조회 1,358
10년 전 조회 1,578
10년 전 조회 1,396
10년 전 조회 1,392
10년 전 조회 1,340
10년 전 조회 1,386
10년 전 조회 1,366
10년 전 조회 1,371
10년 전 조회 1,402
10년 전 조회 1,337
10년 전 조회 1,508
10년 전 조회 1,332
10년 전 조회 1,344
10년 전 조회 1,435
10년 전 조회 2,163
10년 전 조회 1,401
10년 전 조회 1,389