Module ImportFrom alias alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias FunctionDef arguments args NameParam defaults body Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Num NameLoad orelse Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str NameLoad Assign NameStore NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad If BoolOpAnd CompareEq NameLoad Num CompareEq NameLoad Num body Break Assign NameStore Call NameLoad BinOpDiv NameLoad Num Num Assign NameStore Call NameLoad BinOpDiv NameLoad Num Num Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore Num Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad AugAssignAdd NameStore Num Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpMult Num BinOpDiv BinOpSub BinOpAdd NameLoad Num Num Num AugAssignAdd NameStore NameLoad Expr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr TupleLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad For TupleStore NameStore TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AugAssignAdd NameStore Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Return NameLoad decorator_list decorator_list Return Call NameLoad decorator_list ImportFrom alias Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad attr NameLoad
N/A meshtool.filters.base_filters OptimizationFilter FilterException N/A os.path N/A posixpath N/A collada meshtool.util Image StringIO StringIO N/A math N/A tarfile getMipMaps N/A N/A mesh N/A N/A N/A mipmaps N/A N/A effect N/A mesh effects N/A N/A prop N/A effect supported N/A N/A propval N/A getattr effect prop N/A N/A isinstance propval N/A N/A collada material Map N/A N/A image_name N/A N/A N/A N/A propval sampler surface image path N/A image_data N/A N/A N/A N/A propval sampler surface image data N/A N/A N/A im N/A N/A Image open N/A StringIO image_data N/A N/A N/A im load N/A N/A N/A IOError N/A panda3d.core Texture panda3d.core StringStream panda3d.core PNMImage N/A t N/A Texture image_name N/A success N/A N/A t readDds N/A StringStream image_data N/A N/A success 0 N/A N/A N/A FilterException N/A Failed to read image file %s image_name N/A outdata N/A N/A N/A N/A t getRamImageAs RGBA getData N/A N/A N/A im N/A N/A Image fromstring RGBA N/A N/A N/A t getXSize N/A N/A t getYSize outdata N/A N/A N/A im load N/A N/A N/A IOError N/A N/A N/A FilterException N/A Failed to read image file %s image_name N/A N/A N/A im format JPEG N/A N/A output_format JPEG N/A output_extension jpg N/A output_options N/A quality optimize 95 True N/A N/A output_format PNG N/A output_extension png N/A output_options N/A optimize True N/A orig_im im N/A N/A width height N/A im size N/A width N/A int N/A N/A math pow 2 N/A int N/A N/A math log width 2 N/A height N/A int N/A N/A math pow 2 N/A int N/A N/A math log height 2 N/A pil_images N/A N/A True N/A N/A im N/A N/A orig_im resize N/A width height N/A Image ANTIALIAS N/A N/A N/A pil_images insert 0 im N/A N/A N/A width 1 N/A height 1 N/A N/A N/A width N/A max N/A width 2 1 N/A height N/A max N/A height 2 1 N/A tar_buf N/A StringIO N/A tar N/A N/A tarfile TarFile fileobj tar_buf mode w N/A cur_offset 0 N/A byte_ranges N/A N/A N/A i pil_img N/A enumerate pil_images N/A N/A buf N/A StringIO N/A N/A N/A pil_img save buf output_format output_options N/A file_len N/A N/A buf tell N/A cur_name N/A %dx%d.%s N/A N/A N/A pil_img size N/A 0 N/A N/A pil_img size N/A 1 output_extension N/A tar_info N/A N/A tarfile TarInfo name cur_name N/A N/A tar_info size file_len N/A N/A N/A buf seek 0 N/A N/A N/A tar addfile tarinfo tar_info fileobj buf N/A cur_offset 512 N/A file_start cur_offset N/A N/A N/A byte_ranges append N/A offset length width height file_start file_len N/A N/A pil_img size N/A 0 N/A N/A pil_img size N/A 1 N/A file_len N/A 512 N/A N/A N/A file_len 512 1 512 N/A cur_offset file_len N/A N/A N/A tar close N/A N/A mipmaps N/A N/A N/A N/A N/A propval sampler surface image path N/A N/A N/A tar_buf getvalue byte_ranges N/A mipmaps N/A saveMipMaps N/A N/A mesh N/A N/A N/A mipmaps N/A getMipMaps mesh N/A N/A N/A mesh filename N/A N/A False N/A reldir N/A N/A N/A os path dirname N/A mesh filename N/A N/A N/A N/A N/A os path isdir reldir N/A N/A False N/A N/A imgpath N/A tarbuf ranges N/A N/A mipmaps iteritems N/A N/A saveto N/A N/A N/A os path normpath N/A N/A N/A os path join reldir imgpath N/A saveto .tar N/A f N/A open saveto wb N/A N/A N/A f write tarbuf N/A N/A N/A f close N/A True N/A FilterGenerator N/A N/A N/A N/A SaveMipMapsFilter N/A OptimizationFilter N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super SaveMipMapsFilter self __init__ save_mipmaps Saves mipmaps to disk in tar format in the same location as textures but with an added .tar. The archive will contain PNG or JPG images. N/A apply N/A N/A self mesh N/A N/A N/A succ N/A saveMipMaps mesh N/A N/A succ N/A N/A N/A FilterException Failed to save mipmaps N/A mesh N/A N/A N/A N/A SaveMipMapsFilter N/A meshtool.filters factory N/A N/A N/A factory register N/A N/A FilterGenerator name FilterGenerator