This week has been one of my better weeks.  As usual, there were a few bumps this week, but not too many.<div><br></div><div>This week dealt with two things:</div><div>1.  Image comparison</div><div>2.  UI, and thus wrapping unit tests in operators to insert into the UI.</div>


<div><br></div><div>Per Matt Estela&#39;s recommendation, I tried incorporating Perceptual Image Diff <a href="http://pdiff.sourceforge.net/">http://pdiff.sourceforge.net/</a> into the tests to compare images.  The pre-compiled binaries work fine, however, compiling from source presents a bit of a problem, even with all of the listed dependencies installed, it complains that several printf stamens are not declared.  I emailed the developer and am waiting for a response.  This isn&#39;t my main priority.  However, I will keep using PIL until such time as a tool like this works.</div>

<div><br></div><div>Getting tests in blender&#39;s UI represents some challenges that do not exist when using CTest as a testing platform.  First of all, I thought a lot about render tests.  If we use blender&#39;s current set of regression tests that blender has, it shouldn&#39;t be very difficult to create a tool that allows a developer to render a blend file, and than compare it to another image file, and than write another tool to run all of the tests.  The problem is that putting this into the GUI, which requires python 3.  And on top of that, developing a good UI for this sort of thing can also be a bit tricky.  Fortunately though, it still is trivial to wrap up unit tests inside an operator, so ultimately, running the tests won&#39;t be too big of a deal, as apposed to setting them up.  I also toyed with writing the operators required in C, although this isn&#39;t as good of an idea as writing it in python, where we could simply give developers a template file to use for their tests, but it may still prove useful.</div>

<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><div><br></div><div>Next week should be interesting.  Starting on Wed.  and going to the end of the week after that, I&#39;ll be out of town.  With that being said, I won&#39;t be out of communication, but rather, I&#39;ll probably be spending less time on IRC.  (I&#39;ll still try to attend the usual Sunday meeting, as well as spending an hour or so online though).  I will respond to emails as usual, albeit probably a bit slower.   I&#39;ll post an email specifically about this to this list in case this portion of the review is missed.  I still have more UI stuff planned next week, but mainly merging the UI and rendering algorithms into one fluid tool, at which point I&#39;ll start automating it.</div>

<div><br clear="all">~Leif Andersen<br>
</div>
</div>