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

· 10년 전 · 1504

<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,511
10년 전 조회 1,541
10년 전 조회 1,456
10년 전 조회 1,366
10년 전 조회 1,479
10년 전 조회 1,368
10년 전 조회 1,739
10년 전 조회 1,429
10년 전 조회 1,442
10년 전 조회 1,424
10년 전 조회 1,455
10년 전 조회 1,515
10년 전 조회 1,410
10년 전 조회 1,441
10년 전 조회 1,633
10년 전 조회 1,426
10년 전 조회 1,524
10년 전 조회 1,507
10년 전 조회 1,513
10년 전 조회 1,674
10년 전 조회 1,517
10년 전 조회 1,520
10년 전 조회 1,491
10년 전 조회 1,609
10년 전 조회 1,523
10년 전 조회 1,476
10년 전 조회 1,473
10년 전 조회 1,508
10년 전 조회 1,548
10년 전 조회 1,483
10년 전 조회 1,676
10년 전 조회 1,823
10년 전 조회 1,751
10년 전 조회 1,517
10년 전 조회 1,519
10년 전 조회 1,472
10년 전 조회 1,457
10년 전 조회 1,561
10년 전 조회 1,473
10년 전 조회 1,438
10년 전 조회 1,500
10년 전 조회 1,839
10년 전 조회 2,291
10년 전 조회 1,865
10년 전 조회 1,681
10년 전 조회 1,539
10년 전 조회 1,502
10년 전 조회 1,525
10년 전 조회 1,502
10년 전 조회 1,505
10년 전 조회 1,509
10년 전 조회 1,672
10년 전 조회 1,586
10년 전 조회 2,334
10년 전 조회 1,855
10년 전 조회 1,611
10년 전 조회 1,703
10년 전 조회 1,915
10년 전 조회 1,603
10년 전 조회 1,815
10년 전 조회 1,656
10년 전 조회 1,770
10년 전 조회 1,603
10년 전 조회 1,557
10년 전 조회 1,553
10년 전 조회 1,602
10년 전 조회 1,578
10년 전 조회 1,625
10년 전 조회 1,643
10년 전 조회 1,625
10년 전 조회 1,775
10년 전 조회 1,769
10년 전 조회 1,572
10년 전 조회 1,863
10년 전 조회 2,196
10년 전 조회 1,656
10년 전 조회 1,921
10년 전 조회 1,888
10년 전 조회 1,730
10년 전 조회 1,703
10년 전 조회 1,650
10년 전 조회 1,749
10년 전 조회 1,501
10년 전 조회 1,592
10년 전 조회 1,803
10년 전 조회 1,618
10년 전 조회 1,574
10년 전 조회 1,576
10년 전 조회 1,582
10년 전 조회 1,612
10년 전 조회 1,602
10년 전 조회 1,616
10년 전 조회 1,572
10년 전 조회 1,750
10년 전 조회 1,549
10년 전 조회 1,577
10년 전 조회 1,684
10년 전 조회 2,358
10년 전 조회 1,629
10년 전 조회 1,613