Three.js r185 · deterministic lab

Spatial Math & Coordinate Spaces

Theo một local point tới pixel, so sánh normal transform, slerp orientation, unproject pointer xuống sàn và kiểm tra precision trước khi chọn floating origin hay reversed depth.

Click/tap: unproject ray xuống plane y = 0. Keyboard: ←/→ đổi t, ↑/↓ xoay parent, R reset.

Pipeline của local point

Local
—
World
—
View
—
Clip
—
NDC
—
CSS screen
—
Direction world —
Dot(forward, to target) —
Cross(forward, to target) —
Normal error —