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

· 10년 전 · 1517

<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,526
10년 전 조회 1,556
10년 전 조회 1,465
10년 전 조회 1,379
10년 전 조회 1,493
10년 전 조회 1,384
10년 전 조회 1,747
10년 전 조회 1,445
10년 전 조회 1,458
10년 전 조회 1,435
10년 전 조회 1,463
10년 전 조회 1,529
10년 전 조회 1,419
10년 전 조회 1,458
10년 전 조회 1,646
10년 전 조회 1,439
10년 전 조회 1,538
10년 전 조회 1,523
10년 전 조회 1,531
10년 전 조회 1,685
10년 전 조회 1,527
10년 전 조회 1,534
10년 전 조회 1,508
10년 전 조회 1,626
10년 전 조회 1,533
10년 전 조회 1,488
10년 전 조회 1,484
10년 전 조회 1,525
10년 전 조회 1,558
10년 전 조회 1,499
10년 전 조회 1,687
10년 전 조회 1,832
10년 전 조회 1,759
10년 전 조회 1,533
10년 전 조회 1,535
10년 전 조회 1,486
10년 전 조회 1,473
10년 전 조회 1,570
10년 전 조회 1,482
10년 전 조회 1,450
10년 전 조회 1,512
10년 전 조회 1,848
10년 전 조회 2,304
10년 전 조회 1,878
10년 전 조회 1,699
10년 전 조회 1,554
10년 전 조회 1,510
10년 전 조회 1,537
10년 전 조회 1,513
10년 전 조회 1,518
10년 전 조회 1,518
10년 전 조회 1,692
10년 전 조회 1,597
10년 전 조회 2,347
10년 전 조회 1,862
10년 전 조회 1,627
10년 전 조회 1,712
10년 전 조회 1,923
10년 전 조회 1,616
10년 전 조회 1,837
10년 전 조회 1,664
10년 전 조회 1,779
10년 전 조회 1,611
10년 전 조회 1,573
10년 전 조회 1,564
10년 전 조회 1,608
10년 전 조회 1,588
10년 전 조회 1,636
10년 전 조회 1,653
10년 전 조회 1,631
10년 전 조회 1,784
10년 전 조회 1,782
10년 전 조회 1,579
10년 전 조회 1,877
10년 전 조회 2,213
10년 전 조회 1,665
10년 전 조회 1,934
10년 전 조회 1,896
10년 전 조회 1,741
10년 전 조회 1,714
10년 전 조회 1,657
10년 전 조회 1,759
10년 전 조회 1,513
10년 전 조회 1,600
10년 전 조회 1,815
10년 전 조회 1,638
10년 전 조회 1,581
10년 전 조회 1,588
10년 전 조회 1,597
10년 전 조회 1,628
10년 전 조회 1,612
10년 전 조회 1,625
10년 전 조회 1,579
10년 전 조회 1,761
10년 전 조회 1,559
10년 전 조회 1,585
10년 전 조회 1,698
10년 전 조회 2,372
10년 전 조회 1,640
10년 전 조회 1,622