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

· 21년 전 · 2471
<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,790
21년 전 조회 1,627
21년 전 조회 1,684
21년 전 조회 2,166
21년 전 조회 1,921
21년 전 조회 2,425
21년 전 조회 3,612
21년 전 조회 1,614
21년 전 조회 1,810
21년 전 조회 3,227
21년 전 조회 2,396
21년 전 조회 3,211
21년 전 조회 2,925
21년 전 조회 3,346
21년 전 조회 5,169
21년 전 조회 2,567
21년 전 조회 4,870
21년 전 조회 2,554
21년 전 조회 3,159
21년 전 조회 7,669
21년 전 조회 3,883
21년 전 조회 3,258
21년 전 조회 4,742
21년 전 조회 2,951
21년 전 조회 6,277
21년 전 조회 4,530
21년 전 조회 5,831
21년 전 조회 3,683
21년 전 조회 6,016
21년 전 조회 3,156
21년 전 조회 2,878
21년 전 조회 2,675
21년 전 조회 2,488
21년 전 조회 2,686
21년 전 조회 2,726
21년 전 조회 3,842
21년 전 조회 2,859
21년 전 조회 2,511
21년 전 조회 2,313
21년 전 조회 3,103
21년 전 조회 3,180
21년 전 조회 2,546
21년 전 조회 2,635
21년 전 조회 3,020
21년 전 조회 2,379
21년 전 조회 2,795
21년 전 조회 2,177
21년 전 조회 2,394
21년 전 조회 2,736
21년 전 조회 2,383
21년 전 조회 2,210
21년 전 조회 2,225
21년 전 조회 2,375
21년 전 조회 1,982
21년 전 조회 1,967
21년 전 조회 2,181
21년 전 조회 2,406
21년 전 조회 4,622
21년 전 조회 2,766
21년 전 조회 2,160
21년 전 조회 2,218
21년 전 조회 2,187
21년 전 조회 2,472
21년 전 조회 2,619
21년 전 조회 1,829
21년 전 조회 4,121
21년 전 조회 3,904
21년 전 조회 3,035
21년 전 조회 2,949
21년 전 조회 5,306
21년 전 조회 4,101
21년 전 조회 4,492
21년 전 조회 3,510
21년 전 조회 5,877
21년 전 조회 3,151
21년 전 조회 6,124
18년 전 조회 3,693
21년 전 조회 3,701
21년 전 조회 4,301
21년 전 조회 3,875
21년 전 조회 4,272
21년 전 조회 6,727
21년 전 조회 4,779
21년 전 조회 7,031
21년 전 조회 4,225
21년 전 조회 2,671
21년 전 조회 5,010
21년 전 조회 3,458
21년 전 조회 3,929
21년 전 조회 3,619
21년 전 조회 3,445
21년 전 조회 4,012
21년 전 조회 5,204
21년 전 조회 4,812
21년 전 조회 5,720
21년 전 조회 4,162
21년 전 조회 4,887
21년 전 조회 4,800
21년 전 조회 3,290
22년 전 조회 4,385