카

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

· 2004-11-12 (금) 10:45:25 · 3313
<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건
+
제목 글쓴이 날짜 조회
10-09-25 조회 2,749
10-09-19 조회 2,786
10-09-15 조회 2,792
10-09-15 조회 4,196
10-09-15 조회 3,432
10-09-15 조회 2,528
10-09-07 조회 3,646
10-08-27 조회 4,099
10-06-11 조회 4,284
10-05-31 조회 2,534
10-02-27 조회 5,044
10-02-09 조회 3,786
09-10-10 조회 7,377
09-03-19 조회 3,233
09-02-09 조회 3,509
09-02-09 조회 4,555
08-11-01 조회 2,941
08-09-29 조회 4,591
08-09-26 조회 3,532
08-09-26 조회 3,605
08-09-26 조회 2,742
08-09-26 조회 3,784
08-09-26 조회 3,513
08-09-26 조회 4,280
08-09-18 조회 3,625
08-09-09 조회 3,257
08-08-28 조회 2,800
08-07-06 조회 3,567
08-05-21 조회 4,732
08-05-13 조회 4,571
08-04-17 조회 4,945
08-02-19 조회 3,562
08-01-18 조회 3,882
08-01-10 조회 3,851
07-10-22 조회 3,681
07-10-09 조회 4,347
07-10-03 조회 3,552
07-07-06 조회 4,235
07-07-06 조회 4,450
07-07-06 조회 4,067
07-06-28 조회 3,598
07-06-05 조회 3,609
07-06-05 조회 4,149
07-05-30 조회 3,322
07-05-02 조회 3,699
07-04-15 조회 5,185
07-04-11 조회 3,660
07-04-05 조회 3,967
07-03-31 조회 3,177
07-03-31 조회 4,151
07-03-30 조회 3,764
07-03-24 조회 4,024
07-03-22 조회 3,683
07-03-12 조회 4,438
07-02-16 조회 3,305
07-02-14 조회 5,189
07-02-10 조회 4,033
07-02-09 조회 4,415
07-01-19 조회 4,080
07-01-16 조회 5,007
06-12-16 조회 5,875
06-11-30 조회 3,631
06-11-25 조회 3,742
06-10-15 조회 5,097
06-09-26 조회 5,340
06-09-26 조회 5,453
06-09-22 조회 4,310
06-09-21 조회 3,566
06-09-21 조회 3,662
06-09-02 조회 3,507
06-08-08 조회 5,141
06-07-20 조회 3,763
06-07-17 조회 3,390
06-07-13 조회 4,214
06-07-11 조회 3,506
06-07-11 조회 3,509
06-07-11 조회 3,871
06-06-29 조회 6,099
06-06-19 조회 6,487
06-06-02 조회 3,538
06-05-24 조회 5,022
06-05-14 조회 7,811
06-05-08 조회 3,930
06-02-02 조회 5,481
05-12-16 조회 4,548
05-12-05 조회 5,186
05-06-28 조회 4,150
05-04-11 조회 4,102
05-04-11 조회 4,277
05-04-11 조회 3,344
05-03-13 조회 3,252
05-03-12 조회 4,318
04-12-08 조회 7,810
04-12-01 조회 5,218
04-11-28 조회 3,390
04-11-28 조회 3,233
04-08-05 조회 5,651
04-08-05 조회 4,999
04-08-05 조회 5,609