Changes:
- Transparent window support (Windows only)
- Enhanced edge drawing method: edge thickness varies at run time according to the light direction.
- Can revert to old method (constant edge thickness) by
light_edge=false
in .mdf
- Can revert to old method (constant edge thickness) by
- Fix
window_size=w,h
in .mdf does not work on some situation - Smoother motion interpolation, using larger table (64 to 256)
- Other bug fixes
Transparent window can be toggled by t
key, or TRANSPARENT_START
and TRANSPARENT_STOP
messages. To make it transparent from start, set transparent_window=true
in .mdf. The transparent window is click-through.
Default method is color-based: pixels having the same color of "transparent color" will be made transparent. The default transparent color is green (0.0,1.0,0.0), so any green part will be made transparent. You can change it to any color by setting transparent_color=r,g,b
in .mdf.
Another "pixmap-based" method can be used by setting transparent_pixmap=true
in .mdf. The pixmap method is slow but provides better quality transparency without color noise, since it directly uses the alpha channel values in the rendered scene.
変更点:
- 透過ウィンドウを新たにサポート(Windows のみ)
- エッジ描画の拡張:太さが光源方向に依存して変化します
- 従来の固定幅に戻すには.mdf に
light_edge=false
をセットしてください
- 従来の固定幅に戻すには.mdf に
- ウィンドウサイズの指定(.mdf の
window_size=w,h
)が効かないことがある不具合を修正 - モーション補間をより滑らかに
- その他バグ修正
透過ウィンドウは t
キーで ON になり、再び t
キーで戻ります。あるいは TRANSPARENT_START
および TRANSPARENT_STOP
のメッセージでも切り替えられます。起動した時から透過にしたい場合は .mdf に transparent_window=true
をセットしてください。なお透過している部分はクリックスルーで下のウィンドウを操作できます。
透過のデフォルトの方式は色ベースです。すなわち、セットされている「透過色」と同じ色で描画された部分が抜けます。デフォルトの透過色はグリーン(0.0,1.0,0.0)です。この透過色は .mdf において transparent_color=r,g,b
で変更できます。
別の方法としてピクスマップベースの方式も実装されています。 .mdf に transparent_pixmap=true
をセットすることでそちらが有効になります。ピクスマップベースの方式は処理が遅いですが、レンダリング結果のアルファチャネルの値を直接使って透過を行うため、色残りやノイズの少ない綺麗な透過を行うことができます。デフォルトの色ベースの方法でうまく透過できない場合はこちらを試してみてください。