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

· 10년 전 · 643

<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년 전 조회 760
10년 전 조회 637
10년 전 조회 537
10년 전 조회 649
10년 전 조회 569
10년 전 조회 869
10년 전 조회 580
10년 전 조회 564
10년 전 조회 599
10년 전 조회 609
10년 전 조회 669
10년 전 조회 578
10년 전 조회 613
10년 전 조회 760
10년 전 조회 617
10년 전 조회 668
10년 전 조회 657
10년 전 조회 673
10년 전 조회 812
10년 전 조회 673
10년 전 조회 637
10년 전 조회 642
10년 전 조회 748
10년 전 조회 665
10년 전 조회 609
10년 전 조회 631
10년 전 조회 627
10년 전 조회 580
10년 전 조회 598
10년 전 조회 797
10년 전 조회 991
10년 전 조회 827
10년 전 조회 625
10년 전 조회 628
10년 전 조회 584
10년 전 조회 615
10년 전 조회 707
10년 전 조회 639
10년 전 조회 548
10년 전 조회 610
10년 전 조회 997
10년 전 조회 1,454
10년 전 조회 997
10년 전 조회 828
10년 전 조회 791
10년 전 조회 648
10년 전 조회 646
10년 전 조회 660
10년 전 조회 628
10년 전 조회 644
10년 전 조회 671
10년 전 조회 805
10년 전 조회 712
10년 전 조회 1,452
10년 전 조회 1,001
10년 전 조회 730
10년 전 조회 800
10년 전 조회 1,043
10년 전 조회 758
10년 전 조회 918
10년 전 조회 759
10년 전 조회 870
10년 전 조회 695
10년 전 조회 677
10년 전 조회 679
10년 전 조회 716
10년 전 조회 665
10년 전 조회 747
10년 전 조회 734
10년 전 조회 737
10년 전 조회 874
10년 전 조회 880
10년 전 조회 652
10년 전 조회 952
10년 전 조회 1,306
10년 전 조회 759
10년 전 조회 996
10년 전 조회 984
10년 전 조회 829
10년 전 조회 775
10년 전 조회 748
10년 전 조회 835
10년 전 조회 620
10년 전 조회 643
10년 전 조회 868
10년 전 조회 706
10년 전 조회 666
10년 전 조회 641
10년 전 조회 663
10년 전 조회 672
10년 전 조회 660
10년 전 조회 658
10년 전 조회 682
10년 전 조회 786
10년 전 조회 621
10년 전 조회 645
10년 전 조회 728
10년 전 조회 1,455
10년 전 조회 671
10년 전 조회 672