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

· 10년 전 · 1357

<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,382
10년 전 조회 1,389
10년 전 조회 1,313
10년 전 조회 1,213
10년 전 조회 1,354
10년 전 조회 1,209
10년 전 조회 1,565
10년 전 조회 1,274
10년 전 조회 1,283
10년 전 조회 1,268
10년 전 조회 1,293
10년 전 조회 1,360
10년 전 조회 1,264
10년 전 조회 1,287
10년 전 조회 1,485
10년 전 조회 1,278
10년 전 조회 1,390
10년 전 조회 1,356
10년 전 조회 1,381
10년 전 조회 1,515
10년 전 조회 1,357
10년 전 조회 1,348
10년 전 조회 1,337
10년 전 조회 1,446
10년 전 조회 1,340
10년 전 조회 1,296
10년 전 조회 1,326
10년 전 조회 1,339
10년 전 조회 1,390
10년 전 조회 1,317
10년 전 조회 1,530
10년 전 조회 1,687
10년 전 조회 1,592
10년 전 조회 1,352
10년 전 조회 1,350
10년 전 조회 1,311
10년 전 조회 1,298
10년 전 조회 1,416
10년 전 조회 1,328
10년 전 조회 1,292
10년 전 조회 1,343
10년 전 조회 1,687
10년 전 조회 2,158
10년 전 조회 1,726
10년 전 조회 1,521
10년 전 조회 1,384
10년 전 조회 1,352
10년 전 조회 1,378
10년 전 조회 1,335
10년 전 조회 1,358
10년 전 조회 1,371
10년 전 조회 1,541
10년 전 조회 1,428
10년 전 조회 2,167
10년 전 조회 1,711
10년 전 조회 1,448
10년 전 조회 1,541
10년 전 조회 1,770
10년 전 조회 1,455
10년 전 조회 1,639
10년 전 조회 1,475
10년 전 조회 1,594
10년 전 조회 1,433
10년 전 조회 1,393
10년 전 조회 1,396
10년 전 조회 1,441
10년 전 조회 1,436
10년 전 조회 1,462
10년 전 조회 1,501
10년 전 조회 1,469
10년 전 조회 1,623
10년 전 조회 1,605
10년 전 조회 1,401
10년 전 조회 1,709
10년 전 조회 2,040
10년 전 조회 1,503
10년 전 조회 1,744
10년 전 조회 1,713
10년 전 조회 1,561
10년 전 조회 1,529
10년 전 조회 1,491
10년 전 조회 1,594
10년 전 조회 1,332
10년 전 조회 1,418
10년 전 조회 1,634
10년 전 조회 1,467
10년 전 조회 1,444
10년 전 조회 1,411
10년 전 조회 1,438
10년 전 조회 1,445
10년 전 조회 1,441
10년 전 조회 1,469
10년 전 조회 1,412
10년 전 조회 1,580
10년 전 조회 1,413
10년 전 조회 1,415
10년 전 조회 1,523
10년 전 조회 2,233
10년 전 조회 1,484
10년 전 조회 1,454