Giter Club home page Giter Club logo

blender2comfyui's Introduction

blender-stable-diffusion-render

A Blender addon for using Stable Diffusion to render texture bakes for objects.

examples

It will retain your existing UV coords and bake the result to them.

Supports both Automatic1111 and ComfyUI backends

Limitations: The intermediate object has its uv's projected from the view. So even though the result will be mapped 'around' the object, it won't render what isn't seen. Only one object at a time (for now)

Example video: https://youtu.be/_VmOCM1rY7g

Why use this method?

  1. Control. This is probably even quicker than sketching in a 2D program
  2. Post processing. Use your textured objects as part of a scene, animate them, light them, put them in a stew.

Is this cheating?

Maybe. And if so, it's a good thing. Some inspiration:

Ian Hubert on World Building in Blender: https://youtu.be/whPWKecazgM

Steps:

  1. Download the 'sd_render' folder and install it as an addon.

  2. Add a material to your object

  3. Unwrap the UV map.

  4. Set up a viewer node and render depth. Save result

  5. Adjust the camera to maximize rendered area and for optimal projection (No longer needs to align with viewport)

  6. Select object and hit "Render" in the "Stable Diffusion Render" panel in the "Render" tab

ko-fi

Screenshot from 2024-02-12 17-57-22

Screenshot from 2024-02-12 17-57-42

Screenshot from 2024-02-12 17-59-34

Switching backend: This happens in the addon preferences

Screenshot from 2024-02-18 14-51-16

After switching, you need to restart for the configuration properties to update

blender2comfyui's People

Contributors

neph1 avatar

Stargazers

robe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.