baldingwizard / Blender-Addons

119 stars 20 forks source link

Smoke2EXR : Remove restriction on sourcing from baked Point Cache #13

Open baldingwizard opened 4 years ago

baldingwizard commented 4 years ago

Currently, the add-on only caters for smoke stored in Point Cache files. It's come to light that it's possible to extract smoke information directly from the smoke domain modifier and this is preferable for many reasons - in particular since it doesn't require parsing the saved Point Cache files, and so it will no longer be restricted to that format. Also, it should be more efficient and will also make it work with later Blender versions (which now use Mantaflow and no longer store data as Point Cache by default).

baldingwizard commented 3 years ago

Created Fluid2EXR as an eventual replacement to Smoke2EXR. Fluid2EXR uses the internal fluid modifier state to extract the smoke detail, rather than the pointcache file stored on disk. As such, it is more efficient and compatable with later versions of Blender (which no longer use PointCache by default). Still some work to go on efficiency - in particular to use numpy to manipulate the raw data into EXR tiles.