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

· 10년 전 · 1326

<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,355
10년 전 조회 1,369
10년 전 조회 1,294
10년 전 조회 1,190
10년 전 조회 1,325
10년 전 조회 1,185
10년 전 조회 1,541
10년 전 조회 1,252
10년 전 조회 1,261
10년 전 조회 1,254
10년 전 조회 1,271
10년 전 조회 1,343
10년 전 조회 1,239
10년 전 조회 1,260
10년 전 조회 1,461
10년 전 조회 1,259
10년 전 조회 1,370
10년 전 조회 1,330
10년 전 조회 1,355
10년 전 조회 1,484
10년 전 조회 1,334
10년 전 조회 1,303
10년 전 조회 1,312
10년 전 조회 1,431
10년 전 조회 1,300
10년 전 조회 1,269
10년 전 조회 1,301
10년 전 조회 1,313
10년 전 조회 1,360
10년 전 조회 1,283
10년 전 조회 1,511
10년 전 조회 1,648
10년 전 조회 1,565
10년 전 조회 1,322
10년 전 조회 1,312
10년 전 조회 1,279
10년 전 조회 1,270
10년 전 조회 1,392
10년 전 조회 1,309
10년 전 조회 1,264
10년 전 조회 1,312
10년 전 조회 1,653
10년 전 조회 2,136
10년 전 조회 1,703
10년 전 조회 1,499
10년 전 조회 1,360
10년 전 조회 1,323
10년 전 조회 1,347
10년 전 조회 1,303
10년 전 조회 1,327
10년 전 조회 1,350
10년 전 조회 1,515
10년 전 조회 1,406
10년 전 조회 2,144
10년 전 조회 1,675
10년 전 조회 1,419
10년 전 조회 1,513
10년 전 조회 1,744
10년 전 조회 1,426
10년 전 조회 1,610
10년 전 조회 1,440
10년 전 조회 1,558
10년 전 조회 1,401
10년 전 조회 1,359
10년 전 조회 1,368
10년 전 조회 1,415
10년 전 조회 1,403
10년 전 조회 1,431
10년 전 조회 1,473
10년 전 조회 1,436
10년 전 조회 1,585
10년 전 조회 1,572
10년 전 조회 1,368
10년 전 조회 1,680
10년 전 조회 2,016
10년 전 조회 1,476
10년 전 조회 1,719
10년 전 조회 1,681
10년 전 조회 1,540
10년 전 조회 1,497
10년 전 조회 1,461
10년 전 조회 1,564
10년 전 조회 1,309
10년 전 조회 1,394
10년 전 조회 1,614
10년 전 조회 1,441
10년 전 조회 1,423
10년 전 조회 1,380
10년 전 조회 1,414
10년 전 조회 1,407
10년 전 조회 1,412
10년 전 조회 1,437
10년 전 조회 1,387
10년 전 조회 1,554
10년 전 조회 1,377
10년 전 조회 1,385
10년 전 조회 1,482
10년 전 조회 2,209
10년 전 조회 1,449
10년 전 조회 1,424