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

· 10년 전 · 1543

<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년 전 조회 1,557
10년 전 조회 1,584
10년 전 조회 1,483
10년 전 조회 1,400
10년 전 조회 1,517
10년 전 조회 1,409
10년 전 조회 1,771
10년 전 조회 1,463
10년 전 조회 1,481
10년 전 조회 1,462
10년 전 조회 1,486
10년 전 조회 1,555
10년 전 조회 1,451
10년 전 조회 1,475
10년 전 조회 1,669
10년 전 조회 1,471
10년 전 조회 1,566
10년 전 조회 1,546
10년 전 조회 1,554
10년 전 조회 1,701
10년 전 조회 1,557
10년 전 조회 1,559
10년 전 조회 1,532
10년 전 조회 1,641
10년 전 조회 1,556
10년 전 조회 1,509
10년 전 조회 1,508
10년 전 조회 1,549
10년 전 조회 1,581
10년 전 조회 1,516
10년 전 조회 1,710
10년 전 조회 1,859
10년 전 조회 1,794
10년 전 조회 1,561
10년 전 조회 1,559
10년 전 조회 1,499
10년 전 조회 1,495
10년 전 조회 1,591
10년 전 조회 1,504
10년 전 조회 1,473
10년 전 조회 1,532
10년 전 조회 1,868
10년 전 조회 2,334
10년 전 조회 1,903
10년 전 조회 1,721
10년 전 조회 1,571
10년 전 조회 1,536
10년 전 조회 1,561
10년 전 조회 1,533
10년 전 조회 1,544
10년 전 조회 1,545
10년 전 조회 1,709
10년 전 조회 1,617
10년 전 조회 2,368
10년 전 조회 1,887
10년 전 조회 1,645
10년 전 조회 1,733
10년 전 조회 1,942
10년 전 조회 1,633
10년 전 조회 1,853
10년 전 조회 1,684
10년 전 조회 1,797
10년 전 조회 1,628
10년 전 조회 1,586
10년 전 조회 1,581
10년 전 조회 1,634
10년 전 조회 1,609
10년 전 조회 1,662
10년 전 조회 1,675
10년 전 조회 1,648
10년 전 조회 1,809
10년 전 조회 1,810
10년 전 조회 1,607
10년 전 조회 1,900
10년 전 조회 2,227
10년 전 조회 1,681
10년 전 조회 1,952
10년 전 조회 1,914
10년 전 조회 1,761
10년 전 조회 1,737
10년 전 조회 1,682
10년 전 조회 1,779
10년 전 조회 1,542
10년 전 조회 1,621
10년 전 조회 1,842
10년 전 조회 1,657
10년 전 조회 1,603
10년 전 조회 1,607
10년 전 조회 1,620
10년 전 조회 1,651
10년 전 조회 1,629
10년 전 조회 1,650
10년 전 조회 1,602
10년 전 조회 1,779
10년 전 조회 1,580
10년 전 조회 1,602
10년 전 조회 1,717
10년 전 조회 2,391
10년 전 조회 1,658
10년 전 조회 1,634