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

· 10년 전 · 1292

<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,349
10년 전 조회 1,274
10년 전 조회 1,170
10년 전 조회 1,302
10년 전 조회 1,167
10년 전 조회 1,510
10년 전 조회 1,225
10년 전 조회 1,238
10년 전 조회 1,222
10년 전 조회 1,247
10년 전 조회 1,308
10년 전 조회 1,212
10년 전 조회 1,231
10년 전 조회 1,429
10년 전 조회 1,236
10년 전 조회 1,343
10년 전 조회 1,304
10년 전 조회 1,323
10년 전 조회 1,447
10년 전 조회 1,308
10년 전 조회 1,273
10년 전 조회 1,285
10년 전 조회 1,402
10년 전 조회 1,284
10년 전 조회 1,238
10년 전 조회 1,270
10년 전 조회 1,278
10년 전 조회 1,328
10년 전 조회 1,257
10년 전 조회 1,485
10년 전 조회 1,626
10년 전 조회 1,528
10년 전 조회 1,294
10년 전 조회 1,283
10년 전 조회 1,251
10년 전 조회 1,242
10년 전 조회 1,367
10년 전 조회 1,286
10년 전 조회 1,234
10년 전 조회 1,285
10년 전 조회 1,634
10년 전 조회 2,107
10년 전 조회 1,673
10년 전 조회 1,503
10년 전 조회 1,472
10년 전 조회 1,314
10년 전 조회 1,300
10년 전 조회 1,320
10년 전 조회 1,278
10년 전 조회 1,293
10년 전 조회 1,319
10년 전 조회 1,483
10년 전 조회 1,380
10년 전 조회 2,112
10년 전 조회 1,645
10년 전 조회 1,394
10년 전 조회 1,481
10년 전 조회 1,718
10년 전 조회 1,399
10년 전 조회 1,585
10년 전 조회 1,410
10년 전 조회 1,534
10년 전 조회 1,376
10년 전 조회 1,339
10년 전 조회 1,349
10년 전 조회 1,382
10년 전 조회 1,375
10년 전 조회 1,407
10년 전 조회 1,436
10년 전 조회 1,405
10년 전 조회 1,561
10년 전 조회 1,548
10년 전 조회 1,338
10년 전 조회 1,642
10년 전 조회 1,989
10년 전 조회 1,443
10년 전 조회 1,694
10년 전 조회 1,658
10년 전 조회 1,516
10년 전 조회 1,462
10년 전 조회 1,430
10년 전 조회 1,537
10년 전 조회 1,271
10년 전 조회 1,362
10년 전 조회 1,589
10년 전 조회 1,404
10년 전 조회 1,400
10년 전 조회 1,348
10년 전 조회 1,391
10년 전 조회 1,373
10년 전 조회 1,380
10년 전 조회 1,408
10년 전 조회 1,353
10년 전 조회 1,517
10년 전 조회 1,339
10년 전 조회 1,354
10년 전 조회 1,444
10년 전 조회 2,174
10년 전 조회 1,416
10년 전 조회 1,397