<div dir="ltr"><br><div style>=== This Week ===</div><div style>Previously, I had already been able to successfully perform a lookup on an OpenVDB texture, and partially show it on the viewport.</div><div style><br></div><div style>

The problem was rendering would stop when the IDE crashed (and it always did), and Blender would shut down.</div><div style><br></div><div style>The code I had was not thread-safe, and despite having set Threads to Fixed: 1 for Cycles, for preview, more than one thread got involved, and that led to problems.</div>

<div style><br></div><div style>So this week I asked Brecht for help, and he showed me most of the problems I had. I forcefully set preview to use one thread only on <span style="font-family:arial,sans-serif;font-size:13px">intern/cycles/blender/addon/__</span><span style="font-family:arial,sans-serif;font-size:13px">init__.py so I could get the render to finish, and corrected a few allocation errors.</span></div>

<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">As a result, every scene now renders ok, with no crashing. It is, however, slow.</span></div>

<div style><font face="arial, sans-serif">Moreover, I&#39;m currently using my own implementation of nearest neighbor, a very trivial interpolation technique that makes the image look somewhat blocky. This is what I&#39;ll tackle next.</font></div>

<div style><br></div><div style><br></div><div style>=== Next Week ===</div><div style>Priorities this week are making the code multi-threaded for texture lookup, and using other interpolation algorithms. The OpenVDB library already offers the most important ones (trilinear and triquadratic) that might suffice for our needs - I&#39;ll use their version first.</div>

<div style><br></div><div style>=== Questions ===</div><div style>None at this time.</div><div style><br></div><div style>Regards,</div><div style>Rafael.</div></div>