[FEATURE] Support 10-bit (HDR) surfaces throughout the rendering process

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

Maintainer thường phản hồi trong vòng 5 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/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
computer-graphics

Hướng nghiên cứu

Start by tracing the frame render function and the creation of projectM's internal render-target textures. Read how the application-provided output framebuffer is handled, then examine the framebuffer attachment color-size queries for desktop and GLES paths. Done means internal textures follow the provided output format and support 10-bit/HDR rendering throughout the process.

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

Mô tả

enhancement

Currently, projectM internally uses RGB(A)8 pixel formats throughout the rendering process. Since more and more people have screen capable of displaying higher per-channel color resolutions.

While presets aren't really aware of this, it's not necessary as almost all color calculations in presets are done as floating-point values, especially in shaders. Outputting the shader results onto a 10-bit texture will automatically give smoother color gradients, making presets look better, having a higher brightness range on screens supporting it.

Render target textures created by projectM internally should ideally follow the texture format provided in the application-provided output texture/framebuffer passed to the frame render function. This is for example possible by quering the color depth of the target framebuffer attachment via glGetFramebufferAttachmentParameter() (or glGetFramebufferAttachmentParameteriv() when using GLES) and the GL_FRAMEBUFFER_ATTACHMENT_<color>_SIZE query args.

Ngôn ngữ chính
C++
Star
4.6k
Fork
498
Merge trung bình
3 ngày 23 giờ
Pull request đã merge (30 ngày)
1

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 projectM-visualizer/projectm

Tất cả issue của projectM-visualizer/projectm

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.