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

· 10년 전 · 1211

<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,270
10년 전 조회 1,213
10년 전 조회 1,099
10년 전 조회 1,232
10년 전 조회 1,100
10년 전 조회 1,424
10년 전 조회 1,164
10년 전 조회 1,169
10년 전 조회 1,157
10년 전 조회 1,181
10년 전 조회 1,235
10년 전 조회 1,148
10년 전 조회 1,168
10년 전 조회 1,360
10년 전 조회 1,164
10년 전 조회 1,272
10년 전 조회 1,224
10년 전 조회 1,259
10년 전 조회 1,366
10년 전 조회 1,236
10년 전 조회 1,204
10년 전 조회 1,214
10년 전 조회 1,316
10년 전 조회 1,208
10년 전 조회 1,165
10년 전 조회 1,190
10년 전 조회 1,194
10년 전 조회 1,248
10년 전 조회 1,169
10년 전 조회 1,397
10년 전 조회 1,554
10년 전 조회 1,452
10년 전 조회 1,214
10년 전 조회 1,217
10년 전 조회 1,168
10년 전 조회 1,171
10년 전 조회 1,285
10년 전 조회 1,215
10년 전 조회 1,155
10년 전 조회 1,211
10년 전 조회 1,563
10년 전 조회 2,013
10년 전 조회 1,598
10년 전 조회 1,417
10년 전 조회 1,380
10년 전 조회 1,220
10년 전 조회 1,212
10년 전 조회 1,234
10년 전 조회 1,197
10년 전 조회 1,212
10년 전 조회 1,235
10년 전 조회 1,395
10년 전 조회 1,312
10년 전 조회 2,034
10년 전 조회 1,568
10년 전 조회 1,306
10년 전 조회 1,396
10년 전 조회 1,648
10년 전 조회 1,335
10년 전 조회 1,513
10년 전 조회 1,349
10년 전 조회 1,454
10년 전 조회 1,304
10년 전 조회 1,272
10년 전 조회 1,262
10년 전 조회 1,296
10년 전 조회 1,295
10년 전 조회 1,325
10년 전 조회 1,354
10년 전 조회 1,325
10년 전 조회 1,480
10년 전 조회 1,477
10년 전 조회 1,258
10년 전 조회 1,564
10년 전 조회 1,920
10년 전 조회 1,353
10년 전 조회 1,614
10년 전 조회 1,575
10년 전 조회 1,421
10년 전 조회 1,391
10년 전 조회 1,344
10년 전 조회 1,461
10년 전 조회 1,199
10년 전 조회 1,279
10년 전 조회 1,493
10년 전 조회 1,321
10년 전 조회 1,320
10년 전 조회 1,272
10년 전 조회 1,300
10년 전 조회 1,283
10년 전 조회 1,285
10년 전 조회 1,306
10년 전 조회 1,261
10년 전 조회 1,432
10년 전 조회 1,258
10년 전 조회 1,267
10년 전 조회 1,338
10년 전 조회 2,083
10년 전 조회 1,310
10년 전 조회 1,309