From fa7ff915c1d8d894fff09e0fbd334fb5586b525f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9verin=20Lemaignan?= Date: Sat, 23 Mar 2013 23:47:45 +0100 Subject: [PATCH] [pyassimp] Renamed the 3d for better clarity + added a short README --- .../scripts/{advanced_3d_viewer.py => 3d_viewer.py} | 0 port/PyAssimp/scripts/README.md | 13 +++++++++++++ ...opengl_viewer.py => fixed_pipeline_3d_viewer.py} | 0 3 files changed, 13 insertions(+) rename port/PyAssimp/scripts/{advanced_3d_viewer.py => 3d_viewer.py} (100%) create mode 100644 port/PyAssimp/scripts/README.md rename port/PyAssimp/scripts/{simple_opengl_viewer.py => fixed_pipeline_3d_viewer.py} (100%) diff --git a/port/PyAssimp/scripts/advanced_3d_viewer.py b/port/PyAssimp/scripts/3d_viewer.py similarity index 100% rename from port/PyAssimp/scripts/advanced_3d_viewer.py rename to port/PyAssimp/scripts/3d_viewer.py diff --git a/port/PyAssimp/scripts/README.md b/port/PyAssimp/scripts/README.md new file mode 100644 index 000000000..42caa2791 --- /dev/null +++ b/port/PyAssimp/scripts/README.md @@ -0,0 +1,13 @@ +pyassimp examples +================= + +- `sample.py`: shows how to load a model with pyassimp, and display some statistics. +- `3d_viewer.py`: an OpenGL 3D viewer that requires shaders +- `fixed_pipeline_3d_viewer`: an OpenGL 3D viewer using the old fixed-pipeline. + Only for illustration example. Base new projects on `3d_viewer.py`. + + +Requirements for the 3D viewers: + +- `pyopengl` (on Ubuntu/Debian, `sudo apt-get install python-opengl`) +- `pygame` (on Ubuntu/Debian, `sudo apt-get install python-pygame`) diff --git a/port/PyAssimp/scripts/simple_opengl_viewer.py b/port/PyAssimp/scripts/fixed_pipeline_3d_viewer.py similarity index 100% rename from port/PyAssimp/scripts/simple_opengl_viewer.py rename to port/PyAssimp/scripts/fixed_pipeline_3d_viewer.py