modified the obj load method to support general poly mesh.