protected void WritePtmo(PNGWriter pw) { pw.WriteTDCG(); pw.WritePOSE(); foreach (TSOFigure fig in TSOFigureList) { pw.WriteFTMO(fig.tmo); } }
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 WriteFTMO(PNGWriter pw) { string tmo_file = dest_path + @"\" + numTMO + ".tmo"; Console.WriteLine("TMO Load File: " + tmo_file); using (Stream tmo_stream = File.OpenRead(tmo_file)) { pw.WriteFTMO(tmo_stream); } }
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); } } }