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

· 21년 전 · 2404
<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,718
21년 전 조회 1,557
21년 전 조회 1,611
21년 전 조회 2,103
21년 전 조회 1,858
21년 전 조회 2,361
21년 전 조회 3,551
21년 전 조회 1,550
21년 전 조회 1,744
21년 전 조회 3,156
21년 전 조회 2,334
21년 전 조회 3,160
21년 전 조회 2,864
21년 전 조회 3,286
21년 전 조회 5,104
21년 전 조회 2,509
21년 전 조회 4,804
21년 전 조회 2,484
21년 전 조회 3,096
21년 전 조회 7,603
21년 전 조회 3,810
21년 전 조회 3,195
21년 전 조회 4,682
21년 전 조회 2,882
21년 전 조회 6,213
21년 전 조회 4,467
21년 전 조회 5,770
21년 전 조회 3,615
21년 전 조회 5,952
21년 전 조회 3,094
21년 전 조회 2,820
21년 전 조회 2,613
21년 전 조회 2,420
21년 전 조회 2,629
21년 전 조회 2,658
21년 전 조회 3,778
21년 전 조회 2,801
21년 전 조회 2,445
21년 전 조회 2,249
21년 전 조회 3,043
21년 전 조회 3,111
21년 전 조회 2,484
21년 전 조회 2,578
21년 전 조회 2,953
21년 전 조회 2,304
21년 전 조회 2,735
21년 전 조회 2,107
21년 전 조회 2,329
21년 전 조회 2,674
21년 전 조회 2,327
21년 전 조회 2,148
21년 전 조회 2,158
21년 전 조회 2,308
21년 전 조회 1,916
21년 전 조회 1,911
21년 전 조회 2,118
21년 전 조회 2,353
21년 전 조회 4,563
21년 전 조회 2,700
21년 전 조회 2,102
21년 전 조회 2,163
21년 전 조회 2,133
21년 전 조회 2,405
21년 전 조회 2,558
21년 전 조회 1,763
21년 전 조회 4,065
21년 전 조회 3,843
21년 전 조회 2,978
21년 전 조회 2,883
21년 전 조회 5,253
21년 전 조회 4,035
21년 전 조회 4,432
21년 전 조회 3,448
21년 전 조회 5,813
21년 전 조회 3,088
21년 전 조회 6,068
18년 전 조회 3,636
21년 전 조회 3,630
21년 전 조회 4,242
21년 전 조회 3,817
21년 전 조회 4,211
21년 전 조회 6,665
21년 전 조회 4,718
21년 전 조회 6,969
21년 전 조회 4,170
21년 전 조회 2,617
21년 전 조회 4,957
21년 전 조회 3,391
21년 전 조회 3,863
21년 전 조회 3,556
21년 전 조회 3,384
21년 전 조회 3,958
21년 전 조회 5,152
21년 전 조회 4,751
21년 전 조회 5,664
21년 전 조회 4,105
21년 전 조회 4,826
21년 전 조회 4,739
21년 전 조회 3,239
22년 전 조회 4,335