Git Product home page Git Product logo

normalpainter's Introduction

NormalPainter

English (by Google Translate)

Unity 上でポリゴンモデルの法線編集を可能にするツールです。

Unity 2017.1 系以上、Windows (64bit) or Mac、D3D11 世代以降の Graphics API の環境で動作します。 (ターゲットプラットフォームが Standalone ではない場合、D3D9 世代に機能が限定されて正常動作しなくなることがあるのでご注意ください)

使い方

  • NormalPainter.unitypackage をプロジェクトにインポート

    • Unity 2018.3 以降の場合、このリポジトリを直接インポートすることもできます。プロジェクト内にある Packages/manifest.json をテキストエディタで開き、"dependencies" に以下の行を加えます。

    "com.utj.normalpainter": "https://github.com/unity3d-jp/NormalPainter.git",

  • Window -> Normal Painter でツールウィンドウを開く

  • MeshRenderer か SkinnedMeshRenderer を持つオブジェクトを選択するとツールウィンドウに "Add NormalPainter" が出てくるのでそれでコンポーネントを追加

実装されている機能

  • 頂点、法線、タンジェント等の可視化

  • 法線のペイント、回転、スケーリング等 (上の動画参照)

    • 選択範囲によるマスキング
  • 法線のミラーリング (Misc -> Mirroring)

  • 法線の転写 (Edit -> Projection)

    • 各頂点から法線方向にレイを飛ばし、指定オブジェクトに当たった位置の法線を拾ってきます
  • import / export

    • 法線 <-> 頂点カラーの相互変換
    • 法線をテクスチャとしてエクスポート
    • 法線マップを頂点の法線としてインポート
    • .obj ファイルとしてエクスポート

License

MIT

normalpainter's People

Contributors

i-saint avatar phoxmcleod avatar picopicopiii avatar ahmidou 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.