Mesh3d ignores lighting with orthographic projection
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
It seems like lighting of Mesh3d is ignored when orhogonal projection is used, example image:
With exactly the same plot, but with perspective projection, lighting is fine:
I just wonder if this is a known issue, or is it a bug somewhere?
I tried to play around with camera locations and lighting parameters (diffuse, ambient, etc.).
Only ambient lighting has effect when orthographic projection is enabled (as you can see in the picture above the whole mesh only has a single flat color) - maybe shader issue?
The version of plotly.py that I am using is 5.6.0.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、plotly.py 5.6.0 で正投影と透視投影を使用した Mesh3d の例を再現し、次にレンダリングの動作を比較して、疑わしい shader path を調査します。正投影で diffuse などの非環境光が mesh に影響し、透視投影のレンダリングにリグレッションが発生しなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100