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

· 10년 전 · 1135

<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,192
10년 전 조회 1,115
10년 전 조회 1,010
10년 전 조회 1,143
10년 전 조회 1,024
10년 전 조회 1,313
10년 전 조회 1,057
10년 전 조회 1,034
10년 전 조회 1,076
10년 전 조회 1,092
10년 전 조회 1,134
10년 전 조회 1,071
10년 전 조회 1,085
10년 전 조회 1,257
10년 전 조회 1,078
10년 전 조회 1,169
10년 전 조회 1,104
10년 전 조회 1,167
10년 전 조회 1,266
10년 전 조회 1,141
10년 전 조회 1,106
10년 전 조회 1,135
10년 전 조회 1,212
10년 전 조회 1,121
10년 전 조회 1,080
10년 전 조회 1,111
10년 전 조회 1,115
10년 전 조회 1,064
10년 전 조회 1,089
10년 전 조회 1,299
10년 전 조회 1,455
10년 전 조회 1,358
10년 전 조회 1,110
10년 전 조회 1,112
10년 전 조회 1,084
10년 전 조회 1,080
10년 전 조회 1,187
10년 전 조회 1,137
10년 전 조회 1,032
10년 전 조회 1,102
10년 전 조회 1,475
10년 전 조회 1,906
10년 전 조회 1,506
10년 전 조회 1,296
10년 전 조회 1,313
10년 전 조회 1,126
10년 전 조회 1,118
10년 전 조회 1,156
10년 전 조회 1,109
10년 전 조회 1,136
10년 전 조회 1,128
10년 전 조회 1,310
10년 전 조회 1,230
10년 전 조회 1,939
10년 전 조회 1,482
10년 전 조회 1,211
10년 전 조회 1,298
10년 전 조회 1,561
10년 전 조회 1,250
10년 전 조회 1,436
10년 전 조회 1,269
10년 전 조회 1,376
10년 전 조회 1,206
10년 전 조회 1,187
10년 전 조회 1,163
10년 전 조회 1,219
10년 전 조회 1,208
10년 전 조회 1,260
10년 전 조회 1,249
10년 전 조회 1,236
10년 전 조회 1,391
10년 전 조회 1,381
10년 전 조회 1,168
10년 전 조회 1,466
10년 전 조회 1,830
10년 전 조회 1,255
10년 전 조회 1,510
10년 전 조회 1,483
10년 전 조회 1,336
10년 전 조회 1,288
10년 전 조회 1,250
10년 전 조회 1,356
10년 전 조회 1,116
10년 전 조회 1,177
10년 전 조회 1,399
10년 전 조회 1,214
10년 전 조회 1,201
10년 전 조회 1,180
10년 전 조회 1,191
10년 전 조회 1,174
10년 전 조회 1,181
10년 전 조회 1,199
10년 전 조회 1,194
10년 전 조회 1,325
10년 전 조회 1,140
10년 전 조회 1,147
10년 전 조회 1,237
10년 전 조회 1,976
10년 전 조회 1,179
10년 전 조회 1,200