[Bf-codereview] Derivative filtering for multires baker (issue 13778045)

sergey.vfx at gmail.com sergey.vfx at gmail.com
Tue Sep 24 22:18:11 CEST 2013


On 2013/09/23 15:14:20, brechtvl wrote:

https://codereview.appspot.com/13778045/diff/1/release/scripts/startup/bl_ui/properties_render.py
> File release/scripts/startup/bl_ui/properties_render.py (right):


https://codereview.appspot.com/13778045/diff/1/release/scripts/startup/bl_ui/properties_render.py#newcode551
> release/scripts/startup/bl_ui/properties_render.py:551: if
rd.bake_type ==
> 'DISPLACEMENT':
> Shouldn't this be its own bake type? Not sure why it would be under
> displacement.

Well, historical question. Internally derivatives are being calculated
from displacement map. We could do the following: add "Derivative Map"
baker type, which will internally use displacement baker + derivative
filtering and deliver derivative map to the user.

Does it sound like a good plan?


https://codereview.appspot.com/13778045/diff/1/release/scripts/startup/bl_ui/properties_render.py#newcode556
> release/scripts/startup/bl_ui/properties_render.py:556: col.prop(rd,
> "use_bake_user_scale")
> This could be on the same row as the bake user scale, just a checkbox
without
> text.

Yep, thought this as well. Not big fan of un-labeled checkboxes, but if
you think it'll be more clear this way ot so much fussed to change.

Also, do you think properties descriptions are clear enough?

https://codereview.appspot.com/13778045/


More information about the Bf-codereview mailing list