diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-05-25 21:34:21 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-05-25 21:34:21 +0400 |
commit | 8518e500d185e68f2c23015b835328e7c6564b13 (patch) | |
tree | 9ff1f37fadcf1712439f7b7e8c5e9754740a7bd0 /source/blender/freestyle/intern/view_map/SteerableViewMap.cpp | |
parent | 8ef2f1d524d81bce565d08f647805e6084de54de (diff) |
soc-2008-mxcurioni: Big update. Finally works (links and compiles). So far, the following steps work:
1. instantiates the config path, the controller and the view
2. sets the controller’s view
3. loads a 3ds file (right now a fixed file)
4. inserts a style module (right now, also fixed)
5. computes the view map
The next and final step is running the Python script. A lot of information are fixed and should be changed to test the following code: see source/blender/freestyle/app_blender/*.cpp and search for fixed paths (starting in /Users/).
I am currently evaluating whether it's worth making Python run on its own environment (right now, the program crashes because of PyImport_AddModule) or whether it should use Blender's Python capabilities. Also, I need to figure out how to integrate the SWIG wrapper dynamic library into the current scheme.
Diffstat (limited to 'source/blender/freestyle/intern/view_map/SteerableViewMap.cpp')
-rwxr-xr-x | source/blender/freestyle/intern/view_map/SteerableViewMap.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp b/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp index d7f2e5683c5..13c6bd65312 100755 --- a/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp +++ b/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp @@ -29,9 +29,12 @@ using namespace Geometry; //soc #include <qstring.h> //soc #include <qimage.h> #include <sstream> + +extern "C" { #include "IMB_imbuf.h" #include "IMB_imbuf_types.h" #include "intern/IMB_png.h" +} SteerableViewMap::SteerableViewMap(unsigned int nbOrientations){ _nbOrientations = nbOrientations; |