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

· 10년 전 · 1438

<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,457
10년 전 조회 1,470
10년 전 조회 1,400
10년 전 조회 1,294
10년 전 조회 1,423
10년 전 조회 1,279
10년 전 조회 1,661
10년 전 조회 1,356
10년 전 조회 1,360
10년 전 조회 1,354
10년 전 조회 1,373
10년 전 조회 1,433
10년 전 조회 1,339
10년 전 조회 1,374
10년 전 조회 1,563
10년 전 조회 1,350
10년 전 조회 1,456
10년 전 조회 1,438
10년 전 조회 1,462
10년 전 조회 1,606
10년 전 조회 1,437
10년 전 조회 1,435
10년 전 조회 1,427
10년 전 조회 1,531
10년 전 조회 1,439
10년 전 조회 1,398
10년 전 조회 1,408
10년 전 조회 1,429
10년 전 조회 1,465
10년 전 조회 1,402
10년 전 조회 1,611
10년 전 조회 1,766
10년 전 조회 1,674
10년 전 조회 1,440
10년 전 조회 1,441
10년 전 조회 1,395
10년 전 조회 1,387
10년 전 조회 1,491
10년 전 조회 1,409
10년 전 조회 1,358
10년 전 조회 1,418
10년 전 조회 1,771
10년 전 조회 2,236
10년 전 조회 1,806
10년 전 조회 1,600
10년 전 조회 1,479
10년 전 조회 1,443
10년 전 조회 1,460
10년 전 조회 1,421
10년 전 조회 1,439
10년 전 조회 1,449
10년 전 조회 1,616
10년 전 조회 1,514
10년 전 조회 2,263
10년 전 조회 1,794
10년 전 조회 1,540
10년 전 조회 1,633
10년 전 조회 1,851
10년 전 조회 1,535
10년 전 조회 1,738
10년 전 조회 1,567
10년 전 조회 1,689
10년 전 조회 1,529
10년 전 조회 1,480
10년 전 조회 1,477
10년 전 조회 1,534
10년 전 조회 1,510
10년 전 조회 1,562
10년 전 조회 1,575
10년 전 조회 1,559
10년 전 조회 1,697
10년 전 조회 1,697
10년 전 조회 1,494
10년 전 조회 1,799
10년 전 조회 2,119
10년 전 조회 1,584
10년 전 조회 1,839
10년 전 조회 1,802
10년 전 조회 1,654
10년 전 조회 1,625
10년 전 조회 1,579
10년 전 조회 1,678
10년 전 조회 1,431
10년 전 조회 1,508
10년 전 조회 1,726
10년 전 조회 1,548
10년 전 조회 1,499
10년 전 조회 1,491
10년 전 조회 1,511
10년 전 조회 1,529
10년 전 조회 1,514
10년 전 조회 1,546
10년 전 조회 1,505
10년 전 조회 1,659
10년 전 조회 1,484
10년 전 조회 1,500
10년 전 조회 1,611
10년 전 조회 2,310
10년 전 조회 1,560
10년 전 조회 1,541