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

· 21년 전 · 2509
<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,835
21년 전 조회 1,665
21년 전 조회 1,733
21년 전 조회 2,206
21년 전 조회 1,964
21년 전 조회 2,460
21년 전 조회 3,657
21년 전 조회 1,661
21년 전 조회 1,861
21년 전 조회 3,269
21년 전 조회 2,444
21년 전 조회 3,254
21년 전 조회 2,972
21년 전 조회 3,390
21년 전 조회 5,212
21년 전 조회 2,617
21년 전 조회 4,910
21년 전 조회 2,601
21년 전 조회 3,207
21년 전 조회 7,712
21년 전 조회 3,922
21년 전 조회 3,299
21년 전 조회 4,792
21년 전 조회 2,994
21년 전 조회 6,326
21년 전 조회 4,573
21년 전 조회 5,873
21년 전 조회 3,729
21년 전 조회 6,066
21년 전 조회 3,209
21년 전 조회 2,929
21년 전 조회 2,719
21년 전 조회 2,526
21년 전 조회 2,733
21년 전 조회 2,775
21년 전 조회 3,889
21년 전 조회 2,911
21년 전 조회 2,557
21년 전 조회 2,362
21년 전 조회 3,159
21년 전 조회 3,227
21년 전 조회 2,589
21년 전 조회 2,685
21년 전 조회 3,073
21년 전 조회 2,421
21년 전 조회 2,842
21년 전 조회 2,223
21년 전 조회 2,434
21년 전 조회 2,777
21년 전 조회 2,433
21년 전 조회 2,254
21년 전 조회 2,264
21년 전 조회 2,422
21년 전 조회 2,023
21년 전 조회 2,016
21년 전 조회 2,223
21년 전 조회 2,454
21년 전 조회 4,669
21년 전 조회 2,818
21년 전 조회 2,203
21년 전 조회 2,268
21년 전 조회 2,238
21년 전 조회 2,510
21년 전 조회 2,667
21년 전 조회 1,875
21년 전 조회 4,167
21년 전 조회 3,955
21년 전 조회 3,085
21년 전 조회 2,999
21년 전 조회 5,349
21년 전 조회 4,144
21년 전 조회 4,540
21년 전 조회 3,556
21년 전 조회 5,929
21년 전 조회 3,193
21년 전 조회 6,168
18년 전 조회 3,730
21년 전 조회 3,740
21년 전 조회 4,341
21년 전 조회 3,919
21년 전 조회 4,311
21년 전 조회 6,775
21년 전 조회 4,824
21년 전 조회 7,083
21년 전 조회 4,277
21년 전 조회 2,718
21년 전 조회 5,058
21년 전 조회 3,502
21년 전 조회 3,971
21년 전 조회 3,662
21년 전 조회 3,494
21년 전 조회 4,056
21년 전 조회 5,254
21년 전 조회 4,862
21년 전 조회 5,773
21년 전 조회 4,203
21년 전 조회 4,938
21년 전 조회 4,845
21년 전 조회 3,340
22년 전 조회 4,432