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

· 10년 전 · 1411

<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,434
10년 전 조회 1,440
10년 전 조회 1,367
10년 전 조회 1,261
10년 전 조회 1,402
10년 전 조회 1,257
10년 전 조회 1,637
10년 전 조회 1,328
10년 전 조회 1,329
10년 전 조회 1,322
10년 전 조회 1,348
10년 전 조회 1,407
10년 전 조회 1,310
10년 전 조회 1,345
10년 전 조회 1,536
10년 전 조회 1,329
10년 전 조회 1,434
10년 전 조회 1,410
10년 전 조회 1,430
10년 전 조회 1,579
10년 전 조회 1,414
10년 전 조회 1,413
10년 전 조회 1,399
10년 전 조회 1,509
10년 전 조회 1,405
10년 전 조회 1,364
10년 전 조회 1,381
10년 전 조회 1,398
10년 전 조회 1,441
10년 전 조회 1,372
10년 전 조회 1,593
10년 전 조회 1,742
10년 전 조회 1,649
10년 전 조회 1,416
10년 전 조회 1,410
10년 전 조회 1,366
10년 전 조회 1,359
10년 전 조회 1,465
10년 전 조회 1,376
10년 전 조회 1,334
10년 전 조회 1,399
10년 전 조회 1,738
10년 전 조회 2,214
10년 전 조회 1,772
10년 전 조회 1,575
10년 전 조회 1,448
10년 전 조회 1,415
10년 전 조회 1,432
10년 전 조회 1,393
10년 전 조회 1,412
10년 전 조회 1,425
10년 전 조회 1,597
10년 전 조회 1,486
10년 전 조회 2,230
10년 전 조회 1,770
10년 전 조회 1,510
10년 전 조회 1,604
10년 전 조회 1,828
10년 전 조회 1,504
10년 전 조회 1,707
10년 전 조회 1,542
10년 전 조회 1,659
10년 전 조회 1,499
10년 전 조회 1,458
10년 전 조회 1,451
10년 전 조회 1,500
10년 전 조회 1,485
10년 전 조회 1,533
10년 전 조회 1,552
10년 전 조회 1,530
10년 전 조회 1,668
10년 전 조회 1,669
10년 전 조회 1,462
10년 전 조회 1,778
10년 전 조회 2,098
10년 전 조회 1,560
10년 전 조회 1,811
10년 전 조회 1,778
10년 전 조회 1,625
10년 전 조회 1,600
10년 전 조회 1,545
10년 전 조회 1,655
10년 전 조회 1,404
10년 전 조회 1,477
10년 전 조회 1,695
10년 전 조회 1,520
10년 전 조회 1,481
10년 전 조회 1,464
10년 전 조회 1,490
10년 전 조회 1,501
10년 전 조회 1,492
10년 전 조회 1,519
10년 전 조회 1,477
10년 전 조회 1,638
10년 전 조회 1,458
10년 전 조회 1,481
10년 전 조회 1,586
10년 전 조회 2,283
10년 전 조회 1,540
10년 전 조회 1,509