protected void WriteCAMI(PNGWriter pw) { string dest_file = dest_path + @"\Camera.txt"; Console.WriteLine("CAMI Load File: " + dest_file); byte[] cami = ReadFloats(dest_file); pw.WriteCAMI(cami); }
protected void WritePose(PNGWriter pw) { pw.WriteTDCG(); pw.WritePOSE(); pw.WriteCAMI(cami); foreach (TSOFigure fig in TSOFigureList) { pw.WriteLGTA(fig.lgta); pw.WriteFTMO(fig.tmo); } }
void WritePose(PNGWriter pw, TMOFile tmo) { byte[] cami = ReadFloats(GetCameraPath()); byte[] lgta = ReadFloats(GetLightAPath()); pw.WriteTDCG(); pw.WritePOSE(); pw.WriteCAMI(cami); pw.WriteLGTA(lgta); pw.WriteFTMO(tmo); }
protected void WriteScne(PNGWriter pw) { pw.WriteTDCG(); pw.WriteSCNE(FigureCount()); pw.WriteCAMI(cami); foreach (TSOFigure fig in TSOFigureList) { pw.WriteLGTA(fig.lgta); pw.WriteFTMO(fig.tmo); pw.WriteFIGU(fig.figu); foreach (TSOData tso in fig.TSOList) { pw.WriteFTSO(tso.opt1, tso.ftso); } } }