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

· 21년 전 · 2420
<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,733
21년 전 조회 1,569
21년 전 조회 1,626
21년 전 조회 2,114
21년 전 조회 1,875
21년 전 조회 2,375
21년 전 조회 3,565
21년 전 조회 1,568
21년 전 조회 1,761
21년 전 조회 3,178
21년 전 조회 2,347
21년 전 조회 3,173
21년 전 조회 2,880
21년 전 조회 3,307
21년 전 조회 5,120
21년 전 조회 2,522
21년 전 조회 4,817
21년 전 조회 2,501
21년 전 조회 3,110
21년 전 조회 7,619
21년 전 조회 3,824
21년 전 조회 3,211
21년 전 조회 4,699
21년 전 조회 2,895
21년 전 조회 6,229
21년 전 조회 4,481
21년 전 조회 5,786
21년 전 조회 3,635
21년 전 조회 5,966
21년 전 조회 3,118
21년 전 조회 2,831
21년 전 조회 2,624
21년 전 조회 2,432
21년 전 조회 2,640
21년 전 조회 2,670
21년 전 조회 3,788
21년 전 조회 2,812
21년 전 조회 2,466
21년 전 조회 2,268
21년 전 조회 3,057
21년 전 조회 3,127
21년 전 조회 2,500
21년 전 조회 2,592
21년 전 조회 2,976
21년 전 조회 2,319
21년 전 조회 2,753
21년 전 조회 2,123
21년 전 조회 2,340
21년 전 조회 2,690
21년 전 조회 2,341
21년 전 조회 2,166
21년 전 조회 2,173
21년 전 조회 2,322
21년 전 조회 1,930
21년 전 조회 1,931
21년 전 조회 2,134
21년 전 조회 2,365
21년 전 조회 4,574
21년 전 조회 2,718
21년 전 조회 2,113
21년 전 조회 2,178
21년 전 조회 2,150
21년 전 조회 2,421
21년 전 조회 2,573
21년 전 조회 1,782
21년 전 조회 4,075
21년 전 조회 3,859
21년 전 조회 2,990
21년 전 조회 2,900
21년 전 조회 5,263
21년 전 조회 4,051
21년 전 조회 4,453
21년 전 조회 3,462
21년 전 조회 5,830
21년 전 조회 3,103
21년 전 조회 6,081
18년 전 조회 3,648
21년 전 조회 3,655
21년 전 조회 4,263
21년 전 조회 3,827
21년 전 조회 4,221
21년 전 조회 6,677
21년 전 조회 4,730
21년 전 조회 6,985
21년 전 조회 4,185
21년 전 조회 2,630
21년 전 조회 4,969
21년 전 조회 3,407
21년 전 조회 3,880
21년 전 조회 3,568
21년 전 조회 3,397
21년 전 조회 3,972
21년 전 조회 5,166
21년 전 조회 4,769
21년 전 조회 5,686
21년 전 조회 4,120
21년 전 조회 4,845
21년 전 조회 4,754
21년 전 조회 3,252
22년 전 조회 4,347