Usage Guide
This guide describes the basic steps for using AI Texturing. First, let's go through the setup required before utilizing AI Texturing.
Edit the batch file for integration
To integrate the AI Texturing feature of UModeler X with the Stable Diffusion web UI, we first need to set up the API. Follow the steps below to modify the batch file to enable API usage.
Select 'Edit' by
Right-click
on thewebui-user.bat
file.find the line
set COMMANDLINE_ARGS=
and add--api
next to it.If it looks like below, you're good to go.
/stable-diffusion-webui/webui-user.bat@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--api
call webui.batsave the file as is and close the window.
Order of use
You can only use this feature if the Stable Diffusion web UI is running.
- If it is not installed, follow the Installation Guide below to install it.
📄️ Installation Guide
- If it is not installed, follow the Installation Guide below to install it.
Navigate to the folder where the Stable Diffusion web UI is installed, and run the
webui-user.bat
file.- This will open a CMD window, which should not be closed while using the AI texturing feature.
- You can check the progress in this window.
In UModeler X, select the UV unwrapped model.
Click
on the Painting Mode, and thenClick
on the Start Painting button to start the painting mode.Create a Paint Layer, or
Click
to select the Paint Layer created by default.Select AI Texturing in the Properties area.
Among the several properties displayed,
Click
to check the Use Depth Control Net property.In the drop-down menu next to ControlnetModel, select
control_v11f1p_sd15_depth
.- Different versions of ControlNet may have different names, but select the option with the rightmost word in the name being
depth
.
- Different versions of ControlNet may have different names, but select the option with the rightmost word in the name being
Enter the content of the image you want into the Prompt input part above.
Click
the Generate button below.- You can see the progress in the progress bar below and in the CMD window.
When image generation is complete, you'll see a message like this
Click
the OK button and you will see the image you created in the Result area.- Select the image and
Click
the Apply Texture button.
- Select the image and
The texture is reflected in the model mesh.
if this is not the image you want, start over from step 9.
- At this point, modify the Prompt to.