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

· 10년 전 · 1198

<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,256
10년 전 조회 1,195
10년 전 조회 1,086
10년 전 조회 1,221
10년 전 조회 1,090
10년 전 조회 1,406
10년 전 조회 1,152
10년 전 조회 1,156
10년 전 조회 1,148
10년 전 조회 1,170
10년 전 조회 1,222
10년 전 조회 1,135
10년 전 조회 1,160
10년 전 조회 1,351
10년 전 조회 1,150
10년 전 조회 1,264
10년 전 조회 1,206
10년 전 조회 1,248
10년 전 조회 1,356
10년 전 조회 1,219
10년 전 조회 1,191
10년 전 조회 1,201
10년 전 조회 1,300
10년 전 조회 1,195
10년 전 조회 1,154
10년 전 조회 1,179
10년 전 조회 1,183
10년 전 조회 1,238
10년 전 조회 1,159
10년 전 조회 1,378
10년 전 조회 1,545
10년 전 조회 1,435
10년 전 조회 1,201
10년 전 조회 1,197
10년 전 조회 1,158
10년 전 조회 1,163
10년 전 조회 1,275
10년 전 조회 1,205
10년 전 조회 1,139
10년 전 조회 1,198
10년 전 조회 1,548
10년 전 조회 2,002
10년 전 조회 1,588
10년 전 조회 1,407
10년 전 조회 1,368
10년 전 조회 1,207
10년 전 조회 1,202
10년 전 조회 1,223
10년 전 조회 1,183
10년 전 조회 1,199
10년 전 조회 1,224
10년 전 조회 1,379
10년 전 조회 1,303
10년 전 조회 2,023
10년 전 조회 1,560
10년 전 조회 1,293
10년 전 조회 1,383
10년 전 조회 1,640
10년 전 조회 1,321
10년 전 조회 1,499
10년 전 조회 1,341
10년 전 조회 1,444
10년 전 조회 1,291
10년 전 조회 1,258
10년 전 조회 1,253
10년 전 조회 1,288
10년 전 조회 1,283
10년 전 조회 1,313
10년 전 조회 1,345
10년 전 조회 1,307
10년 전 조회 1,467
10년 전 조회 1,461
10년 전 조회 1,244
10년 전 조회 1,549
10년 전 조회 1,904
10년 전 조회 1,344
10년 전 조회 1,604
10년 전 조회 1,561
10년 전 조회 1,410
10년 전 조회 1,375
10년 전 조회 1,334
10년 전 조회 1,445
10년 전 조회 1,185
10년 전 조회 1,264
10년 전 조회 1,481
10년 전 조회 1,299
10년 전 조회 1,300
10년 전 조회 1,258
10년 전 조회 1,289
10년 전 조회 1,269
10년 전 조회 1,262
10년 전 조회 1,291
10년 전 조회 1,257
10년 전 조회 1,422
10년 전 조회 1,242
10년 전 조회 1,245
10년 전 조회 1,322
10년 전 조회 2,069
10년 전 조회 1,294
10년 전 조회 1,290