![]() If line.startswith('triangles') and import_mesh: Window.DrawProgressBar(0.1,'Reading Skeleton') If line.startswith('skeleton') and import_skeleton: Window.DrawProgressBar(0.0,'Reading Nodes')īones.append(Bone(int(words),bonename,int(words))) If line.startswith('nodes') and import_skeleton: If not Draw.PupBlock('Import.', pup_block): ('Skeleton' ,IMPORT_SKELETON, 'Import the Skeleton?') ('Mesh' ,IMPORT_MESH, 'Import the Mesh?'),\ Transmat = TranslationMatrix(Vector(x,y,z)) Rotmat = RotationMatrix(rx,4,'x') * RotationMatrix(ry,4,'y') * RotationMatrix(rz,4,'z') # version 0.3: reAdded importing of normals(results in some duplicate vertices's but fixes the normal problem, still recalculating them, but this keeps it from merging vertices's with different normals) ![]()
0 Comments
Leave a Reply. |