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

· 10년 전 · 1209

<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,267
10년 전 조회 1,209
10년 전 조회 1,098
10년 전 조회 1,229
10년 전 조회 1,097
10년 전 조회 1,418
10년 전 조회 1,161
10년 전 조회 1,166
10년 전 조회 1,154
10년 전 조회 1,178
10년 전 조회 1,230
10년 전 조회 1,146
10년 전 조회 1,166
10년 전 조회 1,356
10년 전 조회 1,162
10년 전 조회 1,271
10년 전 조회 1,221
10년 전 조회 1,258
10년 전 조회 1,363
10년 전 조회 1,235
10년 전 조회 1,200
10년 전 조회 1,210
10년 전 조회 1,310
10년 전 조회 1,204
10년 전 조회 1,162
10년 전 조회 1,189
10년 전 조회 1,193
10년 전 조회 1,245
10년 전 조회 1,168
10년 전 조회 1,395
10년 전 조회 1,549
10년 전 조회 1,449
10년 전 조회 1,212
10년 전 조회 1,212
10년 전 조회 1,165
10년 전 조회 1,171
10년 전 조회 1,284
10년 전 조회 1,213
10년 전 조회 1,153
10년 전 조회 1,209
10년 전 조회 1,560
10년 전 조회 2,009
10년 전 조회 1,596
10년 전 조회 1,415
10년 전 조회 1,380
10년 전 조회 1,217
10년 전 조회 1,210
10년 전 조회 1,231
10년 전 조회 1,195
10년 전 조회 1,210
10년 전 조회 1,232
10년 전 조회 1,391
10년 전 조회 1,308
10년 전 조회 2,031
10년 전 조회 1,568
10년 전 조회 1,302
10년 전 조회 1,392
10년 전 조회 1,647
10년 전 조회 1,333
10년 전 조회 1,508
10년 전 조회 1,348
10년 전 조회 1,452
10년 전 조회 1,301
10년 전 조회 1,270
10년 전 조회 1,260
10년 전 조회 1,295
10년 전 조회 1,292
10년 전 조회 1,319
10년 전 조회 1,352
10년 전 조회 1,317
10년 전 조회 1,479
10년 전 조회 1,472
10년 전 조회 1,252
10년 전 조회 1,561
10년 전 조회 1,917
10년 전 조회 1,351
10년 전 조회 1,609
10년 전 조회 1,570
10년 전 조회 1,420
10년 전 조회 1,388
10년 전 조회 1,341
10년 전 조회 1,456
10년 전 조회 1,191
10년 전 조회 1,276
10년 전 조회 1,489
10년 전 조회 1,313
10년 전 조회 1,312
10년 전 조회 1,270
10년 전 조회 1,297
10년 전 조회 1,280
10년 전 조회 1,278
10년 전 조회 1,304
10년 전 조회 1,260
10년 전 조회 1,430
10년 전 조회 1,254
10년 전 조회 1,264
10년 전 조회 1,337
10년 전 조회 2,083
10년 전 조회 1,307
10년 전 조회 1,303