def load_object(filename):
    """Load polyhedron model from minimal Wavefront OBJ file."""
    vertices = []
    faces = []
    with open(filename) as file:
        for line in file:
            words = line.split()
            if len(words) > 0 and words[0] in ['v', 'f']:
                if words[0] == 'v':
                    vertices.append([float(w) for w in words[1:]])
                else:
                    faces.append([int(w) - 1 for w in words[1:]])
    return vertices, faces