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

· 10년 전 · 1418

<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,439
10년 전 조회 1,447
10년 전 조회 1,376
10년 전 조회 1,273
10년 전 조회 1,407
10년 전 조회 1,260
10년 전 조회 1,642
10년 전 조회 1,340
10년 전 조회 1,336
10년 전 조회 1,330
10년 전 조회 1,354
10년 전 조회 1,415
10년 전 조회 1,319
10년 전 조회 1,353
10년 전 조회 1,547
10년 전 조회 1,334
10년 전 조회 1,441
10년 전 조회 1,417
10년 전 조회 1,438
10년 전 조회 1,585
10년 전 조회 1,417
10년 전 조회 1,422
10년 전 조회 1,405
10년 전 조회 1,515
10년 전 조회 1,420
10년 전 조회 1,372
10년 전 조회 1,386
10년 전 조회 1,407
10년 전 조회 1,452
10년 전 조회 1,382
10년 전 조회 1,595
10년 전 조회 1,749
10년 전 조회 1,659
10년 전 조회 1,424
10년 전 조회 1,422
10년 전 조회 1,377
10년 전 조회 1,368
10년 전 조회 1,475
10년 전 조회 1,392
10년 전 조회 1,342
10년 전 조회 1,409
10년 전 조회 1,751
10년 전 조회 2,222
10년 전 조회 1,780
10년 전 조회 1,580
10년 전 조회 1,458
10년 전 조회 1,425
10년 전 조회 1,440
10년 전 조회 1,400
10년 전 조회 1,419
10년 전 조회 1,435
10년 전 조회 1,603
10년 전 조회 1,499
10년 전 조회 2,238
10년 전 조회 1,778
10년 전 조회 1,521
10년 전 조회 1,610
10년 전 조회 1,837
10년 전 조회 1,509
10년 전 조회 1,718
10년 전 조회 1,551
10년 전 조회 1,671
10년 전 조회 1,507
10년 전 조회 1,465
10년 전 조회 1,460
10년 전 조회 1,512
10년 전 조회 1,494
10년 전 조회 1,542
10년 전 조회 1,556
10년 전 조회 1,537
10년 전 조회 1,678
10년 전 조회 1,681
10년 전 조회 1,470
10년 전 조회 1,784
10년 전 조회 2,106
10년 전 조회 1,564
10년 전 조회 1,818
10년 전 조회 1,788
10년 전 조회 1,634
10년 전 조회 1,607
10년 전 조회 1,550
10년 전 조회 1,660
10년 전 조회 1,412
10년 전 조회 1,486
10년 전 조회 1,702
10년 전 조회 1,525
10년 전 조회 1,485
10년 전 조회 1,474
10년 전 조회 1,492
10년 전 조회 1,511
10년 전 조회 1,496
10년 전 조회 1,526
10년 전 조회 1,484
10년 전 조회 1,647
10년 전 조회 1,466
10년 전 조회 1,486
10년 전 조회 1,592
10년 전 조회 2,290
10년 전 조회 1,546
10년 전 조회 1,520