threejs-raymarched-space-effects
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRaymarched Space Effects
光线步进空间特效
Treat these effects as numerical renderers with explicit integration state. The visual character depends on coordinate choice, step policy, and how rays interact with emissive structures.
将这些特效视为带有显式积分状态的数值渲染器。视觉特征取决于坐标选择、步进策略以及光线与发光结构的交互方式。
Workflow
工作流程
- Define the effect-space transform and camera ray.
- Choose a physical, physically inspired, or purely artistic bending model.
- Bound the integration domain.
- Track ray position, direction, throughput, and accumulated radiance.
- Detect crossings with disks, shells, throats, or event boundaries.
- Sample the background only after integration terminates.
- Add diagnostics for trajectory, step count, and termination reason.
Read references/curved-ray-integrators.md
for the RK4 wormhole, artistic curved-ray accretion integrator, disk
composition, and implementation defects.
Read the
curved-ray accretion volume
for the inverse-square steering loop, thin disk density, front-to-back
accumulation, deterministic star environment, and integrator diagnostics.
Read the
Schwarzschild geodesic black-hole effect
for RK2 null-geodesic integration, interpolated equatorial disk crossings,
Doppler/redshift disk emission, lensed procedural deep field, and HDR bloom
composition.
- 定义特效空间变换与相机光线。
- 选择物理、物理启发或纯艺术化的弯曲模型。
- 确定积分域的边界。
- 跟踪光线位置、方向、吞吐量和累积辐射亮度。
- 检测与盘、壳、喉道或事件边界的交叉。
- 仅在积分终止后对背景进行采样。
- 添加轨迹、步数和终止原因的诊断信息。
阅读references/curved-ray-integrators.md
了解RK4虫洞、艺术化曲线光线吸积积分器、盘合成以及实现缺陷。
阅读
曲线光线吸积体积
了解平方反比控制循环、薄盘密度、从前到后的累积、确定性恒星环境以及积分器诊断信息。
阅读
史瓦西测地线黑洞特效
了解RK2零测地线积分、插值赤道盘交叉、多普勒/红移盘发射、透镜化程序化深空场以及HDR bloom合成。
Constraints
约束条件
- Do not call a UV swirl “gravitational lensing.”
- Cap iterations and provide early termination.
- Use continuous crossing tests for thin structures.
- Keep numerical stability independent from frame rate.
- Separate the integrator from shading of the accretion disk or wormhole interior.
- Provide a cheaper approximation for non-hero views.
- 不要将UV漩涡称为“引力透镜效应”。
- 限制迭代次数并提供提前终止机制。
- 对薄结构使用连续交叉检测。
- 保持数值稳定性与帧率无关。
- 将积分器与吸积盘或虫洞内部的着色分离。
- 为非特写视图提供更廉价的近似方案。
Routing boundary
路由边界
Use for ordinary particles, trails, plasma, and event
effects. This skill is for per-pixel numerical ray integration through curved
or bounded space-effect domains.
$threejs-procedural-vfx对于普通粒子、轨迹、等离子体和事件特效,请使用。本技能适用于通过弯曲或有界空间特效域的逐像素数值光线积分。
$threejs-procedural-vfx