mstdn.io is one of the many independent Mastodon servers you can use to participate in the fediverse.

Administered by:

Server stats:

363
active users

Bernie

@penguin42 That's what I want to learn.

I'm familiar with the "naive" algorithm, in which you iterate over each pixel on the screen, casting a ray through it and testing for intersections with every object in the scene.

Once you know the intersection, you cast rays towards every light source in the scene, testing for intersections with objects that could occlude the light. Semi-transparent and reflective materials require recursion (with limits).

It's very simple... but too slow.