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

· 21년 전 · 2432
<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,746
21년 전 조회 1,580
21년 전 조회 1,641
21년 전 조회 2,127
21년 전 조회 1,886
21년 전 조회 2,384
21년 전 조회 3,574
21년 전 조회 1,577
21년 전 조회 1,767
21년 전 조회 3,186
21년 전 조회 2,357
21년 전 조회 3,178
21년 전 조회 2,893
21년 전 조회 3,312
21년 전 조회 5,132
21년 전 조회 2,537
21년 전 조회 4,828
21년 전 조회 2,514
21년 전 조회 3,123
21년 전 조회 7,629
21년 전 조회 3,837
21년 전 조회 3,218
21년 전 조회 4,712
21년 전 조회 2,901
21년 전 조회 6,236
21년 전 조회 4,493
21년 전 조회 5,791
21년 전 조회 3,640
21년 전 조회 5,976
21년 전 조회 3,121
21년 전 조회 2,840
21년 전 조회 2,632
21년 전 조회 2,443
21년 전 조회 2,650
21년 전 조회 2,680
21년 전 조회 3,797
21년 전 조회 2,822
21년 전 조회 2,474
21년 전 조회 2,275
21년 전 조회 3,067
21년 전 조회 3,139
21년 전 조회 2,506
21년 전 조회 2,603
21년 전 조회 2,984
21년 전 조회 2,327
21년 전 조회 2,761
21년 전 조회 2,133
21년 전 조회 2,349
21년 전 조회 2,697
21년 전 조회 2,347
21년 전 조회 2,172
21년 전 조회 2,183
21년 전 조회 2,336
21년 전 조회 1,940
21년 전 조회 1,940
21년 전 조회 2,143
21년 전 조회 2,371
21년 전 조회 4,585
21년 전 조회 2,728
21년 전 조회 2,121
21년 전 조회 2,189
21년 전 조회 2,158
21년 전 조회 2,433
21년 전 조회 2,583
21년 전 조회 1,789
21년 전 조회 4,083
21년 전 조회 3,867
21년 전 조회 2,999
21년 전 조회 2,910
21년 전 조회 5,272
21년 전 조회 4,061
21년 전 조회 4,455
21년 전 조회 3,472
21년 전 조회 5,841
21년 전 조회 3,113
21년 전 조회 6,090
18년 전 조회 3,652
21년 전 조회 3,662
21년 전 조회 4,267
21년 전 조회 3,838
21년 전 조회 4,230
21년 전 조회 6,692
21년 전 조회 4,740
21년 전 조회 6,994
21년 전 조회 4,192
21년 전 조회 2,637
21년 전 조회 4,981
21년 전 조회 3,418
21년 전 조회 3,893
21년 전 조회 3,579
21년 전 조회 3,410
21년 전 조회 3,981
21년 전 조회 5,173
21년 전 조회 4,780
21년 전 조회 5,694
21년 전 조회 4,126
21년 전 조회 4,850
21년 전 조회 4,759
21년 전 조회 3,257
22년 전 조회 4,352