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__ = "angelos.katharopoulos@idiap.ch"
__url__ = "http://simple-3dviz.com"
__description__ = "simple-3dviz is a simple visualization library for 3D "
"data using Python and OpenGL."
__keywords__ = "graphics geometry 3D"
__license__ = "MIT"
__version__ = "0.1.1"

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

Sub-modules

simple_3dviz.behaviours

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

simple_3dviz.io

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

simple_3dviz.renderables

Renderables represent objects that can be rendered in a scene.

simple_3dviz.scenes

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

simple_3dviz.scripts

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

simple_3dviz.utils
simple_3dviz.window

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