dsm_mem.push_back("vifnop; We wait for data to be kicked in");
...
...
@@ -205,10 +235,10 @@ int main(int argc, char* argv[]){
//checked!
line=".int "+std::to_string(face_count*3)+", 4, "+std::to_string(4+(face_count*3)+vertex_count)+", "+std::to_string(4+(face_count*3)+vertex_count+1)+"; Number of u+v+flag+index, their offset, offset of vertex affiliation header, offset of mat definition(end)";
line=".int "+std::to_string(face_count*3)+", 4, "+std::to_string(4+(face_count*3)+vertex_count)+", "+std::to_string(int(4+(face_count*3)+vertex_count+ceil(float(bones.size())/4)))+"; Number of u+v+flag+index, their offset, offset of vertex affiliation header, offset of mat definition(end)";
dsm_mem[tmpheader]=line;
dsm_mem[tmpheader+1]=".int 0, 0, 0, 0; Nobody care about vertices merging and colors";
line=".int "+std::to_string(vertex_count)+", "+std::to_string(4+(face_count*3))+", 0, 1; Number of vertices, their offset, reserved and number of array attribution";
line=".int "+std::to_string(vertex_count)+", "+std::to_string(4+(face_count*3))+", 0, "+std::to_string(bones.size())+"; Number of vertices, their offset, reserved and number of array attribution";