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

· 10년 전 · 1276

<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,340
10년 전 조회 1,261
10년 전 조회 1,165
10년 전 조회 1,293
10년 전 조회 1,159
10년 전 조회 1,500
10년 전 조회 1,215
10년 전 조회 1,230
10년 전 조회 1,213
10년 전 조회 1,236
10년 전 조회 1,295
10년 전 조회 1,204
10년 전 조회 1,219
10년 전 조회 1,417
10년 전 조회 1,220
10년 전 조회 1,328
10년 전 조회 1,296
10년 전 조회 1,312
10년 전 조회 1,426
10년 전 조회 1,296
10년 전 조회 1,254
10년 전 조회 1,272
10년 전 조회 1,386
10년 전 조회 1,268
10년 전 조회 1,224
10년 전 조회 1,249
10년 전 조회 1,263
10년 전 조회 1,323
10년 전 조회 1,245
10년 전 조회 1,464
10년 전 조회 1,618
10년 전 조회 1,511
10년 전 조회 1,277
10년 전 조회 1,270
10년 전 조회 1,234
10년 전 조회 1,226
10년 전 조회 1,351
10년 전 조회 1,278
10년 전 조회 1,222
10년 전 조회 1,273
10년 전 조회 1,624
10년 전 조회 2,082
10년 전 조회 1,660
10년 전 조회 1,490
10년 전 조회 1,460
10년 전 조회 1,300
10년 전 조회 1,290
10년 전 조회 1,304
10년 전 조회 1,265
10년 전 조회 1,277
10년 전 조회 1,308
10년 전 조회 1,469
10년 전 조회 1,371
10년 전 조회 2,097
10년 전 조회 1,635
10년 전 조회 1,379
10년 전 조회 1,467
10년 전 조회 1,715
10년 전 조회 1,390
10년 전 조회 1,575
10년 전 조회 1,402
10년 전 조회 1,523
10년 전 조회 1,367
10년 전 조회 1,332
10년 전 조회 1,329
10년 전 조회 1,366
10년 전 조회 1,364
10년 전 조회 1,395
10년 전 조회 1,422
10년 전 조회 1,396
10년 전 조회 1,551
10년 전 조회 1,534
10년 전 조회 1,326
10년 전 조회 1,628
10년 전 조회 1,978
10년 전 조회 1,430
10년 전 조회 1,682
10년 전 조회 1,642
10년 전 조회 1,496
10년 전 조회 1,443
10년 전 조회 1,411
10년 전 조회 1,528
10년 전 조회 1,260
10년 전 조회 1,354
10년 전 조회 1,570
10년 전 조회 1,391
10년 전 조회 1,389
10년 전 조회 1,336
10년 전 조회 1,380
10년 전 조회 1,365
10년 전 조회 1,367
10년 전 조회 1,401
10년 전 조회 1,329
10년 전 조회 1,501
10년 전 조회 1,328
10년 전 조회 1,337
10년 전 조회 1,427
10년 전 조회 2,159
10년 전 조회 1,399
10년 전 조회 1,385