「利用者:DingTo/Volume/Cleanup」の版間の差分

提供: wiki
移動先: 案内検索
(ToDo)
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 05:57時点における最新版

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()?