카

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

· 2004-11-12 (금) 10:45:25 · 3355
<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건
+
제목 글쓴이 날짜 조회
05-03-13 조회 2,846
05-03-13 조회 2,646
05-03-13 조회 2,686
05-03-13 조회 3,286
05-03-13 조회 2,501
05-03-13 조회 2,419
05-03-13 조회 2,555
05-03-13 조회 3,676
05-03-13 조회 2,711
05-03-13 조회 2,777
05-03-13 조회 2,908
05-03-13 조회 2,725
05-03-13 조회 2,819
05-03-13 조회 2,649
05-03-13 조회 3,019
05-03-13 조회 2,763
05-03-13 조회 3,522
05-03-13 조회 3,244
05-03-13 조회 3,514
05-03-13 조회 2,463
05-03-13 조회 2,544
05-03-13 조회 3,107
05-03-13 조회 2,594
05-03-13 조회 4,675
05-03-13 조회 3,601
05-03-13 조회 3,057
05-03-13 조회 3,737
05-03-13 조회 2,722
05-03-13 조회 2,595
05-03-13 조회 3,532
05-03-13 조회 2,459
05-03-13 조회 2,679
05-03-13 조회 4,190
05-03-13 조회 2,836
05-03-13 조회 2,538
05-03-13 조회 5,851
05-03-13 조회 5,473
05-03-13 조회 4,393
05-03-13 조회 4,696
05-03-13 조회 7,955
05-03-13 조회 4,457
05-03-13 조회 3,533
05-03-13 조회 3,536
05-03-13 조회 8,076
05-03-13 조회 5,551
05-03-13 조회 2,820
05-03-13 조회 4,202
05-03-13 조회 2,897
05-03-13 조회 2,502
05-03-13 조회 3,253
05-03-13 조회 2,712
05-03-13 조회 2,376
05-03-13 조회 2,722
05-03-13 조회 3,904
05-03-13 조회 3,368
05-03-13 조회 2,665
05-03-13 조회 2,594
05-03-12 조회 4,929
05-03-12 조회 3,858
05-03-12 조회 4,555
05-03-12 조회 4,357
05-02-24 조회 4,707
05-02-24 조회 9,480
05-02-23 조회 3,482
05-02-04 조회 4,638
05-02-04 조회 4,107
05-02-04 조회 3,515
05-02-04 조회 3,575
05-02-04 조회 3,506
05-02-04 조회 3,776
04-12-27 조회 3,963
04-12-24 조회 6,244
04-12-22 조회 4,848
04-12-16 조회 5,905
04-12-13 조회 7,134
04-12-11 조회 8,248
04-12-09 조회 1.9만
04-12-08 조회 7,850
04-12-04 조회 3,839
04-12-04 조회 5,065
04-12-01 조회 3,409
04-12-01 조회 5,251
04-12-01 조회 3,850
04-11-30 조회 3,128
04-11-30 조회 3,345
04-11-30 조회 3,115
04-11-30 조회 3,473
04-11-30 조회 2,627
04-11-30 조회 2,473
04-11-30 조회 2,562
04-11-30 조회 3,037
04-11-30 조회 2,809
04-11-30 조회 3,294
04-11-30 조회 4,454
04-11-30 조회 2,512
04-11-30 조회 2,718
04-11-30 조회 4,118
04-11-29 조회 3,273
04-11-29 조회 4,117
04-11-29 조회 3,850