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

· 10년 전 · 627

<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년 전 조회 746
10년 전 조회 622
10년 전 조회 525
10년 전 조회 635
10년 전 조회 553
10년 전 조회 849
10년 전 조회 567
10년 전 조회 549
10년 전 조회 586
10년 전 조회 599
10년 전 조회 654
10년 전 조회 561
10년 전 조회 596
10년 전 조회 748
10년 전 조회 606
10년 전 조회 655
10년 전 조회 638
10년 전 조회 659
10년 전 조회 794
10년 전 조회 658
10년 전 조회 623
10년 전 조회 628
10년 전 조회 739
10년 전 조회 655
10년 전 조회 596
10년 전 조회 614
10년 전 조회 612
10년 전 조회 563
10년 전 조회 584
10년 전 조회 780
10년 전 조회 979
10년 전 조회 813
10년 전 조회 611
10년 전 조회 610
10년 전 조회 573
10년 전 조회 600
10년 전 조회 685
10년 전 조회 622
10년 전 조회 538
10년 전 조회 590
10년 전 조회 984
10년 전 조회 1,439
10년 전 조회 984
10년 전 조회 814
10년 전 조회 778
10년 전 조회 634
10년 전 조회 631
10년 전 조회 647
10년 전 조회 615
10년 전 조회 628
10년 전 조회 660
10년 전 조회 794
10년 전 조회 700
10년 전 조회 1,438
10년 전 조회 988
10년 전 조회 716
10년 전 조회 787
10년 전 조회 1,025
10년 전 조회 749
10년 전 조회 903
10년 전 조회 739
10년 전 조회 858
10년 전 조회 682
10년 전 조회 660
10년 전 조회 664
10년 전 조회 702
10년 전 조회 650
10년 전 조회 729
10년 전 조회 718
10년 전 조회 726
10년 전 조회 857
10년 전 조회 864
10년 전 조회 639
10년 전 조회 938
10년 전 조회 1,295
10년 전 조회 743
10년 전 조회 981
10년 전 조회 968
10년 전 조회 815
10년 전 조회 752
10년 전 조회 728
10년 전 조회 821
10년 전 조회 603
10년 전 조회 628
10년 전 조회 854
10년 전 조회 688
10년 전 조회 652
10년 전 조회 624
10년 전 조회 643
10년 전 조회 652
10년 전 조회 639
10년 전 조회 641
10년 전 조회 664
10년 전 조회 762
10년 전 조회 597
10년 전 조회 627
10년 전 조회 707
10년 전 조회 1,441
10년 전 조회 650
10년 전 조회 659