Repository navigation
RW CustomPortraits Ex
ver 1.3.6
<機能追加>
MP4動画のポートレートをサポートしました。
従来のアニメーション表示は複数のDDSテクスチャを順番に切り替える方式で、フレーム数が増えるほどRAM・VRAMの使用量が比例して増加していました。
MP4ではUnityのVideoPlayerを介してフレームを逐次デコードしRenderTextureに描画するため、フレーム数に関わらずVRAMの使用量は固定(RenderTexture1枚分)に抑えられます。その代わりデコード処理にCPUを使用します。
設定方法は「使い方.txt」を見てください。
Repeat機能の追加
主にパチンコのように確率分岐や、直前に選択されたもの次第で次これを表示してみたいなことができるように
設定方法は「Repeat機能.txt」を見てください。
----------------
Ver 1.3.6
Added support for MP4 video portraits.
The traditional animation display method cycles through multiple DDS textures in sequence, meaning RAM and VRAM usage increased proportionally with the number of frames. With MP4, frames are decoded sequentially via Unity's VideoPlayer and drawn to a RenderTexture, so VRAM usage stays fixed (equivalent to a single RenderTexture) regardless of the number of frames. In exchange, decoding uses CPU resources.
See "使い方.txt" (How to Use.txt) for setup instructions.
Added the Repeat feature.
This allows things like probability-based branching (similar to pachinko machines) or displaying a specific portrait next based on what was selected immediately before.
See "Repeat機能.txt" (Repeat Feature.txt) for setup instructions.