利用者:DingTo/Volume/Cleanup

提供: wiki
< 利用者:DingTo‎ | Volume
2013年9月13日 (金) 01:58時点におけるwiki>DingToによる版 (ToDo)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Code cleanup

Done

  • Remove the extra Volume Node from Blender and Cycles code. Now we use the "Isotropic Volume" node for the Henyey-Greenstein closure. We might rename this later, but re-using the already existent node makes the diff quite a bit smaller.
  • Clean-up of node registration code. (less code in nodes.cpp/h...)
  • Removed "NODE_CLOSURE_BSDF_DOUBLE_PEAKED_HENYEY_GREENSTEIN" ID and svm_node_closure_bsdf_double_peaked_henyey_greenstein(), re-use existing code.
  • Some cleanup in kernel_path.h (whitespace etc.), saves a few lines.
  • Some cleanup in volume.h.
  • __MY_VOLUME --> __VOLUME__
  • Remove some OpenCL debugging code and outdated XML code.

ToDo

  • Cleanup kernel_volume.h
  • Get rid of additional shadow_blocked_new()?