Skip to content

kusaanko/XFileSupport_for_BVE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XFileSupport_BVE

Bve用に設計されたBlender用のXファイル入出力アドオン

Blender Extensions (https://extensions.blender.org/add-ons/bve-import-export/) から入手できます

CSV出力にも対応しています。また、OpenBVE専用のCSV機能にも対応します。

Important

OpenBVE CSVでOpenBVEの機能のプロパティを設定するには、そのマテリアルのノード内に「OpenBVE CSV プロパティ」というノードを配置する必要があります

対応Blenderバージョン:4.3.0以降
動作確認Bveバージョン:5.8, 6.0
strview5互換あり
csvview5互換あり

対応しているXファイルの機能

  • 頂点
  • 法線(インポート時には使用されません)
  • マテリアル
  • テクスチャ
  • テキスト、バイナリ形式、バイナリ圧縮形式
  • Frame

対応しているCSVファイルの機能

  • 全て

対応しているOpenBVE CSVファイルの機能

  • 頂点
  • 法線
  • マテリアル
  • テクスチャ
  • SetBlendMode
  • SetWrapMode
  • NighttimeTexture
  • SetDecalTransparentColor
  • EnableCrossfading

対応しているBlenderの機能

  • マテリアル
    • ノード未使用時の色
    • プリンシプルBSDFノード
    • テクスチャノード
    • ベースカラー
    • アルファ
    • 放射
    • ガンマ
  • フラットシェード、スムースシェード
  • モディファイアー(100%動作はしません。)

Blender Import / Export add-on for Bve

Exporting to CSV is also supported. Some OpenBVE features are supported.

Important

To set properties for OpenBVE features in OpenBVE CSV, you need to place a node called "OpenBVE CSV Properties" inside the material's node tree

Supported Blender version:4.3.0 or later
Tested Bve versions:5.8, 6.0
strview5 tested
csvview5 tested

Supported x file features

  • Vertices
  • Faces
  • Normals (Not used when import)
  • Material
  • Texture
  • Text, binary and zipped-binary file format
  • Frame

Supported csv file features

  • All

Supported OpenBVE csv file features

  • Vertices
  • Faces
  • Normals
  • SetColorAll
  • LoadTexture
  • SetEmissiveColorAll
  • SetBlendMode
  • SetWrapMode
  • NighttimeTexture
  • SetDecalTransparentColor
  • EnableCrossfading

Supported Blender features

  • Material
    • Color without nodes
    • Pricinpled BSDF nodes
    • Texture nodes
    • Base color
    • Alpha
    • Emission
    • Gamma
  • Flat shade and Smooth shade
  • Modifier ( Doesn't work completely )

使い方・注意点

Wikiページを御覧ください。Wiki

インストール方法


編集>プリファレンスをクリックして設定画面を出します

エクステンションを入手へ移動します。

検索欄に「BVE」と入力し、BVE Import/Exportをインストールしてください。

アドオン版を利用の方

新たにBlenderエクステンション版としてリリースしたため、アドオン版を利用していた方(ver 5.0.0より前のバージョン)は削除する必要があります。


プリファレンス→アドオンから「DirectX」と検索すると以前のバージョンのアドオンが出てきます。

右側にあるアイコンをクリックして展開し、アンインストールボタンをクリックしてください。

ビルド / Build

blender --command extension build --output-dir ../out

開発 / Development

bpyパッケージを導入したvenv環境下で補完を利かせながら開発することをお勧めします。

python -m venv .venv
./.venv/Scripts/activate
pip install bpy

ToDo

  • CSV入力のサポート

About

Bve用に設計されたBlender用のXファイル入出力プラグイン

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages