DirectX의 와이프 기능을 사용한 이미지 스와핑 효과 내기 입니다.

· 10년 전 · 1216

<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>  

|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
10년 전 조회 1,276
10년 전 조회 1,219
10년 전 조회 1,104
10년 전 조회 1,240
10년 전 조회 1,109
10년 전 조회 1,438
10년 전 조회 1,166
10년 전 조회 1,179
10년 전 조회 1,163
10년 전 조회 1,184
10년 전 조회 1,240
10년 전 조회 1,156
10년 전 조회 1,176
10년 전 조회 1,366
10년 전 조회 1,178
10년 전 조회 1,280
10년 전 조회 1,233
10년 전 조회 1,265
10년 전 조회 1,376
10년 전 조회 1,247
10년 전 조회 1,211
10년 전 조회 1,217
10년 전 조회 1,320
10년 전 조회 1,221
10년 전 조회 1,167
10년 전 조회 1,194
10년 전 조회 1,202
10년 전 조회 1,251
10년 전 조회 1,180
10년 전 조회 1,408
10년 전 조회 1,562
10년 전 조회 1,464
10년 전 조회 1,216
10년 전 조회 1,226
10년 전 조회 1,178
10년 전 조회 1,178
10년 전 조회 1,290
10년 전 조회 1,221
10년 전 조회 1,163
10년 전 조회 1,221
10년 전 조회 1,575
10년 전 조회 2,026
10년 전 조회 1,608
10년 전 조회 1,425
10년 전 조회 1,386
10년 전 조회 1,230
10년 전 조회 1,225
10년 전 조회 1,243
10년 전 조회 1,206
10년 전 조회 1,217
10년 전 조회 1,249
10년 전 조회 1,403
10년 전 조회 1,317
10년 전 조회 2,049
10년 전 조회 1,577
10년 전 조회 1,321
10년 전 조회 1,404
10년 전 조회 1,658
10년 전 조회 1,342
10년 전 조회 1,516
10년 전 조회 1,353
10년 전 조회 1,462
10년 전 조회 1,308
10년 전 조회 1,280
10년 전 조회 1,273
10년 전 조회 1,307
10년 전 조회 1,305
10년 전 조회 1,335
10년 전 조회 1,361
10년 전 조회 1,336
10년 전 조회 1,488
10년 전 조회 1,488
10년 전 조회 1,269
10년 전 조회 1,574
10년 전 조회 1,928
10년 전 조회 1,362
10년 전 조회 1,622
10년 전 조회 1,582
10년 전 조회 1,431
10년 전 조회 1,398
10년 전 조회 1,353
10년 전 조회 1,471
10년 전 조회 1,211
10년 전 조회 1,289
10년 전 조회 1,502
10년 전 조회 1,329
10년 전 조회 1,327
10년 전 조회 1,284
10년 전 조회 1,309
10년 전 조회 1,298
10년 전 조회 1,296
10년 전 조회 1,317
10년 전 조회 1,269
10년 전 조회 1,441
10년 전 조회 1,273
10년 전 조회 1,276
10년 전 조회 1,347
10년 전 조회 2,099
10년 전 조회 1,322
10년 전 조회 1,313