카

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

· 2004-11-12 (금) 10:45:25 · 3297
<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,801
04-11-29 조회 4,204
04-11-29 조회 6,033
04-11-29 조회 3,408
04-11-29 조회 5,716
04-11-29 조회 3,404
04-11-29 조회 4,008
04-11-29 조회 8,488
04-11-29 조회 4,719
04-11-29 조회 4,103
04-11-29 조회 5,615
04-11-29 조회 3,799
04-11-29 조회 7,123
04-11-29 조회 5,363
04-11-29 조회 6,679
04-11-29 조회 4,499
04-11-29 조회 6,858
04-11-28 조회 3,995
04-11-28 조회 3,731
04-11-28 조회 3,518
04-11-28 조회 3,335
04-11-28 조회 3,536
04-11-28 조회 3,548
04-11-28 조회 4,784
04-11-28 조회 3,777
04-11-28 조회 3,379
04-11-28 조회 3,196
04-11-28 조회 4,033
04-11-28 조회 4,083
04-11-28 조회 3,365
04-11-28 조회 3,482
04-11-28 조회 3,884
04-11-28 조회 3,218
04-11-28 조회 3,620
04-11-28 조회 3,014
04-11-28 조회 3,257
04-11-28 조회 3,557
04-11-24 조회 3,224
04-11-24 조회 3,056
04-11-23 조회 3,034
04-11-23 조회 3,195
04-11-23 조회 2,798
04-11-23 조회 2,789
04-11-23 조회 3,016
04-11-23 조회 3,239
04-11-17 조회 5,456
04-11-17 조회 3,606
04-11-17 조회 3,014
04-11-12 조회 3,088
04-11-12 조회 3,043
04-11-12 조회 3,298
04-11-12 조회 3,451
04-11-12 조회 2,651
04-11-12 조회 4,935
04-11-12 조회 4,723
04-11-10 조회 3,877
04-11-10 조회 3,769
04-10-12 조회 6,176
04-09-16 조회 4,986
04-08-24 조회 5,332
04-08-23 조회 4,366
04-08-10 조회 6,697
04-08-10 조회 3,959
04-08-10 조회 6,925
07-10-24 조회 4,467
04-08-10 조회 4,516
04-08-10 조회 5,120
04-08-10 조회 4,693
04-08-10 조회 5,057
04-08-10 조회 7,568
04-08-10 조회 5,621
04-08-10 조회 7,849
04-08-09 조회 5,042
04-08-08 조회 3,472
04-08-08 조회 5,868
04-08-08 조회 4,308
04-08-08 조회 4,778
04-08-07 조회 4,438
04-08-06 조회 4,307
04-08-06 조회 4,839
04-08-05 조회 6,026
04-08-05 조회 5,635
04-08-05 조회 6,574
04-08-05 조회 4,983
04-08-05 조회 5,740
04-08-05 조회 5,593
04-08-05 조회 4,087
03-09-26 조회 5,234