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

· 10년 전 · 1313

<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,350
10년 전 조회 1,367
10년 전 조회 1,285
10년 전 조회 1,182
10년 전 조회 1,317
10년 전 조회 1,177
10년 전 조회 1,532
10년 전 조회 1,244
10년 전 조회 1,255
10년 전 조회 1,244
10년 전 조회 1,261
10년 전 조회 1,333
10년 전 조회 1,230
10년 전 조회 1,251
10년 전 조회 1,448
10년 전 조회 1,250
10년 전 조회 1,362
10년 전 조회 1,325
10년 전 조회 1,341
10년 전 조회 1,472
10년 전 조회 1,327
10년 전 조회 1,295
10년 전 조회 1,304
10년 전 조회 1,425
10년 전 조회 1,297
10년 전 조회 1,259
10년 전 조회 1,292
10년 전 조회 1,305
10년 전 조회 1,350
10년 전 조회 1,276
10년 전 조회 1,506
10년 전 조회 1,640
10년 전 조회 1,556
10년 전 조회 1,315
10년 전 조회 1,304
10년 전 조회 1,270
10년 전 조회 1,262
10년 전 조회 1,386
10년 전 조회 1,302
10년 전 조회 1,258
10년 전 조회 1,308
10년 전 조회 1,650
10년 전 조회 2,130
10년 전 조회 1,693
10년 전 조회 1,489
10년 전 조회 1,348
10년 전 조회 1,315
10년 전 조회 1,341
10년 전 조회 1,296
10년 전 조회 1,314
10년 전 조회 1,338
10년 전 조회 1,502
10년 전 조회 1,401
10년 전 조회 2,138
10년 전 조회 1,664
10년 전 조회 1,410
10년 전 조회 1,506
10년 전 조회 1,736
10년 전 조회 1,419
10년 전 조회 1,603
10년 전 조회 1,433
10년 전 조회 1,553
10년 전 조회 1,393
10년 전 조회 1,353
10년 전 조회 1,359
10년 전 조회 1,402
10년 전 조회 1,392
10년 전 조회 1,420
10년 전 조회 1,457
10년 전 조회 1,428
10년 전 조회 1,579
10년 전 조회 1,566
10년 전 조회 1,359
10년 전 조회 1,668
10년 전 조회 2,009
10년 전 조회 1,464
10년 전 조회 1,708
10년 전 조회 1,671
10년 전 조회 1,533
10년 전 조회 1,490
10년 전 조회 1,452
10년 전 조회 1,557
10년 전 조회 1,295
10년 전 조회 1,383
10년 전 조회 1,604
10년 전 조회 1,429
10년 전 조회 1,416
10년 전 조회 1,370
10년 전 조회 1,407
10년 전 조회 1,400
10년 전 조회 1,402
10년 전 조회 1,429
10년 전 조회 1,382
10년 전 조회 1,542
10년 전 조회 1,366
10년 전 조회 1,377
10년 전 조회 1,478
10년 전 조회 2,201
10년 전 조회 1,437
10년 전 조회 1,418