카

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

· 2004-11-12 (금) 10:45:25 · 3316
<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
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
04-11-29 조회 3,815
04-11-29 조회 4,223
04-11-29 조회 6,050
04-11-29 조회 3,423
04-11-29 조회 5,736
04-11-29 조회 3,416
04-11-29 조회 4,023
04-11-29 조회 8,500
04-11-29 조회 4,736
04-11-29 조회 4,117
04-11-29 조회 5,626
04-11-29 조회 3,817
04-11-29 조회 7,143
04-11-29 조회 5,377
04-11-29 조회 6,695
04-11-29 조회 4,516
04-11-29 조회 6,875
04-11-28 조회 4,018
04-11-28 조회 3,748
04-11-28 조회 3,533
04-11-28 조회 3,346
04-11-28 조회 3,547
04-11-28 조회 3,560
04-11-28 조회 4,798
04-11-28 조회 3,791
04-11-28 조회 3,392
04-11-28 조회 3,222
04-11-28 조회 4,055
04-11-28 조회 4,104
04-11-28 조회 3,380
04-11-28 조회 3,497
04-11-28 조회 3,903
04-11-28 조회 3,234
04-11-28 조회 3,640
04-11-28 조회 3,026
04-11-28 조회 3,269
04-11-28 조회 3,574
04-11-24 조회 3,245
04-11-24 조회 3,077
04-11-23 조회 3,047
04-11-23 조회 3,207
04-11-23 조회 2,814
04-11-23 조회 2,800
04-11-23 조회 3,033
04-11-23 조회 3,252
04-11-17 조회 5,471
04-11-17 조회 3,615
04-11-17 조회 3,031
04-11-12 조회 3,107
04-11-12 조회 3,062
04-11-12 조회 3,317
04-11-12 조회 3,466
04-11-12 조회 2,666
04-11-12 조회 4,948
04-11-12 조회 4,740
04-11-10 조회 3,888
04-11-10 조회 3,787
04-10-12 조회 6,192
04-09-16 조회 5,014
04-08-24 조회 5,352
04-08-23 조회 4,395
04-08-10 조회 6,802
04-08-10 조회 3,987
04-08-10 조회 6,945
07-10-24 조회 4,479
04-08-10 조회 4,533
04-08-10 조회 5,135
04-08-10 조회 4,713
04-08-10 조회 5,077
04-08-10 조회 7,582
04-08-10 조회 5,637
04-08-10 조회 7,877
04-08-09 조회 5,059
04-08-08 조회 3,484
04-08-08 조회 5,885
04-08-08 조회 4,318
04-08-08 조회 4,793
04-08-07 조회 4,452
04-08-06 조회 4,321
04-08-06 조회 4,856
04-08-05 조회 6,048
04-08-05 조회 5,654
04-08-05 조회 6,584
04-08-05 조회 5,002
04-08-05 조회 5,756
04-08-05 조회 5,612
04-08-05 조회 4,105
03-09-26 조회 5,249