Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[FEATURE] Add a preset mash-up function to the preset editor

Đang mở
#133 0 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
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
design, desktop

Hướng nghiên cứu

Start by reviewing the linked Milkdrop implementation in plugin.cpp and state.cpp, then locate the projectM preset editor's Dear ImGui entry points. Define which preset parts and controls the first version should support, accounting for the stated limitations around expressions and shaders. Done should include a usable mash-up workflow with the selected parts applied to a preset.

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

Mô tả

Milkdrop shipped with a preset mash-up feature, which preset authors could use to combine two presets into a new one. Since this was heavily used when Milkdrop use was at its peak, it makes sense to have the same functionality in projectM's preset editor as well, ideally with additional functionality and more convenient use as the Dear ImGui UI gives us much more flexibility here.

The original feature worked by selecting a number of presets and telling Milkdrop which parts of the preset to load into the current one (original code is here and here). The following "apply flags" were supported, only loading the specified parts of a new preset and overriding those in the loaded one:

  • General parameters (classic effects like brighten, darken and blur)
  • Waveform parameters (any parameter affecting the "default waveform", and both custom waveforms and shapes)
  • Motion parameters (rotation, zoom, warping and borders as well as the per_frame and per_pixel expressions)
  • Warp shader
  • Composite shader

While it still makes sense to provide the same functionality to users as Milkdrop did, the projectM app could additionally give users a more fine-grained control over the selection of values and expressions, possibly even including blending individual parameters (with a live preview) before finally applying the mash-up result.

As a technical note here:
Both expression and shader code is hard to mash-up automatically, and per_frame code, custom wave/shape code and also warp and comp shaders often only work in unison, requiring certain q vars to be set and synced to give a proper visual result. Such presets were already hard or impossible to easily mash-up in Milkdrop, and projectM won't provide an automated solution to this issue either. Thus, manual editing of expression and shader code will still be necessary in many cases!

Ngôn ngữ chính
C++
Star
120
Fork
65
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

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/frontend-sdl-cpp

Tất cả issue của projectM-visualizer/frontend-sdl-cpp

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.