카이루

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

· 2004-11-12 (금) 10:45:25 · 3360
<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,187건
+
제목 글쓴이 날짜 조회
bbbking
05-07-08 조회 2,766
bbbking
05-07-08 조회 3,156
bbbking
05-07-08 조회 4,511
bbbking
05-07-08 조회 3,000
bbbking
05-07-08 조회 5,366
05-09-09 조회 4,339
bbbking
05-07-08 조회 3,186
bbbking
05-07-08 조회 8,793
05-07-05 조회 6,582
05-07-04 조회 3,993
05-07-04 조회 6,573
05-07-01 조회 3,330
05-07-01 조회 3,588
05-07-01 조회 3,315
05-07-01 조회 3,188
05-07-01 조회 3,080
05-07-01 조회 3,549
05-07-01 조회 3,529
05-07-01 조회 3,437
05-07-01 조회 3,652
05-07-01 조회 3,359
05-07-01 조회 3,567
05-07-01 조회 4,503
bbbking
05-06-30 조회 6,364
05-06-30 조회 4,729
05-06-28 조회 4,205
05-06-28 조회 6,925
bbbking
05-06-27 조회 6,730
05-06-24 조회 5,194
05-06-24 조회 3,428
05-06-24 조회 4,152
05-06-24 조회 2,893
05-06-24 조회 2,500
05-06-24 조회 4,101
05-06-24 조회 4,514
05-06-24 조회 6,082
05-06-21 조회 6,831
05-06-20 조회 4,655
05-06-17 조회 5,994
05-06-17 조회 4,333
05-06-17 조회 4,676
bbbking
05-06-16 조회 8,937
bbbking
05-06-16 조회 6,963
05-06-15 조회 5,486
05-06-15 조회 5,079
05-05-04 조회 3,767
05-05-04 조회 3,718
05-05-04 조회 3,334
05-04-26 조회 2,600
05-04-24 조회 3,262
05-04-23 조회 4,637
05-04-20 조회 5,102
05-04-19 조회 1.1만
05-04-19 조회 6,061
05-04-14 조회 4,332
05-04-11 조회 4,164
05-04-11 조회 4,819
05-04-11 조회 3,049
05-04-11 조회 4,143
05-04-11 조회 4,320
05-04-11 조회 3,388
05-04-04 조회 6,479
05-04-04 조회 3,497
05-04-04 조회 3,944
05-04-04 조회 5,234
05-04-02 조회 3,619
05-03-30 조회 3,328
05-03-23 조회 4,680
05-03-16 조회 3,072
05-03-16 조회 4,612
05-03-15 조회 3,482
05-03-15 조회 3,910
05-03-15 조회 3,235
05-03-15 조회 4,351
05-03-15 조회 3,909
05-03-15 조회 4,040
05-03-15 조회 3,164
05-03-15 조회 2,855
05-03-14 조회 3,352
05-03-14 조회 2,939
05-03-14 조회 2,632
05-03-13 조회 2,843
05-03-13 조회 4,941
05-03-13 조회 2,659
05-03-13 조회 2,997
05-03-13 조회 3,374
05-03-13 조회 2,817
05-03-13 조회 3,951
05-03-13 조회 2,962
05-03-13 조회 3,062
05-03-13 조회 4,654
05-03-13 조회 3,920
05-03-13 조회 3,034
05-03-13 조회 1.1만
05-03-13 조회 3,190
05-03-13 조회 2,545
05-03-13 조회 3,594
05-03-13 조회 3,190
05-03-13 조회 2,615
05-03-13 조회 2,447