Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#340 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, three.js

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
55
フォーク
4
平均マージ
10時間 12分
マージ済み PR(30日)
134

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

celestiary/web のほかの issue

celestiary/web の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。