[Soc-2013-dev] Weekly Report #11 - Cycles Volume Texturing

Rafael Campos rafaelcdn at gmail.com
Mon Sep 2 14:23:56 CEST 2013


Hi all. Apologies for the late report - what follows is work performed last
week.

=== This Week ===
This week I added support for any vdb grid type (float was assumed before),
so an external file can be in any format supported by OpenVDB and it will
still load.

Performing the lookup on an abstract grid (or supporting any grid type) is
tricky, so I added a VDBAccessor class to store a pointer to the abstract
grid and an enum to specify its actual type, to hide the lookup complexity
from the VDBTextureSystem interface.

Also added support for multiple point lookup, following OIIO's
TextureSystem conventions, but it's mostly untested yet - will continue
work this week.

Additionally, OIIO's TextureOpt (or TextureOptions, when multiple points
are being sampled) is now supported to specify number of channels and grid
name for 3d texture lookup when a file contains more than one grid (what we
have now is that VDBVolumeFile has 1 or more VDBAccessors, each with
exactly one VDB grid).

=== Next Week ===
This week I'll fix documentation, as Ton requested. Multi-threading is also
something I need to look at, and will do so this week, as soon as I finish
looking into Transforms and Texture Wrapping - until now, I take the point
to be sampled in the scene and send it straight to the lookup function,
without any space transformations - will address this now.

=== Questions ===
None at this point.

Regards,
Rafael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2013-dev/attachments/20130902/f8f67a12/attachment.htm 


More information about the Soc-2013-dev mailing list