阅读:1410回复:1
各种图片格式在CREATOR中转化为RGBA的方法1
<FONT size=3><FONT face="宋体, MS Song"> <v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="val #0"></v:f><v:f eqn="val #1"></v:f><v:f eqn="sum 10800 0 #0"></v:f><v:f eqn="sum 10800 0 #1"></v:f><v:f eqn="atan2 @2 @3"></v:f><v:f eqn="sumangle @4 11 0"></v:f><v:f eqn="sumangle @4 0 11"></v:f><v:f eqn="cos 10800 @4"></v:f><v:f eqn="sin 10800 @4"></v:f><v:f eqn="cos 10800 @5"></v:f><v:f eqn="sin 10800 @5"></v:f><v:f eqn="cos 10800 @6"></v:f><v:f eqn="sin 10800 @6"></v:f><v:f eqn="sum 10800 0 @7"></v:f><v:f eqn="sum 10800 0 @8"></v:f><v:f eqn="sum 10800 0 @9"></v:f><v:f eqn="sum 10800 0 @10"></v:f><v:f eqn="sum 10800 0 @11"></v:f><v:f eqn="sum 10800 0 @12"></v:f><v:f eqn="mod @2 @3 0"></v:f><v:f eqn="sum @19 0 10800"></v:f><v:f eqn="if @20 #0 @13"></v:f><v:f eqn="if @20 #1 @14"></v:f></v:formulas><v:path textboxrect="3163,3163,18437,18437" connectlocs="10800,0;3163,3163;0,10800;3163,18437;10800,21600;18437,18437;21600,10800;18437,3163;@21,@22" connecttype="custom"></v:path><v:handles><v:h position="#0,#1"></v:h></v:handles></FONT></FONT><v:shape><v:textbox>
<TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >这是<FONT face="Times New Roman">gif</FONT>格式的图</P></DIV></TD></TR></TABLE></v:textbox></v:shape> <P >第一步:把你要修改的图片在<FONT face="Times New Roman">texture palette</FONT>中导入,如下图<FONT face="Times New Roman">:<p></p></FONT></P> <P ><v:shapetype><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="val #0"></v:f><v:f eqn="val #1"></v:f><v:f eqn="sum 10800 0 #0"></v:f><v:f eqn="sum 10800 0 #1"></v:f><v:f eqn="atan2 @2 @3"></v:f><v:f eqn="sumangle @4 11 0"></v:f><v:f eqn="sumangle @4 0 11"></v:f><v:f eqn="cos 10800 @4"></v:f><v:f eqn="sin 10800 @4"></v:f><v:f eqn="cos 10800 @5"></v:f><v:f eqn="sin 10800 @5"></v:f><v:f eqn="cos 10800 @6"></v:f><v:f eqn="sin 10800 @6"></v:f><v:f eqn="sum 10800 0 @7"></v:f><v:f eqn="sum 10800 0 @8"></v:f><v:f eqn="sum 10800 0 @9"></v:f><v:f eqn="sum 10800 0 @10"></v:f><v:f eqn="sum 10800 0 @11"></v:f><v:f eqn="sum 10800 0 @12"></v:f><v:f eqn="mod @2 @3 0"></v:f><v:f eqn="sum @19 0 10800"></v:f><v:f eqn="if @20 #0 @13"></v:f><v:f eqn="if @20 #1 @14"></v:f></v:formulas><v:path textboxrect="3163,3163,18437,18437" connectlocs="10800,0;3163,3163;0,10800;3163,18437;10800,21600;18437,18437;21600,10800;18437,3163;@21,@22" connecttype="custom"></v:path><v:handles><v:h position="#0,#1"></v:h></v:handles></v:shapetype><v:shape><v:textbox> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >这是<FONT face="Times New Roman">gif</FONT>格式的图</P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shapetype><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path connecttype="rect" gradientshapeok="t" extrusionok="f"></v:path><lock aspectratio="t" v:ext="edit"></lock></v:shapetype><v:shape><v:imagedata><FONT size=3></FONT></v:imagedata></v:shape><p></p></P> <P >第二步:选中这幅图,然后就在<FONT face="Times New Roman">texture palette/Edit</FONT>下选择<FONT face="Times New Roman">Edit pattern</FONT>会出现这样一个对话框:<p></p></P> <P ><v:shape><v:imagedata></v:imagedata></v:shape><p></p></P> <P >第三步:在这个对话框中如下设置:<p></p></P> <P ><v:shape><v:textbox style="mso-next-textbox: #_x0000_s1028"> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >选择<FONT face="Times New Roman">Select</FONT></P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shape><v:textbox style="mso-next-textbox: #_x0000_s1027"> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >选择<FONT face="Times New Roman">RGB-Alpha</FONT></P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shape><v:imagedata><FONT face="Times New Roman" size=3></FONT></v:imagedata></v:shape><p></p></P> <P >第四步:然后在<FONT face="Times New Roman">Select</FONT>面板中双击<FONT face="Times New Roman">Select by color</FONT>按钮<FONT face="Times New Roman">(</FONT>注意让其所有复选框处于不选中状态<FONT face="Times New Roman">)</FONT>,单击<FONT face="Times New Roman">OK</FONT>。如下图:<p></p></P> <P ><v:shape><v:textbox> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >这两项不选</P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shape><v:textbox> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >这是<FONT face="Times New Roman">Select by color</FONT></P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shape><v:imagedata><FONT face="Times New Roman" size=3></FONT></v:imagedata></v:shape><p></p></P> <P >第五步:设置好以后,单击图形背景面,然后在<FONT face="Times New Roman">Operations</FONT>面板中,选择<FONT face="Times New Roman">Modify Gamma</FONT>按钮单击出现对话框,将<FONT face="Times New Roman">Gamma</FONT>设为<FONT face="Times New Roman">0</FONT>,如下图:<p></p></P> <P ><v:shape><v:textbox> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >这就是<FONT face="Times New Roman">Modify Gamma</FONT>按钮</P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shape><v:textbox> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >这设为<FONT face="Times New Roman">0</FONT></P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shape><v:imagedata><FONT face="Times New Roman" size=3></FONT></v:imagedata></v:shape><p></p></P> <P >第六步:单击<FONT face="Times New Roman">Invert Intensity</FONT>按钮,如下图:<p></p></P> <P ><v:shape><v:textbox> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >这就是<FONT face="Times New Roman">Invert Intensity</FONT>按钮</P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shape><v:imagedata></v:imagedata></v:shape><p></p></P> <P >第七步:单击<FONT face="Times New Roman">Lightness to Alpha</FONT>按钮,如下图:<p></p></P> <P ><v:shape><v:textbox> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >这就是<FONT face="Times New Roman">Lightness to Alpha</FONT>按钮</P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shape><v:imagedata></v:imagedata></v:shape><p></p></P> <P >第八步:另存为你想要的格式就可以了!如下图:<p></p></P> <P ><v:shape><v:textbox> <TABLE cellSpacing=0 cellPadding=0 width="100%"> <TR> <TD > <DIV> <P >看见了吧!这些都是<FONT face="Times New Roman">Vega</FONT>支持的格式</P></DIV></TD></TR></TABLE></v:textbox></v:shape><v:shape><v:imagedata><FONT size=3></FONT></v:imagedata></v:shape><p></p></P> <P >当然,如果你要存成<FONT face="Times New Roman">rgb</FONT>或其他格式格式直接另存就可以了,只有存为<FONT face="Times New Roman">rgba</FONT>需要经过上面几步!<p></p></P> |
|
1楼#
发布于:2006-04-04 14:07
怎么图片弄不进来啊?
|
|