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

· 10년 전 · 1288

<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,268
10년 전 조회 1,168
10년 전 조회 1,300
10년 전 조회 1,167
10년 전 조회 1,507
10년 전 조회 1,224
10년 전 조회 1,238
10년 전 조회 1,218
10년 전 조회 1,245
10년 전 조회 1,305
10년 전 조회 1,211
10년 전 조회 1,228
10년 전 조회 1,427
10년 전 조회 1,234
10년 전 조회 1,340
10년 전 조회 1,301
10년 전 조회 1,317
10년 전 조회 1,439
10년 전 조회 1,305
10년 전 조회 1,268
10년 전 조회 1,280
10년 전 조회 1,398
10년 전 조회 1,281
10년 전 조회 1,235
10년 전 조회 1,265
10년 전 조회 1,274
10년 전 조회 1,325
10년 전 조회 1,255
10년 전 조회 1,481
10년 전 조회 1,622
10년 전 조회 1,523
10년 전 조회 1,290
10년 전 조회 1,280
10년 전 조회 1,249
10년 전 조회 1,241
10년 전 조회 1,360
10년 전 조회 1,284
10년 전 조회 1,231
10년 전 조회 1,283
10년 전 조회 1,631
10년 전 조회 2,101
10년 전 조회 1,671
10년 전 조회 1,499
10년 전 조회 1,469
10년 전 조회 1,308
10년 전 조회 1,298
10년 전 조회 1,315
10년 전 조회 1,276
10년 전 조회 1,289
10년 전 조회 1,313
10년 전 조회 1,480
10년 전 조회 1,377
10년 전 조회 2,110
10년 전 조회 1,643
10년 전 조회 1,390
10년 전 조회 1,480
10년 전 조회 1,717
10년 전 조회 1,397
10년 전 조회 1,585
10년 전 조회 1,409
10년 전 조회 1,532
10년 전 조회 1,375
10년 전 조회 1,337
10년 전 조회 1,342
10년 전 조회 1,377
10년 전 조회 1,374
10년 전 조회 1,403
10년 전 조회 1,432
10년 전 조회 1,402
10년 전 조회 1,560
10년 전 조회 1,544
10년 전 조회 1,336
10년 전 조회 1,637
10년 전 조회 1,988
10년 전 조회 1,438
10년 전 조회 1,687
10년 전 조회 1,652
10년 전 조회 1,506
10년 전 조회 1,455
10년 전 조회 1,425
10년 전 조회 1,536
10년 전 조회 1,269
10년 전 조회 1,362
10년 전 조회 1,583
10년 전 조회 1,402
10년 전 조회 1,397
10년 전 조회 1,345
10년 전 조회 1,388
10년 전 조회 1,371
10년 전 조회 1,377
10년 전 조회 1,405
10년 전 조회 1,351
10년 전 조회 1,515
10년 전 조회 1,338
10년 전 조회 1,347
10년 전 조회 1,440
10년 전 조회 2,170
10년 전 조회 1,411
10년 전 조회 1,394