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

· 10년 전 · 997

<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,051
10년 전 조회 1,027
10년 전 조회 852
10년 전 조회 986
10년 전 조회 876
10년 전 조회 1,173
10년 전 조회 922
10년 전 조회 880
10년 전 조회 921
10년 전 조회 950
10년 전 조회 999
10년 전 조회 920
10년 전 조회 940
10년 전 조회 1,096
10년 전 조회 948
10년 전 조회 1,015
10년 전 조회 964
10년 전 조회 1,018
10년 전 조회 1,123
10년 전 조회 993
10년 전 조회 967
10년 전 조회 988
10년 전 조회 1,079
10년 전 조회 991
10년 전 조회 944
10년 전 조회 965
10년 전 조회 989
10년 전 조회 918
10년 전 조회 932
10년 전 조회 1,224
10년 전 조회 1,313
10년 전 조회 1,260
10년 전 조회 955
10년 전 조회 972
10년 전 조회 937
10년 전 조회 951
10년 전 조회 1,054
10년 전 조회 1,004
10년 전 조회 897
10년 전 조회 953
10년 전 조회 1,339
10년 전 조회 1,770
10년 전 조회 1,355
10년 전 조회 1,154
10년 전 조회 1,223
10년 전 조회 983
10년 전 조회 965
10년 전 조회 1,002
10년 전 조회 958
10년 전 조회 998
10년 전 조회 988
10년 전 조회 1,230
10년 전 조회 1,098
10년 전 조회 1,776
10년 전 조회 1,357
10년 전 조회 1,057
10년 전 조회 1,161
10년 전 조회 1,389
10년 전 조회 1,117
10년 전 조회 1,287
10년 전 조회 1,127
10년 전 조회 1,233
10년 전 조회 1,054
10년 전 조회 1,042
10년 전 조회 1,031
10년 전 조회 1,088
10년 전 조회 1,061
10년 전 조회 1,131
10년 전 조회 1,120
10년 전 조회 1,095
10년 전 조회 1,237
10년 전 조회 1,223
10년 전 조회 1,014
10년 전 조회 1,323
10년 전 조회 1,673
10년 전 조회 1,123
10년 전 조회 1,377
10년 전 조회 1,333
10년 전 조회 1,188
10년 전 조회 1,142
10년 전 조회 1,101
10년 전 조회 1,218
10년 전 조회 976
10년 전 조회 1,035
10년 전 조회 1,250
10년 전 조회 1,081
10년 전 조회 1,045
10년 전 조회 1,032
10년 전 조회 1,027
10년 전 조회 1,025
10년 전 조회 1,022
10년 전 조회 1,044
10년 전 조회 1,041
10년 전 조회 1,149
10년 전 조회 1,002
10년 전 조회 1,001
10년 전 조회 1,080
10년 전 조회 1,804
10년 전 조회 1,018
10년 전 조회 1,041