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

· 10년 전 · 511

<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년 전 조회 648
10년 전 조회 526
10년 전 조회 423
10년 전 조회 533
10년 전 조회 446
10년 전 조회 732
10년 전 조회 461
10년 전 조회 439
10년 전 조회 482
10년 전 조회 494
10년 전 조회 545
10년 전 조회 459
10년 전 조회 480
10년 전 조회 644
10년 전 조회 488
10년 전 조회 540
10년 전 조회 523
10년 전 조회 546
10년 전 조회 669
10년 전 조회 535
10년 전 조회 492
10년 전 조회 510
10년 전 조회 621
10년 전 조회 533
10년 전 조회 475
10년 전 조회 486
10년 전 조회 490
10년 전 조회 449
10년 전 조회 457
10년 전 조회 669
10년 전 조회 883
10년 전 조회 686
10년 전 조회 490
10년 전 조회 491
10년 전 조회 449
10년 전 조회 471
10년 전 조회 573
10년 전 조회 508
10년 전 조회 423
10년 전 조회 471
10년 전 조회 862
10년 전 조회 1,318
10년 전 조회 887
10년 전 조회 683
10년 전 조회 655
10년 전 조회 521
10년 전 조회 501
10년 전 조회 532
10년 전 조회 497
10년 전 조회 512
10년 전 조회 540
10년 전 조회 668
10년 전 조회 571
10년 전 조회 1,308
10년 전 조회 866
10년 전 조회 582
10년 전 조회 659
10년 전 조회 925
10년 전 조회 644
10년 전 조회 771
10년 전 조회 610
10년 전 조회 715
10년 전 조회 544
10년 전 조회 534
10년 전 조회 525
10년 전 조회 577
10년 전 조회 535
10년 전 조회 595
10년 전 조회 590
10년 전 조회 584
10년 전 조회 738
10년 전 조회 742
10년 전 조회 511
10년 전 조회 814
10년 전 조회 1,174
10년 전 조회 619
10년 전 조회 851
10년 전 조회 850
10년 전 조회 682
10년 전 조회 619
10년 전 조회 600
10년 전 조회 698
10년 전 조회 472
10년 전 조회 506
10년 전 조회 721
10년 전 조회 555
10년 전 조회 521
10년 전 조회 498
10년 전 조회 514
10년 전 조회 524
10년 전 조회 496
10년 전 조회 513
10년 전 조회 539
10년 전 조회 635
10년 전 조회 470
10년 전 조회 493
10년 전 조회 582
10년 전 조회 1,331
10년 전 조회 531
10년 전 조회 525
🐛 버그신고