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

· 10년 전 · 1311

<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,345
10년 전 조회 1,365
10년 전 조회 1,283
10년 전 조회 1,181
10년 전 조회 1,314
10년 전 조회 1,177
10년 전 조회 1,526
10년 전 조회 1,242
10년 전 조회 1,254
10년 전 조회 1,240
10년 전 조회 1,258
10년 전 조회 1,332
10년 전 조회 1,230
10년 전 조회 1,248
10년 전 조회 1,443
10년 전 조회 1,249
10년 전 조회 1,359
10년 전 조회 1,321
10년 전 조회 1,338
10년 전 조회 1,468
10년 전 조회 1,325
10년 전 조회 1,291
10년 전 조회 1,301
10년 전 조회 1,423
10년 전 조회 1,296
10년 전 조회 1,257
10년 전 조회 1,288
10년 전 조회 1,303
10년 전 조회 1,348
10년 전 조회 1,273
10년 전 조회 1,503
10년 전 조회 1,638
10년 전 조회 1,552
10년 전 조회 1,311
10년 전 조회 1,303
10년 전 조회 1,268
10년 전 조회 1,260
10년 전 조회 1,383
10년 전 조회 1,301
10년 전 조회 1,256
10년 전 조회 1,306
10년 전 조회 1,648
10년 전 조회 2,124
10년 전 조회 1,690
10년 전 조회 1,485
10년 전 조회 1,343
10년 전 조회 1,313
10년 전 조회 1,341
10년 전 조회 1,294
10년 전 조회 1,312
10년 전 조회 1,335
10년 전 조회 1,499
10년 전 조회 1,398
10년 전 조회 2,133
10년 전 조회 1,661
10년 전 조회 1,409
10년 전 조회 1,504
10년 전 조회 1,734
10년 전 조회 1,413
10년 전 조회 1,600
10년 전 조회 1,431
10년 전 조회 1,550
10년 전 조회 1,392
10년 전 조회 1,351
10년 전 조회 1,359
10년 전 조회 1,396
10년 전 조회 1,388
10년 전 조회 1,417
10년 전 조회 1,455
10년 전 조회 1,427
10년 전 조회 1,578
10년 전 조회 1,564
10년 전 조회 1,357
10년 전 조회 1,664
10년 전 조회 2,005
10년 전 조회 1,462
10년 전 조회 1,706
10년 전 조회 1,670
10년 전 조회 1,530
10년 전 조회 1,483
10년 전 조회 1,449
10년 전 조회 1,555
10년 전 조회 1,294
10년 전 조회 1,381
10년 전 조회 1,603
10년 전 조회 1,427
10년 전 조회 1,412
10년 전 조회 1,365
10년 전 조회 1,403
10년 전 조회 1,397
10년 전 조회 1,397
10년 전 조회 1,427
10년 전 조회 1,378
10년 전 조회 1,541
10년 전 조회 1,364
10년 전 조회 1,374
10년 전 조회 1,472
10년 전 조회 2,195
10년 전 조회 1,434
10년 전 조회 1,415