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

· 10년 전 · 1317

<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,351
10년 전 조회 1,367
10년 전 조회 1,288
10년 전 조회 1,186
10년 전 조회 1,319
10년 전 조회 1,180
10년 전 조회 1,535
10년 전 조회 1,245
10년 전 조회 1,257
10년 전 조회 1,248
10년 전 조회 1,266
10년 전 조회 1,335
10년 전 조회 1,233
10년 전 조회 1,254
10년 전 조회 1,452
10년 전 조회 1,251
10년 전 조회 1,363
10년 전 조회 1,325
10년 전 조회 1,346
10년 전 조회 1,474
10년 전 조회 1,328
10년 전 조회 1,296
10년 전 조회 1,307
10년 전 조회 1,427
10년 전 조회 1,298
10년 전 조회 1,262
10년 전 조회 1,292
10년 전 조회 1,306
10년 전 조회 1,353
10년 전 조회 1,277
10년 전 조회 1,510
10년 전 조회 1,642
10년 전 조회 1,559
10년 전 조회 1,317
10년 전 조회 1,306
10년 전 조회 1,274
10년 전 조회 1,264
10년 전 조회 1,388
10년 전 조회 1,304
10년 전 조회 1,259
10년 전 조회 1,309
10년 전 조회 1,651
10년 전 조회 2,132
10년 전 조회 1,694
10년 전 조회 1,493
10년 전 조회 1,352
10년 전 조회 1,320
10년 전 조회 1,341
10년 전 조회 1,298
10년 전 조회 1,318
10년 전 조회 1,342
10년 전 조회 1,505
10년 전 조회 1,403
10년 전 조회 2,139
10년 전 조회 1,667
10년 전 조회 1,412
10년 전 조회 1,509
10년 전 조회 1,738
10년 전 조회 1,420
10년 전 조회 1,606
10년 전 조회 1,436
10년 전 조회 1,555
10년 전 조회 1,395
10년 전 조회 1,354
10년 전 조회 1,361
10년 전 조회 1,404
10년 전 조회 1,395
10년 전 조회 1,422
10년 전 조회 1,463
10년 전 조회 1,431
10년 전 조회 1,579
10년 전 조회 1,570
10년 전 조회 1,365
10년 전 조회 1,673
10년 전 조회 2,012
10년 전 조회 1,468
10년 전 조회 1,712
10년 전 조회 1,672
10년 전 조회 1,537
10년 전 조회 1,492
10년 전 조회 1,454
10년 전 조회 1,560
10년 전 조회 1,298
10년 전 조회 1,386
10년 전 조회 1,607
10년 전 조회 1,435
10년 전 조회 1,417
10년 전 조회 1,375
10년 전 조회 1,409
10년 전 조회 1,403
10년 전 조회 1,404
10년 전 조회 1,431
10년 전 조회 1,384
10년 전 조회 1,549
10년 전 조회 1,368
10년 전 조회 1,380
10년 전 조회 1,481
10년 전 조회 2,204
10년 전 조회 1,443
10년 전 조회 1,418