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

· 10년 전 · 1491

<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,498
10년 전 조회 1,528
10년 전 조회 1,438
10년 전 조회 1,349
10년 전 조회 1,468
10년 전 조회 1,350
10년 전 조회 1,716
10년 전 조회 1,407
10년 전 조회 1,416
10년 전 조회 1,402
10년 전 조회 1,431
10년 전 조회 1,494
10년 전 조회 1,389
10년 전 조회 1,427
10년 전 조회 1,611
10년 전 조회 1,402
10년 전 조회 1,503
10년 전 조회 1,488
10년 전 조회 1,505
10년 전 조회 1,658
10년 전 조회 1,498
10년 전 조회 1,504
10년 전 조회 1,474
10년 전 조회 1,588
10년 전 조회 1,492
10년 전 조회 1,459
10년 전 조회 1,455
10년 전 조회 1,479
10년 전 조회 1,529
10년 전 조회 1,464
10년 전 조회 1,650
10년 전 조회 1,807
10년 전 조회 1,736
10년 전 조회 1,495
10년 전 조회 1,498
10년 전 조회 1,451
10년 전 조회 1,443
10년 전 조회 1,540
10년 전 조회 1,455
10년 전 조회 1,415
10년 전 조회 1,473
10년 전 조회 1,818
10년 전 조회 2,277
10년 전 조회 1,848
10년 전 조회 1,662
10년 전 조회 1,523
10년 전 조회 1,489
10년 전 조회 1,508
10년 전 조회 1,474
10년 전 조회 1,492
10년 전 조회 1,496
10년 전 조회 1,664
10년 전 조회 1,567
10년 전 조회 2,319
10년 전 조회 1,833
10년 전 조회 1,588
10년 전 조회 1,690
10년 전 조회 1,904
10년 전 조회 1,589
10년 전 조회 1,800
10년 전 조회 1,639
10년 전 조회 1,750
10년 전 조회 1,586
10년 전 조회 1,540
10년 전 조회 1,533
10년 전 조회 1,586
10년 전 조회 1,561
10년 전 조회 1,611
10년 전 조회 1,622
10년 전 조회 1,608
10년 전 조회 1,758
10년 전 조회 1,761
10년 전 조회 1,557
10년 전 조회 1,850
10년 전 조회 2,181
10년 전 조회 1,641
10년 전 조회 1,898
10년 전 조회 1,860
10년 전 조회 1,713
10년 전 조회 1,687
10년 전 조회 1,635
10년 전 조회 1,730
10년 전 조회 1,480
10년 전 조회 1,573
10년 전 조회 1,779
10년 전 조회 1,601
10년 전 조회 1,558
10년 전 조회 1,554
10년 전 조회 1,568
10년 전 조회 1,594
10년 전 조회 1,584
10년 전 조회 1,600
10년 전 조회 1,558
10년 전 조회 1,729
10년 전 조회 1,524
10년 전 조회 1,552
10년 전 조회 1,668
10년 전 조회 2,342
10년 전 조회 1,614
10년 전 조회 1,600