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

· 10년 전 · 1348

<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,374
10년 전 조회 1,384
10년 전 조회 1,308
10년 전 조회 1,210
10년 전 조회 1,349
10년 전 조회 1,197
10년 전 조회 1,561
10년 전 조회 1,268
10년 전 조회 1,278
10년 전 조회 1,264
10년 전 조회 1,285
10년 전 조회 1,356
10년 전 조회 1,256
10년 전 조회 1,284
10년 전 조회 1,481
10년 전 조회 1,275
10년 전 조회 1,384
10년 전 조회 1,352
10년 전 조회 1,373
10년 전 조회 1,508
10년 전 조회 1,352
10년 전 조회 1,336
10년 전 조회 1,330
10년 전 조회 1,442
10년 전 조회 1,332
10년 전 조회 1,286
10년 전 조회 1,322
10년 전 조회 1,333
10년 전 조회 1,385
10년 전 조회 1,308
10년 전 조회 1,527
10년 전 조회 1,677
10년 전 조회 1,586
10년 전 조회 1,342
10년 전 조회 1,338
10년 전 조회 1,306
10년 전 조회 1,293
10년 전 조회 1,408
10년 전 조회 1,324
10년 전 조회 1,283
10년 전 조회 1,334
10년 전 조회 1,676
10년 전 조회 2,153
10년 전 조회 1,719
10년 전 조회 1,517
10년 전 조회 1,377
10년 전 조회 1,343
10년 전 조회 1,371
10년 전 조회 1,328
10년 전 조회 1,349
10년 전 조회 1,367
10년 전 조회 1,534
10년 전 조회 1,423
10년 전 조회 2,162
10년 전 조회 1,701
10년 전 조회 1,443
10년 전 조회 1,533
10년 전 조회 1,764
10년 전 조회 1,447
10년 전 조회 1,632
10년 전 조회 1,466
10년 전 조회 1,583
10년 전 조회 1,426
10년 전 조회 1,388
10년 전 조회 1,390
10년 전 조회 1,434
10년 전 조회 1,428
10년 전 조회 1,456
10년 전 조회 1,492
10년 전 조회 1,461
10년 전 조회 1,613
10년 전 조회 1,596
10년 전 조회 1,394
10년 전 조회 1,705
10년 전 조회 2,035
10년 전 조회 1,501
10년 전 조회 1,737
10년 전 조회 1,706
10년 전 조회 1,554
10년 전 조회 1,522
10년 전 조회 1,487
10년 전 조회 1,591
10년 전 조회 1,329
10년 전 조회 1,414
10년 전 조회 1,628
10년 전 조회 1,459
10년 전 조회 1,439
10년 전 조회 1,406
10년 전 조회 1,433
10년 전 조회 1,439
10년 전 조회 1,433
10년 전 조회 1,464
10년 전 조회 1,408
10년 전 조회 1,575
10년 전 조회 1,405
10년 전 조회 1,406
10년 전 조회 1,515
10년 전 조회 2,229
10년 전 조회 1,477
10년 전 조회 1,446