Skip to content

Releases: silvermoong/stocking-texture-tool

丝袜纹理工具 Stocking Texture Tool 1.0.0

Choose a tag to compare

@silvermoong silvermoong released this 08 Oct 05:51

丝袜纹理工具的第一个正式版本:给插画里的丝袜加上真实的织物纹理。粗涂出丝袜在哪,沿横纹画几条线,工具就算出纹理怎样绕着腿和身体走,按你选的样式渲染出来,没有摩尔纹。全程在本机运行,不上传任何东西。功能介绍和用法见项目首页。

安装(Windows 10 1803 以上或 Windows 11;有 NVIDIA 显卡会快很多,没有也能用)

  1. 下载下面的 Source code (zip),解压到路径较短的文件夹,比如 D:\stocking-texture-tool。
  2. 双击文件夹里的 install.bat。它会自动下载需要的文件(显卡版约 3.3 GB,CPU 版约 740 MB),最后在桌面建一个「丝袜纹理工具」快捷方式。

更新: 再运行一次 install.bat,它会先把代码更新到 GitHub 上的最新版,不用回这里下载新版本。

安装文件包 deps-1 是 install.bat 自动下载的依赖和模型,正常安装不用管它,只有离线安装才需要手动下载。


The first release of Stocking Texture Tool: it adds a realistic knit texture to the stockings in an illustration. Roughly paint where the stockings are, draw a few lines along the knit, and the tool works out how the texture wraps around the legs and body and renders it in the style you pick, free of moiré. Everything runs on your own computer; nothing is uploaded. See the project page for what it does and how to use it.

Install (Windows 10 1803 or later, or Windows 11; an NVIDIA card makes it much faster but is not required)

  1. Download Source code (zip) below and unzip it to a folder with a short path, for example D:\stocking-texture-tool.
  2. Double-click install.bat in the folder. It downloads what it needs by itself (about 3.3 GB for the GPU build, 740 MB for the CPU build), then puts a "Stocking Texture Tool" shortcut on the desktop.

Update: run install.bat again. It first brings the code up to the newest on GitHub, so there's no need to come back here for a new version.

The install files package deps-1 holds the packages and models install.bat downloads by itself. A normal install doesn't need it; download it by hand only to install offline.

安装文件包 Install files (deps-1)

Choose a tag to compare

@silvermoong silvermoong released this 08 Oct 04:06

安装文件包:install.bat 用到的全部文件,包括安装工具 uv、Python、所有依赖包和两个模型。不包含代码,代码在最新版本里下载 Source code (zip),或者在项目首页点 Code → Download ZIP。

正常安装不用手动下载这里的文件。 install.bat 会自动从这里下载需要的文件;这里下载失败的,再改从各自的原始来源下载(PyPI、PyTorch、Hugging Face 等)。

离线安装(安装的电脑不用联网):

  1. 下载 stt-deps-1-base.zip,再按显卡下载一种 PyTorch:
    • NVIDIA 显卡:stt-deps-1-torch-cuda.zip.001 和 stt-deps-1-torch-cuda.zip.002,两个都要
    • 其他电脑:stt-deps-1-torch-cpu.zip
  2. 在 install.bat 旁边新建一个 deps 文件夹,把下载的文件原样放进去。不用解压,也不要改文件名,安装程序会自己拼接、校验和解压。
  3. 双击 install.bat。

Install files: everything install.bat needs, namely the uv installer, Python, every package and both models. The code isn't included: download Source code (zip) from the latest release, or use Code → Download ZIP on the project page.

A normal install doesn't need you to download these. install.bat downloads what it needs from here by itself, and fetches anything that fails from its original source instead (PyPI, PyTorch, Hugging Face and so on).

To install with no network on the target machine:

  1. Download stt-deps-1-base.zip, plus one PyTorch build:
    • NVIDIA card: stt-deps-1-torch-cuda.zip.001 and stt-deps-1-torch-cuda.zip.002 (both)
    • any other PC: stt-deps-1-torch-cpu.zip
  2. Make a folder named deps next to install.bat and put the downloaded files in it as they are. Don't unzip or rename them: the installer joins, checks and unpacks them itself.
  3. Double-click install.bat.