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

· 10년 전 · 1302

<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,342
10년 전 조회 1,360
10년 전 조회 1,277
10년 전 조회 1,177
10년 전 조회 1,312
10년 전 조회 1,173
10년 전 조회 1,515
10년 전 조회 1,236
10년 전 조회 1,247
10년 전 조회 1,230
10년 전 조회 1,254
10년 전 조회 1,323
10년 전 조회 1,221
10년 전 조회 1,243
10년 전 조회 1,436
10년 전 조회 1,244
10년 전 조회 1,352
10년 전 조회 1,312
10년 전 조회 1,331
10년 전 조회 1,459
10년 전 조회 1,319
10년 전 조회 1,280
10년 전 조회 1,293
10년 전 조회 1,413
10년 전 조회 1,290
10년 전 조회 1,246
10년 전 조회 1,278
10년 전 조회 1,287
10년 전 조회 1,337
10년 전 조회 1,267
10년 전 조회 1,495
10년 전 조회 1,629
10년 전 조회 1,540
10년 전 조회 1,303
10년 전 조회 1,294
10년 전 조회 1,261
10년 전 조회 1,252
10년 전 조회 1,378
10년 전 조회 1,290
10년 전 조회 1,245
10년 전 조회 1,296
10년 전 조회 1,639
10년 전 조회 2,115
10년 전 조회 1,680
10년 전 조회 1,477
10년 전 조회 1,328
10년 전 조회 1,310
10년 전 조회 1,332
10년 전 조회 1,285
10년 전 조회 1,303
10년 전 조회 1,329
10년 전 조회 1,490
10년 전 조회 1,389
10년 전 조회 2,119
10년 전 조회 1,655
10년 전 조회 1,402
10년 전 조회 1,491
10년 전 조회 1,725
10년 전 조회 1,404
10년 전 조회 1,591
10년 전 조회 1,423
10년 전 조회 1,546
10년 전 조회 1,382
10년 전 조회 1,345
10년 전 조회 1,354
10년 전 조회 1,388
10년 전 조회 1,380
10년 전 조회 1,413
10년 전 조회 1,448
10년 전 조회 1,414
10년 전 조회 1,569
10년 전 조회 1,554
10년 전 조회 1,348
10년 전 조회 1,658
10년 전 조회 1,999
10년 전 조회 1,455
10년 전 조회 1,702
10년 전 조회 1,663
10년 전 조회 1,525
10년 전 조회 1,473
10년 전 조회 1,437
10년 전 조회 1,546
10년 전 조회 1,281
10년 전 조회 1,373
10년 전 조회 1,595
10년 전 조회 1,416
10년 전 조회 1,403
10년 전 조회 1,358
10년 전 조회 1,397
10년 전 조회 1,383
10년 전 조회 1,386
10년 전 조회 1,417
10년 전 조회 1,368
10년 전 조회 1,528
10년 전 조회 1,350
10년 전 조회 1,365
10년 전 조회 1,466
10년 전 조회 2,189
10년 전 조회 1,423
10년 전 조회 1,409