카

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

· 2004-11-12 (금) 10:45:25 · 3278
<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건
+
제목 글쓴이 날짜 조회
06-05-31 조회 4,140
06-05-31 조회 4,365
06-05-30 조회 3,395
06-05-26 조회 4,494
06-05-26 조회 4,781
06-05-15 조회 4,515
06-05-14 조회 5,749
06-05-12 조회 3,184
06-05-11 조회 4,595
06-05-11 조회 2,739
06-05-11 조회 2,849
06-05-11 조회 2,570
06-05-11 조회 2,841
06-05-11 조회 2,426
06-05-11 조회 2,969
06-05-10 조회 3,455
06-05-09 조회 8,130
06-05-09 조회 3,350
06-05-09 조회 3,449
06-05-07 조회 3,933
06-05-07 조회 3,029
06-05-07 조회 3,655
06-04-29 조회 3,678
06-04-28 조회 4,571
06-04-25 조회 3,482
06-04-25 조회 3,767
06-04-25 조회 3,570
06-04-22 조회 3,209
06-04-13 조회 4,517
06-04-13 조회 4,379
06-04-09 조회 3,351
06-03-30 조회 4,780
06-03-24 조회 3,609
06-03-21 조회 3,597
06-03-15 조회 4,623
06-03-11 조회 3,229
06-03-03 조회 3,474
06-02-22 조회 3,282
06-01-27 조회 3,444
06-01-05 조회 3,525
05-12-30 조회 3,377
05-12-29 조회 3,870
bbbking
05-10-22 조회 5,321
05-08-19 조회 5,530
05-08-16 조회 3,562
05-07-13 조회 4,749
05-07-11 조회 3,894
05-07-01 조회 3,498
05-07-01 조회 3,105
05-07-01 조회 3,572
bbbking
05-06-30 조회 6,280
bbbking
05-06-16 조회 6,857
05-04-04 조회 6,385
05-03-13 조회 3,276
05-03-13 조회 2,344
05-03-13 조회 2,506
04-12-16 조회 5,807
04-11-29 조회 4,176
04-11-28 조회 3,979
04-11-28 조회 3,172
04-11-28 조회 3,825
04-11-28 조회 3,591
04-11-24 조회 3,030
04-11-12 조회 3,022
04-08-24 조회 5,305
04-08-10 조회 4,498
04-08-10 조회 5,099