Because of school, I have not been able to work on the project this whole week. Today, I modified Freestyle’s execution a bit. The current scene is now rendered (I modified Blender’s 3ds export Python script so that it calls its saving method when interpreted). The scene is still rendered with a fixed style and a fixed camera set in
test_config.h. I will remove these dependencies in the next days. I modified the execution pipeline to initialize the view and the controller only once. Therefore, the subsequent renderings are faster.
I think that I also removed the pending ‘aspect ratio’ bug by calling the proper
Camera setter function. In this revision, the
BF_LIB3DS_LIBPATH variable is no longer here and corrects a linking warning/error.
Here is the render of Suzanne for the ‘contour’ style (note that the results is not exactly similar, as Freestyle uses a perspective projection) :