picogl.utils.loader.object

Object Loader Loader of object data from an .loader file.

Attributes

obj

Classes

ObjectLoader

Object Loader Class

Module Contents

class picogl.utils.loader.object.ObjectLoader(path: str)[source]

Object Loader Class

vertices = [][source]
normals = [][source]
texcoords = [][source]
indices = [][source]
log_properties()[source]

log object properties

to_array_style() picogl.utils.loader.object_data.ObjectData[source]

Convert to array-style where each vertex attribute is stored separately

to_single_index_style() picogl.utils.loader.object_data.ObjectData[source]

Convert to single-index style where each unique vertex attribute combination is stored once

picogl.utils.loader.object.obj[source]