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

· 10년 전 · 1562

<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,578
10년 전 조회 1,609
10년 전 조회 1,505
10년 전 조회 1,429
10년 전 조회 1,545
10년 전 조회 1,434
10년 전 조회 1,793
10년 전 조회 1,490
10년 전 조회 1,512
10년 전 조회 1,492
10년 전 조회 1,514
10년 전 조회 1,582
10년 전 조회 1,473
10년 전 조회 1,513
10년 전 조회 1,693
10년 전 조회 1,497
10년 전 조회 1,602
10년 전 조회 1,580
10년 전 조회 1,577
10년 전 조회 1,721
10년 전 조회 1,579
10년 전 조회 1,582
10년 전 조회 1,557
10년 전 조회 1,665
10년 전 조회 1,577
10년 전 조회 1,541
10년 전 조회 1,543
10년 전 조회 1,568
10년 전 조회 1,603
10년 전 조회 1,543
10년 전 조회 1,737
10년 전 조회 1,887
10년 전 조회 1,815
10년 전 조회 1,584
10년 전 조회 1,574
10년 전 조회 1,519
10년 전 조회 1,522
10년 전 조회 1,620
10년 전 조회 1,528
10년 전 조회 1,496
10년 전 조회 1,545
10년 전 조회 1,895
10년 전 조회 2,353
10년 전 조회 1,933
10년 전 조회 1,742
10년 전 조회 1,591
10년 전 조회 1,563
10년 전 조회 1,586
10년 전 조회 1,552
10년 전 조회 1,563
10년 전 조회 1,563
10년 전 조회 1,732
10년 전 조회 1,638
10년 전 조회 2,387
10년 전 조회 1,907
10년 전 조회 1,665
10년 전 조회 1,752
10년 전 조회 1,968
10년 전 조회 1,653
10년 전 조회 1,881
10년 전 조회 1,706
10년 전 조회 1,812
10년 전 조회 1,648
10년 전 조회 1,607
10년 전 조회 1,605
10년 전 조회 1,650
10년 전 조회 1,626
10년 전 조회 1,686
10년 전 조회 1,696
10년 전 조회 1,681
10년 전 조회 1,834
10년 전 조회 1,838
10년 전 조회 1,630
10년 전 조회 1,929
10년 전 조회 2,240
10년 전 조회 1,710
10년 전 조회 1,974
10년 전 조회 1,932
10년 전 조회 1,782
10년 전 조회 1,759
10년 전 조회 1,701
10년 전 조회 1,806
10년 전 조회 1,563
10년 전 조회 1,641
10년 전 조회 1,857
10년 전 조회 1,678
10년 전 조회 1,629
10년 전 조회 1,630
10년 전 조회 1,643
10년 전 조회 1,671
10년 전 조회 1,653
10년 전 조회 1,667
10년 전 조회 1,629
10년 전 조회 1,797
10년 전 조회 1,606
10년 전 조회 1,628
10년 전 조회 1,735
10년 전 조회 2,416
10년 전 조회 1,682
10년 전 조회 1,655