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

· 10년 전 · 1374

<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,394
10년 전 조회 1,398
10년 전 조회 1,326
10년 전 조회 1,231
10년 전 조회 1,366
10년 전 조회 1,219
10년 전 조회 1,586
10년 전 조회 1,291
10년 전 조회 1,296
10년 전 조회 1,280
10년 전 조회 1,306
10년 전 조회 1,377
10년 전 조회 1,278
10년 전 조회 1,298
10년 전 조회 1,502
10년 전 조회 1,291
10년 전 조회 1,405
10년 전 조회 1,367
10년 전 조회 1,398
10년 전 조회 1,534
10년 전 조회 1,373
10년 전 조회 1,360
10년 전 조회 1,357
10년 전 조회 1,462
10년 전 조회 1,359
10년 전 조회 1,311
10년 전 조회 1,337
10년 전 조회 1,353
10년 전 조회 1,411
10년 전 조회 1,332
10년 전 조회 1,546
10년 전 조회 1,702
10년 전 조회 1,617
10년 전 조회 1,372
10년 전 조회 1,363
10년 전 조회 1,324
10년 전 조회 1,311
10년 전 조회 1,432
10년 전 조회 1,338
10년 전 조회 1,306
10년 전 조회 1,363
10년 전 조회 1,700
10년 전 조회 2,177
10년 전 조회 1,739
10년 전 조회 1,539
10년 전 조회 1,407
10년 전 조회 1,377
10년 전 조회 1,390
10년 전 조회 1,353
10년 전 조회 1,375
10년 전 조회 1,387
10년 전 조회 1,560
10년 전 조회 1,443
10년 전 조회 2,179
10년 전 조회 1,734
10년 전 조회 1,460
10년 전 조회 1,562
10년 전 조회 1,780
10년 전 조회 1,465
10년 전 조회 1,659
10년 전 조회 1,495
10년 전 조회 1,612
10년 전 조회 1,449
10년 전 조회 1,407
10년 전 조회 1,411
10년 전 조회 1,455
10년 전 조회 1,449
10년 전 조회 1,477
10년 전 조회 1,515
10년 전 조회 1,481
10년 전 조회 1,634
10년 전 조회 1,619
10년 전 조회 1,415
10년 전 조회 1,728
10년 전 조회 2,051
10년 전 조회 1,520
10년 전 조회 1,767
10년 전 조회 1,728
10년 전 조회 1,574
10년 전 조회 1,553
10년 전 조회 1,509
10년 전 조회 1,614
10년 전 조회 1,357
10년 전 조회 1,433
10년 전 조회 1,657
10년 전 조회 1,479
10년 전 조회 1,455
10년 전 조회 1,424
10년 전 조회 1,448
10년 전 조회 1,466
10년 전 조회 1,456
10년 전 조회 1,478
10년 전 조회 1,424
10년 전 조회 1,597
10년 전 조회 1,429
10년 전 조회 1,431
10년 전 조회 1,538
10년 전 조회 2,250
10년 전 조회 1,500
10년 전 조회 1,465