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

· 10년 전 · 1404

<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,424
10년 전 조회 1,422
10년 전 조회 1,359
10년 전 조회 1,253
10년 전 조회 1,397
10년 전 조회 1,245
10년 전 조회 1,624
10년 전 조회 1,320
10년 전 조회 1,316
10년 전 조회 1,310
10년 전 조회 1,332
10년 전 조회 1,397
10년 전 조회 1,303
10년 전 조회 1,332
10년 전 조회 1,525
10년 전 조회 1,316
10년 전 조회 1,427
10년 전 조회 1,400
10년 전 조회 1,422
10년 전 조회 1,565
10년 전 조회 1,405
10년 전 조회 1,401
10년 전 조회 1,392
10년 전 조회 1,498
10년 전 조회 1,391
10년 전 조회 1,353
10년 전 조회 1,364
10년 전 조회 1,383
10년 전 조회 1,435
10년 전 조회 1,364
10년 전 조회 1,579
10년 전 조회 1,727
10년 전 조회 1,638
10년 전 조회 1,399
10년 전 조회 1,397
10년 전 조회 1,357
10년 전 조회 1,346
10년 전 조회 1,454
10년 전 조회 1,367
10년 전 조회 1,326
10년 전 조회 1,391
10년 전 조회 1,731
10년 전 조회 2,205
10년 전 조회 1,766
10년 전 조회 1,566
10년 전 조회 1,435
10년 전 조회 1,408
10년 전 조회 1,424
10년 전 조회 1,378
10년 전 조회 1,405
10년 전 조회 1,417
10년 전 조회 1,587
10년 전 조회 1,474
10년 전 조회 2,217
10년 전 조회 1,764
10년 전 조회 1,496
10년 전 조회 1,590
10년 전 조회 1,818
10년 전 조회 1,491
10년 전 조회 1,697
10년 전 조회 1,531
10년 전 조회 1,652
10년 전 조회 1,486
10년 전 조회 1,448
10년 전 조회 1,441
10년 전 조회 1,485
10년 전 조회 1,478
10년 전 조회 1,525
10년 전 조회 1,543
10년 전 조회 1,513
10년 전 조회 1,657
10년 전 조회 1,655
10년 전 조회 1,448
10년 전 조회 1,762
10년 전 조회 2,088
10년 전 조회 1,550
10년 전 조회 1,798
10년 전 조회 1,767
10년 전 조회 1,610
10년 전 조회 1,594
10년 전 조회 1,535
10년 전 조회 1,645
10년 전 조회 1,395
10년 전 조회 1,465
10년 전 조회 1,687
10년 전 조회 1,508
10년 전 조회 1,475
10년 전 조회 1,459
10년 전 조회 1,477
10년 전 조회 1,494
10년 전 조회 1,486
10년 전 조회 1,510
10년 전 조회 1,464
10년 전 조회 1,630
10년 전 조회 1,452
10년 전 조회 1,468
10년 전 조회 1,581
10년 전 조회 2,275
10년 전 조회 1,528
10년 전 조회 1,501