-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
地物の間引きロジックを微調整・低解像度化のロジックを修正・WebPの利用 (#660)
<!-- Close or Related Issues --> close #655 close #656 ### What I did(変更内容) <!-- Please describe the motivation behind this PR and the changes it introduces. --> <!-- どのような変更をしますか? 目的は? --> - 地物の間引きロジックを微調整 - より、間引かないように調整 - 低解像度化のロジックを修正 - 超高解像度のテクスチャのピクセルあたりの距離を制限することが伝わるように名称を変更 - 低解像度化ロジックにGeometricErrorを利用 - ピクセルあたりの距離は、すべての辺の平均値を返却するように変更 - geometricErrorが0であれば低解像度化は行わず(係数1.0)、大きくなれば大きくなるほど低解像度化(係数0.0)されるように調整 - ピクセルあたりの距離を制限するため係数と、geometricErrorに応じて低解像度化するための係数は別々に計算して、最終的なものを掛け合わせる - WebPの利用 - その他 - ズームレベルをユーザーが指定可能に(UIはいじってない) - Sinkの処理順を変更し、なるべく最適な大きさのアトラスを出力するように変更 - OBJ/glTF Sinkも合わせて対応 ### Notes(連絡事項) <!-- If manual testing is required, please describe the procedure. --> <!-- 手動での動作確認が必要なら手順を簡単に伝えてください。そのほか連絡事項など。 --> None / なし
- Loading branch information
1 parent
8c5ca67
commit c249c45
Showing
6 changed files
with
156 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.