PyViz3D is a python package to visualize 3D scenes directly in your browser, and create beautiful renderings with blender.
- Install:
pip3 install pyviz3d - Documentation
- Examples
- Blender Instructions
Scene graph example, including blender rendering. [Show Code] [Show Demo]
Blender example, including blender rendering. [Show Code] [Show Demo]
Polygon meshes example. [Show Code] [Show Demo]
Bounding boxes example. [Show Code] [Show Demo]
Polyline example. [Show Code] [Show Demo]
Arrow example. [Show Code] [Show Demo]
Point clouds and segments example. [Show Code] [Show Demo]
To create beautiful illustrations with blender consider the following points:
- Install Blender from https://www.blender.org/ (tested version 4.0).
- Calling
v.save(..., show_in_blender=True)creates a.blendfile which you can open in blender. - Check
examples/examples_graph.pyfor a complete example.
- Make sure twine is installed:
python3 -m pip install build twine - Create source archive and wheel:
python3 -m build - Check that it will render properly on PyPi:
twine check dist/* - Upload to PyPi:
twine upload dist/*
Please consider citing PyViz3D in your publications if it helps your research.
@misc{engelmann2019pyviz3d,
title={PyViz3D},
author={Francis Engelmann},
year={2019},
howpublished={\url{https://github.com/francisengelmann/PyViz3D}},
}