Module simple_3dviz

Simple visualization of meshes using opengl with moderngl.

Expand source code
"""Simple visualization of meshes using opengl with moderngl."""

__maintainer__ = "Angelos Katharopoulos, Despoina Paschalidou"
__email__ = ""
__url__ = ""
__description__ = "simple-3dviz is a simple visualization library for 3D "
"data using Python and OpenGL."
__keywords__ = "graphics geometry 3D"
__license__ = "MIT"
__version__ = "0.2.1"

from .renderables import Mesh, TexturedMesh, Spherecloud, Lines
from .scenes import Scene
from .utils import render



Behaviours decouple the changes of a scene with the management of a scene (creation, rendering, etc.) …

Provide a common interface for loading mesh files or other useful files.


Renderables represent objects that can be rendered in a scene.


A scene defines the type of framebuffer to create and allows manipulation of the programs uniforms, such as the camera position and light.


The scripts module contains executable modules that provide simple utility scripts showcasing the abilities of simple_3dviz and allowing for the …


Create a window with an attached scene that is rendered in real time.