Table of Contents

Class: Md2Model urdpyg/converters/md2_importer.py
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,
        )


Table of Contents

This document was automatically generated on Sat Jul 30 12:45:44 2005 by HappyDoc version 2.1