카

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

· 2004-11-12 (금) 10:45:25 · 3303
<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건
+
제목 글쓴이 날짜 조회
05-08-01 조회 3,990
05-07-24 조회 5,376
05-07-16 조회 5,476
bbbking
05-07-08 조회 3,303
bbbking
05-07-08 조회 3,110
bbbking
05-07-08 조회 8,736
05-07-01 조회 3,298
05-06-30 조회 4,670
05-06-24 조회 5,143
05-06-24 조회 3,377
05-06-21 조회 6,776
05-06-17 조회 4,602
05-06-15 조회 5,416
05-05-04 조회 3,654
05-04-11 조회 4,755
05-04-04 조회 5,173
05-04-02 조회 3,569
05-03-30 조회 3,273
05-03-15 조회 3,405
05-03-15 조회 3,086
05-03-14 조회 2,583
05-03-13 조회 2,782
05-03-13 조회 2,943
05-03-13 조회 2,772
05-03-13 조회 3,011
05-03-13 조회 4,600
05-03-13 조회 3,149
05-03-13 조회 2,574
05-03-13 조회 2,596
05-03-13 조회 2,460
05-03-13 조회 3,639
05-03-13 조회 2,671
05-03-13 조회 2,679
05-03-13 조회 3,188
05-03-13 조회 3,461
05-03-13 조회 3,056
05-03-13 조회 2,993
05-03-13 조회 3,679
05-03-13 조회 2,616
05-03-13 조회 4,123
05-03-13 조회 2,844
05-03-13 조회 3,200
05-03-13 조회 2,682
05-03-13 조회 3,860
05-03-13 조회 2,536
05-03-12 조회 4,867
05-02-04 조회 3,452
04-12-13 조회 7,073
04-12-01 조회 3,360
04-11-30 조회 3,435
04-11-30 조회 2,765
04-11-30 조회 2,661
04-11-30 조회 4,070
04-11-29 조회 3,803
04-11-28 조회 3,732
04-11-28 조회 4,091
04-11-28 조회 3,489
04-11-28 조회 3,019
04-11-28 조회 3,564
04-11-24 조회 3,229
04-11-23 조회 3,021
04-11-17 조회 3,019
04-11-12 조회 3,304
04-11-12 조회 2,658
04-11-10 조회 3,881
04-08-23 조회 4,372
04-08-09 조회 5,045
04-08-08 조회 4,781
04-08-05 조회 6,578
03-09-26 조회 5,238