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

· 21년 전 · 2414
<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,726
21년 전 조회 1,566
21년 전 조회 1,623
21년 전 조회 2,109
21년 전 조회 1,865
21년 전 조회 2,373
21년 전 조회 3,559
21년 전 조회 1,559
21년 전 조회 1,755
21년 전 조회 3,169
21년 전 조회 2,341
21년 전 조회 3,168
21년 전 조회 2,873
21년 전 조회 3,301
21년 전 조회 5,113
21년 전 조회 2,514
21년 전 조회 4,813
21년 전 조회 2,492
21년 전 조회 3,104
21년 전 조회 7,613
21년 전 조회 3,819
21년 전 조회 3,207
21년 전 조회 4,692
21년 전 조회 2,892
21년 전 조회 6,224
21년 전 조회 4,477
21년 전 조회 5,781
21년 전 조회 3,626
21년 전 조회 5,960
21년 전 조회 3,106
21년 전 조회 2,827
21년 전 조회 2,618
21년 전 조회 2,428
21년 전 조회 2,639
21년 전 조회 2,668
21년 전 조회 3,784
21년 전 조회 2,807
21년 전 조회 2,456
21년 전 조회 2,263
21년 전 조회 3,051
21년 전 조회 3,121
21년 전 조회 2,497
21년 전 조회 2,586
21년 전 조회 2,966
21년 전 조회 2,317
21년 전 조회 2,745
21년 전 조회 2,115
21년 전 조회 2,337
21년 전 조회 2,685
21년 전 조회 2,333
21년 전 조회 2,159
21년 전 조회 2,166
21년 전 조회 2,317
21년 전 조회 1,925
21년 전 조회 1,922
21년 전 조회 2,126
21년 전 조회 2,359
21년 전 조회 4,571
21년 전 조회 2,711
21년 전 조회 2,108
21년 전 조회 2,175
21년 전 조회 2,143
21년 전 조회 2,415
21년 전 조회 2,568
21년 전 조회 1,774
21년 전 조회 4,070
21년 전 조회 3,854
21년 전 조회 2,987
21년 전 조회 2,895
21년 전 조회 5,258
21년 전 조회 4,044
21년 전 조회 4,443
21년 전 조회 3,457
21년 전 조회 5,825
21년 전 조회 3,096
21년 전 조회 6,077
18년 전 조회 3,644
21년 전 조회 3,643
21년 전 조회 4,252
21년 전 조회 3,827
21년 전 조회 4,219
21년 전 조회 6,675
21년 전 조회 4,727
21년 전 조회 6,980
21년 전 조회 4,179
21년 전 조회 2,626
21년 전 조회 4,965
21년 전 조회 3,405
21년 전 조회 3,875
21년 전 조회 3,566
21년 전 조회 3,392
21년 전 조회 3,968
21년 전 조회 5,162
21년 전 조회 4,761
21년 전 조회 5,676
21년 전 조회 4,114
21년 전 조회 4,838
21년 전 조회 4,748
21년 전 조회 3,248
22년 전 조회 4,340