Proper native 4:3 support, not a squeezed 16:9 picture

Đang mở
#418 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
frontend

Hướng nghiên cứu

Read pkp_aspect.cpp and the experimental #413 ([pkp] fix_4x3) changes first to understand the existing aspect-ratio handling. Try the fix on a native 4:3 or 16:10 display, then inspect menus, text, HUD, textured backdrops, talking scenes, and studio logo screens. Done means the game lays out and renders these elements correctly at narrower aspects; report your window size, [display] aspect, observations, screenshots, and pkp.log.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Goal: proper native 4:3 support (and other screens narrower than 16:9). The game should render natively at the screen's aspect, with the 3D view, the UI layout and the game's elements adjusted to it, instead of the 16:9 picture being squeezed or stretched into it.

What exists

  • The 3D view is taller on a narrower picture (pkp_aspect.cpp), and the UI layout camera is given the display's aspect (hook_ui_camera).
  • #413 ([pkp] fix_4x3, experimental, off by default): UI panels that fill the whole 1920x1080 canvas (backdrops, fades, dim panels) are scaled to cover the whole picture. Menus, text and buttons are not canvas-sized and stay where they are.

What is still to do

  • Menus, text and the HUD are still a 16:9 layout centred on the canvas: they are not laid out for the taller canvas or anchored to its edges.
  • Textured backdrops (the title photo, the language menu's pattern) stretch if scaled; they need a filler or a re-layout.
  • The letterboxed talking scenes: unconfirmed whether they are canvas-sized panes.
  • The studio logo screens are most likely a 16:9 video.

Help wanted

If you have a native 4:3 or 16:10 screen, try the 4:3 Fix option (Settings > Testing on the Testing channel, or [pkp] fix_4x3 = 1) and send your pkp.log with your window size, [display] aspect, and what looked wrong (a screenshot of each screen helps).

Ngôn ngữ chính
C++
Star
224
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của featureJosh/Recompia

Tất cả issue của featureJosh/Recompia

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.