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

· 10년 전 · 596

<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년 전 조회 717
10년 전 조회 591
10년 전 조회 498
10년 전 조회 609
10년 전 조회 529
10년 전 조회 825
10년 전 조회 537
10년 전 조회 521
10년 전 조회 555
10년 전 조회 559
10년 전 조회 623
10년 전 조회 531
10년 전 조회 569
10년 전 조회 713
10년 전 조회 578
10년 전 조회 622
10년 전 조회 618
10년 전 조회 619
10년 전 조회 767
10년 전 조회 634
10년 전 조회 595
10년 전 조회 604
10년 전 조회 711
10년 전 조회 629
10년 전 조회 570
10년 전 조회 584
10년 전 조회 590
10년 전 조회 537
10년 전 조회 561
10년 전 조회 756
10년 전 조회 949
10년 전 조회 787
10년 전 조회 587
10년 전 조회 587
10년 전 조회 547
10년 전 조회 571
10년 전 조회 667
10년 전 조회 598
10년 전 조회 509
10년 전 조회 563
10년 전 조회 960
10년 전 조회 1,410
10년 전 조회 959
10년 전 조회 776
10년 전 조회 753
10년 전 조회 609
10년 전 조회 604
10년 전 조회 617
10년 전 조회 582
10년 전 조회 597
10년 전 조회 635
10년 전 조회 766
10년 전 조회 673
10년 전 조회 1,409
10년 전 조회 966
10년 전 조회 682
10년 전 조회 759
10년 전 조회 993
10년 전 조회 726
10년 전 조회 878
10년 전 조회 714
10년 전 조회 821
10년 전 조회 649
10년 전 조회 630
10년 전 조회 639
10년 전 조회 672
10년 전 조회 628
10년 전 조회 704
10년 전 조회 691
10년 전 조회 685
10년 전 조회 829
10년 전 조회 837
10년 전 조회 609
10년 전 조회 900
10년 전 조회 1,263
10년 전 조회 719
10년 전 조회 954
10년 전 조회 932
10년 전 조회 789
10년 전 조회 717
10년 전 조회 695
10년 전 조회 794
10년 전 조회 571
10년 전 조회 601
10년 전 조회 824
10년 전 조회 654
10년 전 조회 611
10년 전 조회 589
10년 전 조회 610
10년 전 조회 623
10년 전 조회 604
10년 전 조회 612
10년 전 조회 635
10년 전 조회 736
10년 전 조회 561
10년 전 조회 595
10년 전 조회 671
10년 전 조회 1,405
10년 전 조회 626
10년 전 조회 628