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

· 10년 전 · 973

<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,041
10년 전 조회 1,016
10년 전 조회 836
10년 전 조회 967
10년 전 조회 858
10년 전 조회 1,156
10년 전 조회 902
10년 전 조회 869
10년 전 조회 900
10년 전 조회 929
10년 전 조회 979
10년 전 조회 896
10년 전 조회 927
10년 전 조회 1,070
10년 전 조회 937
10년 전 조회 994
10년 전 조회 950
10년 전 조회 999
10년 전 조회 1,104
10년 전 조회 970
10년 전 조회 949
10년 전 조회 971
10년 전 조회 1,061
10년 전 조회 973
10년 전 조회 933
10년 전 조회 950
10년 전 조회 972
10년 전 조회 904
10년 전 조회 910
10년 전 조회 1,207
10년 전 조회 1,293
10년 전 조회 1,248
10년 전 조회 936
10년 전 조회 956
10년 전 조회 914
10년 전 조회 936
10년 전 조회 1,040
10년 전 조회 990
10년 전 조회 878
10년 전 조회 936
10년 전 조회 1,323
10년 전 조회 1,749
10년 전 조회 1,331
10년 전 조회 1,140
10년 전 조회 1,217
10년 전 조회 970
10년 전 조회 953
10년 전 조회 990
10년 전 조회 944
10년 전 조회 974
10년 전 조회 960
10년 전 조회 1,222
10년 전 조회 1,079
10년 전 조회 1,763
10년 전 조회 1,339
10년 전 조회 1,041
10년 전 조회 1,145
10년 전 조회 1,367
10년 전 조회 1,104
10년 전 조회 1,269
10년 전 조회 1,109
10년 전 조회 1,216
10년 전 조회 1,038
10년 전 조회 1,024
10년 전 조회 1,018
10년 전 조회 1,074
10년 전 조회 1,047
10년 전 조회 1,112
10년 전 조회 1,097
10년 전 조회 1,080
10년 전 조회 1,221
10년 전 조회 1,208
10년 전 조회 1,002
10년 전 조회 1,308
10년 전 조회 1,654
10년 전 조회 1,107
10년 전 조회 1,353
10년 전 조회 1,316
10년 전 조회 1,174
10년 전 조회 1,128
10년 전 조회 1,086
10년 전 조회 1,203
10년 전 조회 963
10년 전 조회 1,024
10년 전 조회 1,237
10년 전 조회 1,063
10년 전 조회 1,024
10년 전 조회 1,015
10년 전 조회 1,007
10년 전 조회 1,011
10년 전 조회 1,005
10년 전 조회 1,027
10년 전 조회 1,025
10년 전 조회 1,132
10년 전 조회 981
10년 전 조회 983
10년 전 조회 1,062
10년 전 조회 1,788
10년 전 조회 997
10년 전 조회 1,020