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

· 21년 전 · 2413
<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
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
21년 전 조회 1,725
21년 전 조회 1,565
21년 전 조회 1,620
21년 전 조회 2,109
21년 전 조회 1,864
21년 전 조회 2,372
21년 전 조회 3,556
21년 전 조회 1,558
21년 전 조회 1,754
21년 전 조회 3,167
21년 전 조회 2,340
21년 전 조회 3,168
21년 전 조회 2,871
21년 전 조회 3,295
21년 전 조회 5,113
21년 전 조회 2,512
21년 전 조회 4,811
21년 전 조회 2,491
21년 전 조회 3,102
21년 전 조회 7,610
21년 전 조회 3,817
21년 전 조회 3,205
21년 전 조회 4,689
21년 전 조회 2,891
21년 전 조회 6,220
21년 전 조회 4,473
21년 전 조회 5,778
21년 전 조회 3,624
21년 전 조회 5,956
21년 전 조회 3,101
21년 전 조회 2,826
21년 전 조회 2,618
21년 전 조회 2,426
21년 전 조회 2,637
21년 전 조회 2,667
21년 전 조회 3,783
21년 전 조회 2,806
21년 전 조회 2,453
21년 전 조회 2,256
21년 전 조회 3,049
21년 전 조회 3,117
21년 전 조회 2,496
21년 전 조회 2,584
21년 전 조회 2,961
21년 전 조회 2,315
21년 전 조회 2,741
21년 전 조회 2,114
21년 전 조회 2,337
21년 전 조회 2,683
21년 전 조회 2,333
21년 전 조회 2,151
21년 전 조회 2,165
21년 전 조회 2,317
21년 전 조회 1,923
21년 전 조회 1,921
21년 전 조회 2,124
21년 전 조회 2,359
21년 전 조회 4,569
21년 전 조회 2,709
21년 전 조회 2,107
21년 전 조회 2,173
21년 전 조회 2,140
21년 전 조회 2,414
21년 전 조회 2,568
21년 전 조회 1,771
21년 전 조회 4,070
21년 전 조회 3,852
21년 전 조회 2,985
21년 전 조회 2,892
21년 전 조회 5,256
21년 전 조회 4,043
21년 전 조회 4,439
21년 전 조회 3,456
21년 전 조회 5,822
21년 전 조회 3,095
21년 전 조회 6,075
18년 전 조회 3,644
21년 전 조회 3,641
21년 전 조회 4,249
21년 전 조회 3,825
21년 전 조회 4,217
21년 전 조회 6,674
21년 전 조회 4,725
21년 전 조회 6,978
21년 전 조회 4,177
21년 전 조회 2,626
21년 전 조회 4,965
21년 전 조회 3,403
21년 전 조회 3,874
21년 전 조회 3,564
21년 전 조회 3,391
21년 전 조회 3,968
21년 전 조회 5,160
21년 전 조회 4,760
21년 전 조회 5,674
21년 전 조회 4,111
21년 전 조회 4,836
21년 전 조회 4,748
21년 전 조회 3,247
22년 전 조회 4,340