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

· 10년 전 · 1572

<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,593
10년 전 조회 1,621
10년 전 조회 1,517
10년 전 조회 1,442
10년 전 조회 1,555
10년 전 조회 1,450
10년 전 조회 1,811
10년 전 조회 1,508
10년 전 조회 1,523
10년 전 조회 1,509
10년 전 조회 1,530
10년 전 조회 1,601
10년 전 조회 1,488
10년 전 조회 1,525
10년 전 조회 1,711
10년 전 조회 1,515
10년 전 조회 1,618
10년 전 조회 1,596
10년 전 조회 1,584
10년 전 조회 1,735
10년 전 조회 1,592
10년 전 조회 1,599
10년 전 조회 1,580
10년 전 조회 1,683
10년 전 조회 1,592
10년 전 조회 1,554
10년 전 조회 1,555
10년 전 조회 1,579
10년 전 조회 1,619
10년 전 조회 1,559
10년 전 조회 1,757
10년 전 조회 1,902
10년 전 조회 1,834
10년 전 조회 1,589
10년 전 조회 1,587
10년 전 조회 1,532
10년 전 조회 1,539
10년 전 조회 1,636
10년 전 조회 1,545
10년 전 조회 1,510
10년 전 조회 1,558
10년 전 조회 1,909
10년 전 조회 2,375
10년 전 조회 1,945
10년 전 조회 1,760
10년 전 조회 1,602
10년 전 조회 1,579
10년 전 조회 1,600
10년 전 조회 1,563
10년 전 조회 1,573
10년 전 조회 1,572
10년 전 조회 1,749
10년 전 조회 1,653
10년 전 조회 2,395
10년 전 조회 1,919
10년 전 조회 1,679
10년 전 조회 1,772
10년 전 조회 1,976
10년 전 조회 1,664
10년 전 조회 1,891
10년 전 조회 1,719
10년 전 조회 1,823
10년 전 조회 1,658
10년 전 조회 1,618
10년 전 조회 1,617
10년 전 조회 1,663
10년 전 조회 1,638
10년 전 조회 1,695
10년 전 조회 1,704
10년 전 조회 1,695
10년 전 조회 1,853
10년 전 조회 1,847
10년 전 조회 1,641
10년 전 조회 1,940
10년 전 조회 2,250
10년 전 조회 1,719
10년 전 조회 1,979
10년 전 조회 1,943
10년 전 조회 1,792
10년 전 조회 1,775
10년 전 조회 1,711
10년 전 조회 1,818
10년 전 조회 1,576
10년 전 조회 1,659
10년 전 조회 1,872
10년 전 조회 1,690
10년 전 조회 1,642
10년 전 조회 1,643
10년 전 조회 1,661
10년 전 조회 1,687
10년 전 조회 1,665
10년 전 조회 1,679
10년 전 조회 1,638
10년 전 조회 1,808
10년 전 조회 1,617
10년 전 조회 1,639
10년 전 조회 1,748
10년 전 조회 2,429
10년 전 조회 1,696
10년 전 조회 1,666