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

· 21년 전 · 2488
<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,804
21년 전 조회 1,637
21년 전 조회 1,700
21년 전 조회 2,179
21년 전 조회 1,934
21년 전 조회 2,437
21년 전 조회 3,624
21년 전 조회 1,627
21년 전 조회 1,824
21년 전 조회 3,243
21년 전 조회 2,414
21년 전 조회 3,227
21년 전 조회 2,945
21년 전 조회 3,362
21년 전 조회 5,183
21년 전 조회 2,583
21년 전 조회 4,884
21년 전 조회 2,570
21년 전 조회 3,182
21년 전 조회 7,682
21년 전 조회 3,896
21년 전 조회 3,271
21년 전 조회 4,755
21년 전 조회 2,961
21년 전 조회 6,295
21년 전 조회 4,545
21년 전 조회 5,847
21년 전 조회 3,700
21년 전 조회 6,032
21년 전 조회 3,173
21년 전 조회 2,894
21년 전 조회 2,687
21년 전 조회 2,503
21년 전 조회 2,703
21년 전 조회 2,740
21년 전 조회 3,857
21년 전 조회 2,877
21년 전 조회 2,525
21년 전 조회 2,331
21년 전 조회 3,122
21년 전 조회 3,197
21년 전 조회 2,562
21년 전 조회 2,650
21년 전 조회 3,034
21년 전 조회 2,387
21년 전 조회 2,813
21년 전 조회 2,194
21년 전 조회 2,406
21년 전 조회 2,748
21년 전 조회 2,399
21년 전 조회 2,226
21년 전 조회 2,234
21년 전 조회 2,390
21년 전 조회 1,992
21년 전 조회 1,985
21년 전 조회 2,194
21년 전 조회 2,422
21년 전 조회 4,636
21년 전 조회 2,782
21년 전 조회 2,171
21년 전 조회 2,232
21년 전 조회 2,206
21년 전 조회 2,489
21년 전 조회 2,634
21년 전 조회 1,846
21년 전 조회 4,134
21년 전 조회 3,923
21년 전 조회 3,052
21년 전 조회 2,968
21년 전 조회 5,321
21년 전 조회 4,116
21년 전 조회 4,505
21년 전 조회 3,529
21년 전 조회 5,891
21년 전 조회 3,164
21년 전 조회 6,145
18년 전 조회 3,706
21년 전 조회 3,717
21년 전 조회 4,312
21년 전 조회 3,890
21년 전 조회 4,283
21년 전 조회 6,743
21년 전 조회 4,799
21년 전 조회 7,048
21년 전 조회 4,243
21년 전 조회 2,688
21년 전 조회 5,030
21년 전 조회 3,473
21년 전 조회 3,947
21년 전 조회 3,633
21년 전 조회 3,460
21년 전 조회 4,028
21년 전 조회 5,222
21년 전 조회 4,831
21년 전 조회 5,738
21년 전 조회 4,177
21년 전 조회 4,904
21년 전 조회 4,811
21년 전 조회 3,307
22년 전 조회 4,404