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

· 10년 전 · 533

<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년 전 조회 660
10년 전 조회 538
10년 전 조회 435
10년 전 조회 545
10년 전 조회 458
10년 전 조회 756
10년 전 조회 472
10년 전 조회 453
10년 전 조회 498
10년 전 조회 512
10년 전 조회 562
10년 전 조회 472
10년 전 조회 496
10년 전 조회 659
10년 전 조회 507
10년 전 조회 553
10년 전 조회 543
10년 전 조회 558
10년 전 조회 692
10년 전 조회 561
10년 전 조회 520
10년 전 조회 530
10년 전 조회 645
10년 전 조회 558
10년 전 조회 493
10년 전 조회 510
10년 전 조회 511
10년 전 조회 474
10년 전 조회 483
10년 전 조회 688
10년 전 조회 897
10년 전 조회 707
10년 전 조회 506
10년 전 조회 512
10년 전 조회 467
10년 전 조회 496
10년 전 조회 594
10년 전 조회 524
10년 전 조회 442
10년 전 조회 489
10년 전 조회 884
10년 전 조회 1,334
10년 전 조회 905
10년 전 조회 707
10년 전 조회 677
10년 전 조회 538
10년 전 조회 526
10년 전 조회 547
10년 전 조회 519
10년 전 조회 534
10년 전 조회 561
10년 전 조회 691
10년 전 조회 601
10년 전 조회 1,333
10년 전 조회 888
10년 전 조회 607
10년 전 조회 681
10년 전 조회 939
10년 전 조회 663
10년 전 조회 795
10년 전 조회 635
10년 전 조회 745
10년 전 조회 580
10년 전 조회 554
10년 전 조회 552
10년 전 조회 601
10년 전 조회 557
10년 전 조회 620
10년 전 조회 622
10년 전 조회 601
10년 전 조회 760
10년 전 조회 771
10년 전 조회 536
10년 전 조회 838
10년 전 조회 1,190
10년 전 조회 645
10년 전 조회 877
10년 전 조회 871
10년 전 조회 708
10년 전 조회 644
10년 전 조회 626
10년 전 조회 726
10년 전 조회 496
10년 전 조회 528
10년 전 조회 747
10년 전 조회 576
10년 전 조회 540
10년 전 조회 522
10년 전 조회 532
10년 전 조회 547
10년 전 조회 526
10년 전 조회 542
10년 전 조회 563
10년 전 조회 658
10년 전 조회 490
10년 전 조회 519
10년 전 조회 601
10년 전 조회 1,349
10년 전 조회 553
10년 전 조회 551
🐛 버그신고