|
Methods
|
|
Load
_ConvertTexcoords
_ReadHeader
_ReadMd2Data
__init__
|
|
|
Load
|
Load (
self,
md2_file_name=None,
md2_texture_file_name=None,
)
|
Exceptions
|
|
"Object has no file to load."
"file corrupt, version is not 8"
|
|
|
|
_ConvertTexcoords
|
_ConvertTexcoords (
self,
texcoords,
texture_indices,
w,
h,
)
Flips the v coordinate part, and makes a new array based on the
texture indices. texcoords -
texture_indices -
|
|
|
_ReadHeader
|
_ReadHeader (
self,
md2_file_name=None,
md2_texture_file_name=None,
)
|
|
|
_ReadMd2Data
|
_ReadMd2Data (
self,
md2_file_name=None,
md2_texture_file_name=None,
)
|
|
|
__init__
|
__init__ (
self,
md2_file_name=None,
md2_texture_file_name=None,
)
|
|