Cut decals and hotspot sections in exact arithmetic

Đang mở
#177 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 1 ngày

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
15/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, unity
Lĩnh vực
game-dev, performance

Hướng nghiên cứu

Start with DecalClipping (kEpsilon, SnapTo) and OutputHotspotSections / HotspotSections.Conforming, then trace how their output feeds OutputMeshCleanup and the weld. The issue asks for an investigation rather than a fixed change: whether ExactPlane, ExactInt and ExactTriangulator can do these cuts before floats, and what the cost per update is on the hotspot test scene and the sample scene. There is no defined finish line yet, so the first useful step is a written proposal from a maintainer.

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

Mô tả

enhancement

Decals and hotspot sections cut the surfaces the CSG made after the exact part of the pipeline, in doubles with tolerances:

  • DecalClipping clips each surface triangle against a decal's planes (Sutherland-Hodgman, kEpsilon), walks shared edges in a fixed order so both sides compute the same points, and snaps points near a boundary onto it (SnapTo)
  • OutputHotspotSections / HotspotSections.Conforming cut drawn surfaces along section lines in double2 in the surface's frame, with tolerances such as alongEdge
  • Polygon decals (#163) split their outline into convex parts and cut each with DecalClipping

To look at:

  • Doing these cuts with the exact types (ExactPlane, ExactInt, ExactTriangulator) before anything is rounded to floats, so cut points on shared edges, outlines and section lines agree by construction instead of by tolerance
  • Clipping a surface polygon against a concave outline directly, instead of convex part by part
  • What OutputMeshCleanup and the weld still need to do afterwards
  • Cost per update against the current cuts, on the hotspot test scene and the sample scene
Ngôn ngữ chính
C#
Star
135
Fork
15
Merge trung bình
24 phút
Pull request đã merge (30 ngày)
89

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 RadicalCSG/com.chisel

Tất cả issue của RadicalCSG/com.chisel

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.