carson-katri / dream-textures

Stable Diffusion built-in to Blender
GNU General Public License v3.0
7.77k stars 415 forks source link

ControlNet processors and Blender 4.x UI tweaks #764

Closed carson-katri closed 3 months ago

carson-katri commented 8 months ago
  1. Updated progress indicator to use the new UILayout.progress API. This is more semantically correct than using an IntProperty. Visually it looks nearly identical.

https://github.com/carson-katri/dream-textures/assets/13581484/da1e4e69-34cf-4fbd-ab14-9cedacb47d2e

  1. Change "CFG Scale" min to 0. This allows CFG to be disabled for models like sdxl-turbo.
  2. New ControlNet UI based on Blender's updated modifier panel. I chose to use box() instead of registering/unregistering sub-panels for each row for simplicity. As far as I can tell, there is no way to get a stacked layout like this to work well in a UIList.

https://github.com/carson-katri/dream-textures/assets/13581484/3af15d4a-129d-4c38-8bd3-4e9c986d1b84