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

· 10년 전 · 634

<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년 전 조회 755
10년 전 조회 631
10년 전 조회 532
10년 전 조회 644
10년 전 조회 560
10년 전 조회 862
10년 전 조회 574
10년 전 조회 560
10년 전 조회 593
10년 전 조회 606
10년 전 조회 663
10년 전 조회 571
10년 전 조회 604
10년 전 조회 757
10년 전 조회 613
10년 전 조회 663
10년 전 조회 651
10년 전 조회 667
10년 전 조회 801
10년 전 조회 665
10년 전 조회 631
10년 전 조회 633
10년 전 조회 742
10년 전 조회 660
10년 전 조회 604
10년 전 조회 622
10년 전 조회 621
10년 전 조회 574
10년 전 조회 592
10년 전 조회 786
10년 전 조회 989
10년 전 조회 820
10년 전 조회 617
10년 전 조회 617
10년 전 조회 581
10년 전 조회 606
10년 전 조회 692
10년 전 조회 627
10년 전 조회 544
10년 전 조회 604
10년 전 조회 991
10년 전 조회 1,445
10년 전 조회 992
10년 전 조회 819
10년 전 조회 783
10년 전 조회 644
10년 전 조회 637
10년 전 조회 655
10년 전 조회 621
10년 전 조회 635
10년 전 조회 666
10년 전 조회 798
10년 전 조회 706
10년 전 조회 1,443
10년 전 조회 996
10년 전 조회 724
10년 전 조회 794
10년 전 조회 1,037
10년 전 조회 757
10년 전 조회 909
10년 전 조회 748
10년 전 조회 863
10년 전 조회 687
10년 전 조회 667
10년 전 조회 674
10년 전 조회 709
10년 전 조회 655
10년 전 조회 737
10년 전 조회 726
10년 전 조회 732
10년 전 조회 866
10년 전 조회 876
10년 전 조회 644
10년 전 조회 948
10년 전 조회 1,303
10년 전 조회 751
10년 전 조회 989
10년 전 조회 977
10년 전 조회 825
10년 전 조회 764
10년 전 조회 740
10년 전 조회 827
10년 전 조회 613
10년 전 조회 635
10년 전 조회 863
10년 전 조회 699
10년 전 조회 659
10년 전 조회 634
10년 전 조회 652
10년 전 조회 661
10년 전 조회 647
10년 전 조회 650
10년 전 조회 669
10년 전 조회 776
10년 전 조회 607
10년 전 조회 636
10년 전 조회 721
10년 전 조회 1,447
10년 전 조회 663
10년 전 조회 665