Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
        protected void WriteLGTA(PNGWriter pw)
        {
            numTMO++;

            string dest_file = dest_path + @"\LightA" + numTMO + ".txt";

            Console.WriteLine("LGTA Load File: " + dest_file);

            byte[] lgta = ReadFloats(dest_file);
            pw.WriteLGTA(lgta);
        }
Exemplo n.º 4
0
 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);
         }
     }
 }