picogl.utils.mesh.object_mesh
OBJ mesh with GPU VBO/EBO upload for position + UV drawing.
Classes
OBJ mesh with GPU buffer upload helpers (positions + UVs + ushort indices). |
Functions
|
Invert V for DDS/top-left origin ( |
Module Contents
- picogl.utils.mesh.object_mesh.flip_texcoord_v(texcoords: list[float]) list[float][source]
Invert V for DDS/top-left origin (
TextureLoader.inversed_v_coords).
- class picogl.utils.mesh.object_mesh.MeshObject(path: pathlib.Path | str)[source]
OBJ mesh with GPU buffer upload helpers (positions + UVs + ushort indices).
- get_mesh(*, flip_v: bool = False) MeshObject[source]