Skip to content

intel/dream-textures-openvino

OpenVINO™ support for Dream Textures addon in Blender

  • Create textures, concept art, background assets, and more with a simple text prompt
  • Texture entire scenes with 'Project Dream Texture' and depth to image
  • Run the models locally on your Intel system and ability to choose CPU,iGPU,dGPU and/or NPU to offload the models.

Installation

A. Install OpenVINO™

  • Download and install OpenVINO™ for your operating system. Please follow the instructions to download and extract OpenVINO™ from archive. Do not use pypi for installation.
  • Note that this addon has been tested with 2023.1.0

B. Dream-Texture-Openvino Install

Skip steps 1 and 2 if you already have Python3 and Git on Windows

1. Install Python

  • Download a Python installer from python.org. Choose Python 3.10 and make sure to pick a 64 bit version. For example, this 3.10.11 installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe
  • Double click on the installer to run it, and follow the steps in the installer. Check the box to add Python to your PATH, and to install py. At the end of the installer, there is an option to disable the PATH length limit. It is recommended to click this.

2. Install Git

  • Download and install GIT

3. Install the MSFT Visual C++ Runtime

4. Install Blender

5. Install Dream-texture-openvino addon

  1. Clone this repository:

    git clone https://github.com/intel/dream-textures-openvino.git dream_textures
    
  2. Copy this folder - "dream_textures" into your Blender addons folder - C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\addons

  3. If you can't find the add-on folder, you can look at another third-party add-on you already have in Blender preferences and see where it is located.

  4. Navigate to the dream-texture folder -

    cd C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\addons\dream_textures
    
  5. Install all the required python packages and download the models from Hugging face.
    All of the packages are installed to dream_textures\.python_dependencies.
    The following commands assume they are being run from inside the dream_textures folder. If you get permission denied after running the below step, please open a new terminal with run as Administrator and try again.

    install.bat
    
  6. Replace "openvino" folder in C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\addons\dream_textures\.python_dependencies with the "openvino" folder present in your openvino_2023.1\python\openvino (from section A)

  7. If you just want to download models -

    "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\bin\python.exe" model_download.py
    
  8. Open a new terminal and Setup OpenVINO™ Environment
    Note that you will need to do these steps everytime you start Blender

    C:\Path\to\where\you\installed\OpenVINO\setupvars.bat
    
  9. Start Blender application from the same terminal as step 8.

    "C:\Program Files\Blender Foundation\Blender 3.4\blender.exe"
    

    Once Blender application starts go to Edit->Preferences->Add-on and search for dream texture and enable it.

Usage

Here's a few quick guides:

Create textures, concept art, and more with text prompts. Learn how to use the various configuration options to get exactly what you're looking for.

Texture entire models and scenes with depth to image.

Recall, export, and import history entries for later use.

Acknowledgements

Disclaimer

Stable Diffusion’s data model is governed by the Creative ML Open Rail M license, which is not an open source license. https://github.com/CompVis/stable-diffusion. Users are responsible for their own assessment whether their proposed use of the project code and model would be governed by and permissible under this license.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •