mcfletch / pyvrml97

PyVRML97 Scene Graph Model classes
Other
6 stars 1 forks source link

PyVRML97 Scenegraph Model

PyVRML97 is the scenegraph model from OpenGLContext but can be used separately in VRML97 processing tools. It relies on SimpleParse, PyDispatcher and Numpy to provide the basic modelling functionality.

Properties (fields) in PyVRML97 follow the "Observer" pattern, and PyVRML97 provides a cache mechanism that allows you to do cache invalidation when setting properties (fields). OpenGLContext uses that extensively to optimize the rendering process.

.. OpenGLContext: https://pypi.python.org/pypi/OpenGLContext .. SimpleParse: https://pypi.python.org/pypi/SimpleParse .. PyDispatcher: https://pypi.python.org/pypi/PyDispatcher .. Numpy: https://pypi.python.org/pypi/numpy

Installation

It isn't common to directly install PyVRML97 itself (normally you want to install it as part of installing OpenGLContext), but should you wish to, you can install via::

$ pip install PyVRML97 PyVRML97_accelerate

The PyVRML97_accelerate module requires that you have a working compiler (or, if you are on Windows, prebuilt wheels likely are available).

.. image:: https://ci.appveyor.com/api/projects/status/MikeCFletcher/pyvrml97/branch/master :target: https://ci.appveyor.com/project/MikeCFletcher/pyvrml97 :alt: Appveyor Build

.. image:: https://img.shields.io/pypi/v/pyvrml97.svg :target: https://pypi.python.org/pypi/pyvrml97 :alt: Latest PyPI Version

.. image:: https://img.shields.io/pypi/dm/pyvrml97.svg :target: https://pypi.python.org/pypi/pyvrml97 :alt: Monthly download counter