Coder Social home page Coder Social logo

layeredpsdmaterial's Introduction

layeredpsdmaterial

layerつきのpsdファイルをblenderにインポートしたり、layerごとの表示制御をする拡張機能

機能

  • psdファイルのインポート
  • インポートしたpsdファイルに対し、各layerごとの表示制御
    • layer名が"*"で始まる場合、同階層で1つだけ表示
    • layer名が"!"で始まる場合、必ず表示する

動作環境

  • Blender 2.93LTS~ またプラグイン内で以下のpythonパッケージを利用しています
  • Numpy
  • Pillow
  • psd-tools

既知の問題点

  • 1グループに33枚以上のlayerがあるとバグる
    • blenderのenum型の制約に引っかかっている
  • psdファイル読み込み時、平面を追加する場合に座標設定できない
  • layerの表示状態変更時の処理が重い
    • 依存先のpsd-toolsのpsd.compose()を同期で呼び出しているため&psd-toolsが重め
    • 依存先ライブラリを変えれば解決するか?

対応予定

  • 33枚以上1layerにある場合の問題対応
  • 画像生成処理に使うライブラリを変えるか非同期にする

導入手順

  1. Releasesをクリック
  2. リンク先からzipファイルをダウンロード
  3. blenderを開き、「編集」→「プリファレンス」→「アドオン」の順に開く
  4. 「インストール」をクリックし、2.でダウンロードしたzipファイルを選択
  5. プリファレンス画面で有効化 導入後、オブジェクトに対し「Psd Material」タブが追加されます

layeredpsdmaterial's People

Contributors

simanasch avatar

Watchers

 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.