카이루

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

· 2004-11-12 (금) 10:45:25 · 3358
<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건
+
제목 글쓴이 날짜 조회
06-02-02 조회 5,528
06-01-27 조회 3,790
06-01-27 조회 3,574
06-01-26 조회 4,023
06-01-20 조회 4,157
06-01-19 조회 4,204
06-01-15 조회 3,733
06-01-13 조회 4,105
06-01-10 조회 3,694
06-01-10 조회 3,262
06-01-09 조회 3,885
06-01-05 조회 3,552
06-01-05 조회 3,635
06-01-05 조회 4,914
06-01-04 조회 4,376
06-01-04 조회 6,125
05-12-30 조회 3,478
05-12-30 조회 5,626
05-12-30 조회 4,250
05-12-29 조회 4,012
05-12-27 조회 4,856
05-12-23 조회 3,764
05-12-21 조회 4,952
05-12-21 조회 5,190
05-12-16 조회 4,619
05-12-09 조회 4,645
05-12-05 조회 5,252
05-12-01 조회 3,490
05-11-30 조회 6,234
05-11-30 조회 4,786
05-11-29 조회 3,706
05-11-26 조회 3,376
05-11-10 조회 3,823
05-11-09 조회 4,140
05-11-09 조회 3,921
bbbking
05-11-05 조회 6,896
05-10-23 조회 3,804
bbbking
05-10-22 조회 5,427
05-10-20 조회 3,264
05-10-13 조회 8,441
05-10-09 조회 3,541
05-09-29 조회 4,587
05-09-28 조회 5,417
05-09-27 조회 3,681
05-09-27 조회 4,962
05-09-24 조회 4,187
05-09-23 조회 5,200
05-09-22 조회 6,193
05-09-22 조회 5,281
05-09-21 조회 6,944
05-09-15 조회 3,153
05-09-11 조회 4,347
05-09-08 조회 4,600
05-09-08 조회 3,999
05-09-08 조회 3,486
05-09-05 조회 5,704
05-09-04 조회 3,293
05-09-02 조회 3,265
05-09-02 조회 2,916
05-09-02 조회 2,706
05-09-01 조회 4,782
05-09-01 조회 5,915
05-08-31 조회 3,525
05-08-31 조회 4,201
05-08-25 조회 6,891
05-08-25 조회 3,913
05-08-21 조회 3,360
05-08-19 조회 5,622
05-08-18 조회 3,721
05-08-18 조회 3,313
05-08-17 조회 3,820
05-08-16 조회 3,685
05-08-14 조회 3,949
05-08-14 조회 4,423
05-08-08 조회 3,718
05-08-07 조회 5,795
05-08-05 조회 4,278
05-08-04 조회 5,617
05-08-01 조회 4,065
05-07-29 조회 5,182
05-07-29 조회 5,414
05-07-28 조회 8,090
05-07-27 조회 4,877
05-07-25 조회 3,792
05-07-24 조회 5,435
05-07-24 조회 3,254
05-07-22 조회 5,316
05-07-21 조회 4,784
05-07-21 조회 3,611
05-07-19 조회 5,882
bbbking
05-07-19 조회 3,534
05-07-16 조회 5,557
05-07-15 조회 4,640
05-07-14 조회 4,698
05-07-13 조회 4,860
05-07-12 조회 4,245
05-07-12 조회 6,978
05-07-11 조회 3,994
05-07-08 조회 6,861
bbbking
05-07-08 조회 3,369