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

· 10년 전 · 1186

<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,237
10년 전 조회 1,180
10년 전 조회 1,071
10년 전 조회 1,206
10년 전 조회 1,075
10년 전 조회 1,390
10년 전 조회 1,134
10년 전 조회 1,144
10년 전 조회 1,133
10년 전 조회 1,160
10년 전 조회 1,202
10년 전 조회 1,125
10년 전 조회 1,148
10년 전 조회 1,334
10년 전 조회 1,143
10년 전 조회 1,252
10년 전 조회 1,193
10년 전 조회 1,240
10년 전 조회 1,341
10년 전 조회 1,201
10년 전 조회 1,177
10년 전 조회 1,192
10년 전 조회 1,282
10년 전 조회 1,185
10년 전 조회 1,140
10년 전 조회 1,167
10년 전 조회 1,174
10년 전 조회 1,220
10년 전 조회 1,153
10년 전 조회 1,363
10년 전 조회 1,528
10년 전 조회 1,418
10년 전 조회 1,187
10년 전 조회 1,183
10년 전 조회 1,142
10년 전 조회 1,155
10년 전 조회 1,261
10년 전 조회 1,189
10년 전 조회 1,125
10년 전 조회 1,186
10년 전 조회 1,540
10년 전 조회 1,989
10년 전 조회 1,570
10년 전 조회 1,387
10년 전 조회 1,360
10년 전 조회 1,193
10년 전 조회 1,189
10년 전 조회 1,211
10년 전 조회 1,170
10년 전 조회 1,187
10년 전 조회 1,213
10년 전 조회 1,369
10년 전 조회 1,291
10년 전 조회 2,010
10년 전 조회 1,552
10년 전 조회 1,281
10년 전 조회 1,373
10년 전 조회 1,623
10년 전 조회 1,308
10년 전 조회 1,489
10년 전 조회 1,325
10년 전 조회 1,435
10년 전 조회 1,276
10년 전 조회 1,247
10년 전 조회 1,238
10년 전 조회 1,274
10년 전 조회 1,270
10년 전 조회 1,306
10년 전 조회 1,328
10년 전 조회 1,299
10년 전 조회 1,448
10년 전 조회 1,442
10년 전 조회 1,230
10년 전 조회 1,536
10년 전 조회 1,893
10년 전 조회 1,330
10년 전 조회 1,585
10년 전 조회 1,546
10년 전 조회 1,389
10년 전 조회 1,358
10년 전 조회 1,314
10년 전 조회 1,428
10년 전 조회 1,167
10년 전 조회 1,251
10년 전 조회 1,457
10년 전 조회 1,283
10년 전 조회 1,281
10년 전 조회 1,242
10년 전 조회 1,269
10년 전 조회 1,246
10년 전 조회 1,240
10년 전 조회 1,269
10년 전 조회 1,240
10년 전 조회 1,397
10년 전 조회 1,229
10년 전 조회 1,226
10년 전 조회 1,307
10년 전 조회 2,046
10년 전 조회 1,281
10년 전 조회 1,276