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

Relative-to-eye placement of far things, and the view as the instrument sees it (option 3)

Đang mở
#340 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
25/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ệ
javascript, three.js
Lĩnh vực
computer-graphics

Hướng nghiên cứu

Start with HDR.md sections “A telescope’s field” and “The instrument,” then inspect the far-point and star rendering paths the issue says already apply the instrument response. The issue gives no file or test names for the relative-to-eye renderer or resolved-disc pass, so first trace those entry points and the dependencies on #337 and #338. Done means far bodies and their paths render at the stated precision, and the instrument view can be toggled and compared at its resolution.

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

Mô tả

Part of #334, option 3: the general fix, as an override once options 1 and 2 are in (the maintainer's comment), and the ground for comparing an instrument's view with a spacecraft's photograph (Rubin on Saturn against Cassini's; #333 for Rubin's own imagery).

The precision. Everything placed at 7e12 m from the camera is held to float32's 5e5 m: the far body's mesh, the apparent path's points and its ring, the orbit line's vertices, and the body's depth, which reads as empty sky. Relative-to-eye rendering keeps each far thing's centre in float64 on the CPU and uploads, each frame, its offset from the camera and its geometry about its own centre, so the GPU never sees a large number. Three's scene graph is float32 at the matrix level, so this is per object: a far body's mesh at the camera's origin with a per-frame offset, the path's and orbit line's points as offsets from a float64 anchor near the camera's line of sight, and the depth of a far body written as a near-plane proxy so lines in front of it occlude.

The view as seen. The maintainer's wider ask: carry the render to the eye as the instrument would see it, and be able to toggle between that and the scene as drawn, so a telescope on a body we have spacecraft photographs of (Saturn, Jupiter) can be compared with them at the instrument's resolution. That is the instrument's PSF and pixel grid applied to the frame (HDR.md, "A telescope's field", "The instrument"), which the far point and the stars already do point by point; a resolved disc needs it as a pass.

Scope this after #337 and #338 land, and before or with #333.

Ngôn ngữ chính
JavaScript
Star
55
Fork
4
Merge trung bình
10 giờ 12 phút
Pull request đã merge (30 ngày)
134

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 celestiary/web

Tất cả issue của celestiary/web

Issue tương tự

Thêm issue về JavaScript

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.