跳到主内容
米兰娱乐平台

Claude Opus 5.5 仅用约 1 小时从零开发 RTX 加速路径追踪器,支持多种材质与光照效果

2026-09-25 · 米兰娱乐平台 · 更新于 2026-09-27

IT之家 9 月 25 日消息,Reddit 社区用户 u/Zealousideal_View_12 于昨日(9 月 24 日)发帖,表示他借助 Anthropic 的 Claude Opus 5.5 模型,在大约 1 小时内,从零开始创建了一个实时的硬件加速路径追踪器。

IT之家说明:路径追踪器(Path Tracer)是一种基于光线传播模拟的 3D 渲染工具。系统从摄像机或光源方向追踪大量光线,并计算光线与物体表面交互的结果。

科技媒体 Wccftech 指出,即使用户不具备图形 API、着色器编译和并行执行方面的专业知识,也能通过调用 AI 来开发路径追踪器。

该程序能够编写 C++ 和 CUDA 代码库,并利用 NVIDIA OptiX 9.1,直接调用现代 GPU 硬件的专用 RT 核心和 Tensor 核心。

A 3D rendering setup with a performance overlay shows 'RTX Showcase' running on dual NVIDIA GeForce RTX 5090 GPUs at 34 fps, displaying materials including a reflective green sculpture and glass spheres on a table.

该用户向 Claude Opus 5.5 提供了一条初始提示词,要求它从零构建 RTX 加速路径追踪器,但未明确说明后续是否有追加或修改操作:

构建一个由 NVIDIA CUDA RTX 和 Blackwell 内核加速的完整光线追踪演示。该演示应使用我的两块 NVIDIA RTX 5090 显卡,并展示漫反射、金属反射、光泽度、粗糙度、透明度、半透明和自发光等效果。

原文:build a fully functional raytracing demo accelerated by nvidia cuda rtx & blackwell kernels. the demo should utilize both my nvidia rtx 5090s and should illustrate diffuse, metallic, reflections, glossiness & roughness, transparency, translucency & self illumination.

渲染器采用双 GPU 分帧多适配器管线,系统会横向切分每一帧,再将不同的图像行分配给两块显卡。管线还会根据实时负载调整任务分配,从而维持双卡协同工作。演示效果达到 34 FPS,并处理每秒 2.67 亿次光线采样。

在渲染算法方面,项目采用了 Shader Execution Reordering。该技术会重新组织 GPU 上的光线路径。管线还结合了 Next-Event Estimation 与 Multiple Importance Sampling,处理光照分布和柔和阴影。

A 3D rendering features various reflective objects including a central interlocked gold structure, silver and rose gold spheres, a cuboid, and cylinders on round white platforms.A series of themed displays showcasing various geometric shapes and objects, with a prominent neon sign labeled 'RTX' on the rightmost platform.A 3D-rendered Cornell box features a white sphere, an orange torus, a gray rectangular block, and a cube with red and green walls, under a ceiling light.A geometric scene featuring reflective spheres, green and red rings, yellow cubes, and blue cylinders arranged in a mirrored corridor creating an illusion of infinite repetition.A series of red, gold, and transparent spheres are placed in rows on a black platform with a checkered pattern backdrop.A 3D-rendered scene featuring a glass orb, a green geometric sculpture, and transparent panels, all set on a circular white platform.A 3D render shows a glowing green spiral object, a ribbed lantern, a white sphere, two candles, and a lit paper screen panel on a round platform.Claude AI helped make an RTX renderer from scratchA scene featuring a green swirling sculpture, a spherical object, a lantern, two lit candles, and a shoji-style screen on a circular platform.

更多文章