카

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

· 2004-11-12 (금) 10:45:25 · 3270
<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,769
04-11-29 조회 4,173
04-11-29 조회 6,012
04-11-29 조회 3,385
04-11-29 조회 5,703
04-11-29 조회 3,379
04-11-29 조회 3,984
04-11-29 조회 8,464
04-11-29 조회 4,699
04-11-29 조회 4,082
04-11-29 조회 5,585
04-11-29 조회 3,771
04-11-29 조회 7,090
04-11-29 조회 5,343
04-11-29 조회 6,662
04-11-29 조회 4,473
04-11-29 조회 6,828
04-11-28 조회 3,972
04-11-28 조회 3,699
04-11-28 조회 3,483
04-11-28 조회 3,305
04-11-28 조회 3,512
04-11-28 조회 3,524
04-11-28 조회 4,698
04-11-28 조회 3,711
04-11-28 조회 3,351
04-11-28 조회 3,164
04-11-28 조회 3,951
04-11-28 조회 3,991
04-11-28 조회 3,333
04-11-28 조회 3,457
04-11-28 조회 3,819
04-11-28 조회 3,191
04-11-28 조회 3,587
04-11-28 조회 2,986
04-11-28 조회 3,224
04-11-28 조회 3,538
04-11-24 조회 3,200
04-11-24 조회 3,022
04-11-23 조회 2,996
04-11-23 조회 3,169
04-11-23 조회 2,774
04-11-23 조회 2,761
04-11-23 조회 2,988
04-11-23 조회 3,214
04-11-17 조회 5,429
04-11-17 조회 3,576
04-11-17 조회 2,977
04-11-12 조회 3,057
04-11-12 조회 3,015
04-11-12 조회 3,271
04-11-12 조회 3,423
04-11-12 조회 2,619
04-11-12 조회 4,906
04-11-12 조회 4,695
04-11-10 조회 3,855
04-11-10 조회 3,746
04-10-12 조회 6,096
04-09-16 조회 4,909
04-08-24 조회 5,299
04-08-23 조회 4,300
04-08-10 조회 6,673
04-08-10 조회 3,924
04-08-10 조회 6,901
07-10-24 조회 4,450
04-08-10 조회 4,497
04-08-10 조회 5,093
04-08-10 조회 4,664
04-08-10 조회 5,034
04-08-10 조회 7,537
04-08-10 조회 5,581
04-08-10 조회 7,815
04-08-09 조회 5,014
04-08-08 조회 3,445
04-08-08 조회 5,834
04-08-08 조회 4,277
04-08-08 조회 4,757
04-08-07 조회 4,414
04-08-06 조회 4,279
04-08-06 조회 4,804
04-08-05 조회 5,994
04-08-05 조회 5,608
04-08-05 조회 6,542
04-08-05 조회 4,953
04-08-05 조회 5,710
04-08-05 조회 5,560
04-08-05 조회 4,055
03-09-26 조회 5,195