DirectX의 와이프 기능을 사용한 이미지 스와핑 효과

· 21년 전 · 2426
<HTML>
<HEAD>
<TITLE> 그누소스 </TITLE>
<STYLE>
body,td {font-size:12px}
</STYLE>
</HEAD>
<BODY>

<!----- 원하는 위치에 아래와 같이 코드를 붙여 넣으세요 ------->

<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>

<!------------------ 여기까지 -------------->

</BODY>
</HTML><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>

첨부파일

321.html (1.4 KB) 130회 2005-06-13 14:56
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
21년 전 조회 1,737
21년 전 조회 1,573
21년 전 조회 1,630
21년 전 조회 2,120
21년 전 조회 1,880
21년 전 조회 2,380
21년 전 조회 3,570
21년 전 조회 1,571
21년 전 조회 1,762
21년 전 조회 3,182
21년 전 조회 2,349
21년 전 조회 3,175
21년 전 조회 2,886
21년 전 조회 3,310
21년 전 조회 5,126
21년 전 조회 2,526
21년 전 조회 4,821
21년 전 조회 2,507
21년 전 조회 3,114
21년 전 조회 7,622
21년 전 조회 3,828
21년 전 조회 3,215
21년 전 조회 4,705
21년 전 조회 2,898
21년 전 조회 6,232
21년 전 조회 4,486
21년 전 조회 5,789
21년 전 조회 3,638
21년 전 조회 5,971
21년 전 조회 3,118
21년 전 조회 2,833
21년 전 조회 2,626
21년 전 조회 2,435
21년 전 조회 2,645
21년 전 조회 2,676
21년 전 조회 3,796
21년 전 조회 2,816
21년 전 조회 2,468
21년 전 조회 2,268
21년 전 조회 3,063
21년 전 조회 3,131
21년 전 조회 2,502
21년 전 조회 2,598
21년 전 조회 2,976
21년 전 조회 2,324
21년 전 조회 2,758
21년 전 조회 2,127
21년 전 조회 2,344
21년 전 조회 2,694
21년 전 조회 2,345
21년 전 조회 2,166
21년 전 조회 2,177
21년 전 조회 2,324
21년 전 조회 1,936
21년 전 조회 1,934
21년 전 조회 2,136
21년 전 조회 2,366
21년 전 조회 4,581
21년 전 조회 2,722
21년 전 조회 2,115
21년 전 조회 2,185
21년 전 조회 2,152
21년 전 조회 2,427
21년 전 조회 2,576
21년 전 조회 1,783
21년 전 조회 4,080
21년 전 조회 3,865
21년 전 조회 2,993
21년 전 조회 2,907
21년 전 조회 5,268
21년 전 조회 4,055
21년 전 조회 4,455
21년 전 조회 3,464
21년 전 조회 5,837
21년 전 조회 3,107
21년 전 조회 6,084
18년 전 조회 3,648
21년 전 조회 3,656
21년 전 조회 4,263
21년 전 조회 3,831
21년 전 조회 4,226
21년 전 조회 6,684
21년 전 조회 4,738
21년 전 조회 6,987
21년 전 조회 4,189
21년 전 조회 2,633
21년 전 조회 4,974
21년 전 조회 3,412
21년 전 조회 3,883
21년 전 조회 3,574
21년 전 조회 3,403
21년 전 조회 3,978
21년 전 조회 5,169
21년 전 조회 4,773
21년 전 조회 5,689
21년 전 조회 4,122
21년 전 조회 4,848
21년 전 조회 4,756
21년 전 조회 3,254
22년 전 조회 4,349