|
 |
On 2026-05-04 21:09, jr wrote:
> what happened to "variety is the spice of life" ?! different
languages (both
> computer and human) all have their strengths and weaknesses, and I
see nothing
> "wrong" with "multi-language" projects.
>
but but, but the raytracer's job is to populate the database. The trace
data is the render. Everything else is SQL. Image is a query, depthmap
is a query, normalmap is a query ...
-- depth map as a query, not a render pass
SELECT
pixel_x,
pixel_y,
MIN(t) AS depth -- closest hit along each ray
FROM bounces
WHERE frame = 42
GROUP BY pixel_x, pixel_y
to take it to the extreme, the render relay should probably be the only
thing that actually traces rays. Everything else — depth, normals,
object IDs, albedo — is a material relay or a post-process query.
ingo
Post a reply to this message
|
 |