From 8518e500d185e68f2c23015b835328e7c6564b13 Mon Sep 17 00:00:00 2001 From: Maxime Curioni Date: Sun, 25 May 2008 17:34:21 +0000 Subject: =?UTF-8?q?soc-2008-mxcurioni:=20Big=20update.=20Finally=20works?= =?UTF-8?q?=20(links=20and=20compiles).=20So=20far,=20the=20following=20st?= =?UTF-8?q?eps=20work:=201.=20instantiates=20the=20config=20path,=20the=20?= =?UTF-8?q?controller=20and=20the=20view=202.=20sets=20the=20controller?= =?UTF-8?q?=E2=80=99s=20view=203.=20loads=20a=203ds=20file=20(right=20now?= =?UTF-8?q?=20a=20fixed=20file)=204.=20inserts=20a=20style=20module=20(rig?= =?UTF-8?q?ht=20now,=20also=20fixed)=205.=20computes=20the=20view=20map?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- source/blender/freestyle/intern/view_map/SteerableViewMap.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/freestyle/intern/view_map/SteerableViewMap.cpp') 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 //soc #include #include + +extern "C" { #include "IMB_imbuf.h" #include "IMB_imbuf_types.h" #include "intern/IMB_png.h" +} SteerableViewMap::SteerableViewMap(unsigned int nbOrientations){ _nbOrientations = nbOrientations; -- cgit v1.2.3