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

· 10년 전 · 854

<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년 전 조회 931
10년 전 조회 845
10년 전 조회 723
10년 전 조회 847
10년 전 조회 739
10년 전 조회 1,038
10년 전 조회 752
10년 전 조회 757
10년 전 조회 784
10년 전 조회 809
10년 전 조회 865
10년 전 조회 766
10년 전 조회 816
10년 전 조회 948
10년 전 조회 824
10년 전 조회 868
10년 전 조회 837
10년 전 조회 865
10년 전 조회 1,003
10년 전 조회 865
10년 전 조회 836
10년 전 조회 846
10년 전 조회 947
10년 전 조회 869
10년 전 조회 804
10년 전 조회 838
10년 전 조회 828
10년 전 조회 777
10년 전 조회 802
10년 전 조회 1,036
10년 전 조회 1,174
10년 전 조회 1,070
10년 전 조회 832
10년 전 조회 827
10년 전 조회 789
10년 전 조회 819
10년 전 조회 903
10년 전 조회 851
10년 전 조회 757
10년 전 조회 818
10년 전 조회 1,203
10년 전 조회 1,647
10년 전 조회 1,192
10년 전 조회 1,027
10년 전 조회 1,044
10년 전 조회 872
10년 전 조회 839
10년 전 조회 862
10년 전 조회 838
10년 전 조회 855
10년 전 조회 860
10년 전 조회 1,059
10년 전 조회 937
10년 전 조회 1,649
10년 전 조회 1,216
10년 전 조회 935
10년 전 조회 1,015
10년 전 조회 1,222
10년 전 조회 976
10년 전 조회 1,148
10년 전 조회 975
10년 전 조회 1,091
10년 전 조회 923
10년 전 조회 913
10년 전 조회 900
10년 전 조회 956
10년 전 조회 912
10년 전 조회 984
10년 전 조회 980
10년 전 조회 947
10년 전 조회 1,109
10년 전 조회 1,095
10년 전 조회 889
10년 전 조회 1,176
10년 전 조회 1,529
10년 전 조회 990
10년 전 조회 1,219
10년 전 조회 1,209
10년 전 조회 1,048
10년 전 조회 1,010
10년 전 조회 959
10년 전 조회 1,066
10년 전 조회 830
10년 전 조회 890
10년 전 조회 1,103
10년 전 조회 937
10년 전 조회 898
10년 전 조회 881
10년 전 조회 883
10년 전 조회 899
10년 전 조회 870
10년 전 조회 900
10년 전 조회 909
10년 전 조회 1,009
10년 전 조회 851
10년 전 조회 875
10년 전 조회 946
10년 전 조회 1,672
10년 전 조회 898
10년 전 조회 893