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

· 10년 전 · 1286

<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,346
10년 전 조회 1,267
10년 전 조회 1,168
10년 전 조회 1,300
10년 전 조회 1,166
10년 전 조회 1,507
10년 전 조회 1,223
10년 전 조회 1,238
10년 전 조회 1,217
10년 전 조회 1,243
10년 전 조회 1,305
10년 전 조회 1,210
10년 전 조회 1,226
10년 전 조회 1,427
10년 전 조회 1,233
10년 전 조회 1,339
10년 전 조회 1,301
10년 전 조회 1,316
10년 전 조회 1,438
10년 전 조회 1,304
10년 전 조회 1,265
10년 전 조회 1,277
10년 전 조회 1,398
10년 전 조회 1,278
10년 전 조회 1,235
10년 전 조회 1,264
10년 전 조회 1,274
10년 전 조회 1,325
10년 전 조회 1,254
10년 전 조회 1,480
10년 전 조회 1,622
10년 전 조회 1,520
10년 전 조회 1,287
10년 전 조회 1,279
10년 전 조회 1,247
10년 전 조회 1,241
10년 전 조회 1,358
10년 전 조회 1,284
10년 전 조회 1,230
10년 전 조회 1,281
10년 전 조회 1,630
10년 전 조회 2,100
10년 전 조회 1,671
10년 전 조회 1,498
10년 전 조회 1,467
10년 전 조회 1,307
10년 전 조회 1,298
10년 전 조회 1,313
10년 전 조회 1,274
10년 전 조회 1,287
10년 전 조회 1,313
10년 전 조회 1,476
10년 전 조회 1,377
10년 전 조회 2,110
10년 전 조회 1,641
10년 전 조회 1,388
10년 전 조회 1,480
10년 전 조회 1,716
10년 전 조회 1,397
10년 전 조회 1,585
10년 전 조회 1,409
10년 전 조회 1,531
10년 전 조회 1,375
10년 전 조회 1,336
10년 전 조회 1,341
10년 전 조회 1,376
10년 전 조회 1,372
10년 전 조회 1,402
10년 전 조회 1,431
10년 전 조회 1,401
10년 전 조회 1,558
10년 전 조회 1,543
10년 전 조회 1,336
10년 전 조회 1,636
10년 전 조회 1,987
10년 전 조회 1,437
10년 전 조회 1,687
10년 전 조회 1,651
10년 전 조회 1,506
10년 전 조회 1,454
10년 전 조회 1,425
10년 전 조회 1,534
10년 전 조회 1,269
10년 전 조회 1,360
10년 전 조회 1,582
10년 전 조회 1,400
10년 전 조회 1,396
10년 전 조회 1,342
10년 전 조회 1,387
10년 전 조회 1,370
10년 전 조회 1,377
10년 전 조회 1,405
10년 전 조회 1,347
10년 전 조회 1,515
10년 전 조회 1,338
10년 전 조회 1,347
10년 전 조회 1,440
10년 전 조회 2,170
10년 전 조회 1,411
10년 전 조회 1,394